Thank you guys for your help.
I have a question is there any order for writing the plugins. I wrote my
source plugin at the end it is not doing anything. Another question is what
is the difference between defining the plugin at project-->plugin vs
project-->profile.
the code which I wrote in project --> plugin are is as given below:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>attach-source</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
<configuration>
<finalName>mySource</finalName>
<forceCreation>true</forceCreation>
<includePom>true</includePom>
<outputDirectory>${basedir}/target</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
can we write the code in both plugin and profile areas.
Thank you.
-----
Madhu
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-zip-the-source-code-separately-using-Maven-tp5721257p5721720.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]