hello, maybe something like this will help?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>id1</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>id2</id>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
id1 creates a jar with source and one with the test
id2 creates a jar with the test
example
dummy-1.0-SNAPSHOT-sources.jar
dummy-1.0-SNAPSHOT-tests.jar
dummy-1.0-SNAPSHOT-test-sources.jar
theses should be handle as an usual jar by install deploy ...
cordialement
--
View this message in context:
http://www.nabble.com/installing-source-jar-with-install-plugin-tf1937757.html#a5309711
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
