maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt T Stam <>
Subject source and javadoc jars from test-jar
Date Mon, 03 Jun 2013 18:26:07 GMT
Hi guys,

I'm trying to add 'test-jar' resources to my assembly; i.e. the 
following jars are created by one of our other modules:

-rw-r--r--   1 kstam  admin     11603 Jun  3 11:29 
-rw-r--r--   1 kstam  admin     27880 Jun  3 11:29 
-rw-r--r--   1 kstam  admin      8873 Jun  3 11:29 
-rw-r--r--   1 kstam  admin    106397 Jun  3 11:29 
-rw-r--r--   1 kstam  admin    149558 Jun  3 11:29 
-rw-r--r--   1 kstam  admin     62545 Jun  3 11:29 

I can successfully add the uddi-tck-3.2.0-SNAPSHOT-tests.jar to my 
assembly using



However when I try to add the source jar:
         <!-- The source archives JARs -->

Then the uddi-tck-3.2.0-SNAPSHOT-sources.jar is NOT picked up. I made 
sure we reference the source
and javadoc artifacts in the pom.xml:


Full pom and assembly.xml:

When running with -X it says:

[DEBUG] Adding artifact: 
org.apache.juddi:uddi-tck:test-jar:sources:3.2.0-SNAPSHOT with file: 

to assembly location: src/uddi-tck-3.2.0-SNAPSHOT-sources.jar.

so it seem to be adding the source *jar*, rather then the *test-jar*. 
eventhough it says it's going to add the *test-jar* version:

Adding artifact: org.apache.juddi:uddi-tck:test-jar:sources:3.2.0-SNAPSHOT

Does anyone has an idea what I'm doing wrong? Is this a bug?
Any help you can provide would be great.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message