sorry, I didn't mentioned that I like to install a third party component
into my local repository.
I just have a source.jar file and like to install it with a mvn command
into my repository.
Regards,
Ingo
leahpar schrieb:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]