I use maven release plugin for generating release of my project. I do not want to generate Javadoc all time I build. On the other hand when I call release:perform I would like if maven would generate sources.jar and javadoc.jar and would deploy it to maven release repository. Just because I am curious how deploying source.jar can be disabled, since It looks like it is deployed by default.
Maven Release Plugin deployment of sources.jar and javadoc.jar
7.7k Views Asked by Gábor Lipták At
2
There are 2 best solutions below
1
Raghuram
On
From the documentation of Maven Release Plugin, there is a useReleaseProfile parameter, which determines Whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate. This is true by default. You can try changing this as appropriate to enable/disable source/javadocs.
Related Questions in MAVEN-2
- Maven profile dependency with another profile
- Maven implicit profile Activation
- Get the whole index of Maven Central
- Apache IVY Unable to resolve dependencies for MAVEN Projects
- Java application using Maven Build
- maven 2.2.1 build error : Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
- How to deal with checksum issue in maven 2.2.1
- Add external jar to the project and build process using maven
- Is it possible to declare multiple artifactIDs per dependency?
- Maven 2 works but Maven 3 gives authentication error with same settings and server
- get sca module bindings in EAR before deploying
- Maven <mirror> tag, meaning of external:* parameter
- Multiple maven project with different package
- how to get eclipse neon to work with maven 2
- How to stop IntelliJ IDEA from creating new annotation processor profiles when a pom file is changed
Related Questions in MAVEN
- Auto reload with play2
- maven pom.xml dependencies order vs classpath/build path order
- How to ignore or fix the duplicate classes warning?
- Scala Eclipse IDE compiler giving errors until "clean" is run
- How to run multiple "mvn test"-commands from batch file?
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- javaCV Maven project
- Logging error when executing Maven SonarQube plugin
- Gradle: Override transitive dependency by version classifier
- Why we need maven if there's javac that compiles the code?
- jar file input == null while java app is working
- JPA and web app
- Test Selector Plugin Jenkins returns No tests were executed
- Eclipse OSGI unsatisfied constraint
- GlassFish 4.0 CDI deployment failure + Apache Spark
Related Questions in MAVEN-RELEASE-PLUGIN
- Maven release:prepare-with-pom removes release-pom then tries to add it?
- is it possible to filter artifacts in Maven-release-plugin?
- mvn release:perform tries to put sources.jar twice to nexus
- Why does mvn release:perform always create a new snapshot version and upload that to the repository instead of the non-snapshot release version?
- How to manage POM version numbers in git without merge conflicts
- Maven Release Plugin and Resources
- Maven update POM and all the POM's that have dependencies to the changed POM
- Maven Release Plugin with GIT: pom.xml configuration
- ArtifactId is appended to SCM Url using Maven Release Plugin
- Maven connection refuse
- Problems with maven release on git
- How do i successfully use the Maven release plug-in with GitHub (or GitHub enterprise) when using a CI tool like Hudson/Jenkins
- MAVEN: Multi-module project, How to add different environments for build
- Overwrite property during maven release fails
- "Git fatal: ref HEAD is not a symbolic ref" while using maven release plugin
Related Questions in MAVEN-JAVADOC-PLUGIN
- Is there a way to speed up Javadoc (takes 7 minutes)
- Maven Javadoc Plugin - override specific part of default CSS
- Maven javadoc + custom doclet
- Using both aggregate and jar goals for javadoc
- Maven Javadoc aggregate-jar plugin fails because of unresolved dependencies
- Maven generate javadoc for one submodule
- configure javadoc links in offline mode to link to local copy
- Maven 3: Generate Javadoc for defined artifacts
- Maven Javadoc aggregate fails on JBoss AS 7.1.1.Final
- maven javadoc shows annotation twice
- maven 3 javadoc plugin ignores configuration
- maven 3 javadoc plugin doesn't take the excludepackagename config
- Maven JavaDoc Plugin by providing Source path
- Maven Javadoc No source files for package with my test directory structure
- What is the proper way to configure a Maven project to output a classifier JAR without warnings and have Javadoc and Sources plugins work?
Related Questions in MAVEN-SOURCE-PLUGIN
- What is the proper way to configure a Maven project to output a classifier JAR without warnings and have Javadoc and Sources plugins work?
- maven-jar-plugin with maven-source-plugin not working
- Cannot download sources from remote maven repository, but from local all is fine
- VScode maven not executing plugins
- maven release:perform failing to even try to generate javadoc or sources
- How to generate second EAR with sources
- Purpose of maven-source-plugin and maven-javadoc-plugin?
- Maven Release Plugin deployment of sources.jar and javadoc.jar
- need maven plugin configuration for building aggregate source jar
- maven sources plugin includes configuration
- How to enable maven profile when built version is not -SNAPSHOT?
- Maven deploy + source classifiers
- How to keep the maven structure when creating source-jar
- Generating filtered resources from the maven sources:jar execution
- Where can I obtain the maven-source-plugin?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Use the releaseProfiles parameter (example:
src,javadoc) to turn on one or more profiles, and in these profiles, define the source and javadoc generation: