ausnax.blogg.se

Maven install-file source
Maven install-file source










maven install-file source maven install-file source

Compiling 1 source file to C:\dev\workspace\aproject\target\test-classes Compiling 1 source file to C:\dev\workspace\aproject\target\classes

maven install-file source

Using default encoding to copy filtered resources. Deleting directory C:\dev\workspace\aproject\target The console output of "mvn clean package" is shown here: Console output for 'mvn clean package' on 'aproject' project I'll perform a "mvn clean package" on "aproject" to generate the normal jar file and the source jar file. pom.xml 4.0.0 com.maventest aproject jar 1.1 aproject junit junit 3.8.1 test maven-source-plugin attach-sources jar wagon-webdav 1.0-beta-2 archiva.internal Internal Release Repository dav: archiva.snapshots Internal Snapshot Repository dav: Here is the full pom.xml file for a project called "aproject" that utilizes the maven-source-plugin. maven-source-plugin attach-sources jar By default this goal attaches to the package phase of the maven S W default lifecycle. It specifies the "jar" goal, which is the goal that generates the source jar file. Here is a plugin entry from a pom.xml file that includes the "maven-source-plugin". Maven S W does a great job of automating this process. Deploying this source jar to a remote repository can be useful for other developers so that they can 'attach source' and debug into the project source code. The maven-source-plugin can be used to generate a source code jar W file for a project.












Maven install-file source