Matthias,

On Sunday 24 June 2007 07:01, Matthias Wessendorf wrote:
> I used the maven-remote-resources-plugin in the past to add NOTICE and
> LICENSE to regular JAR and:
> a) source JAR
> b) javadoc JAR
>
> Now, running this command
>
> mvn clean source:jar javadoc:jar install deploy
> -DaltDeploymentRepository=matzew::default::file:FOLDER
>
> on this POM ([1]) it doesn't work.

Nope.  That wouldn't work.   The remote resources needs to run before the 
source:jar and javadoc:jar.    Couple ways to do that:

1) Try:
mvn clean compile source:jar javadoc:jar install deploy ......
The compile should cause the remote-resources to run.

2) Create a "deploy" profile or similar that adds the source:jar and 
javadoc:jar goals to the normal lifecycle and just use the profile.


> The source.jar is fine, but the javadoc.jar doesn't contain
> NOTICE/LICENSE. Not sure, why it stopped working (I tried with the
> older alpha-2 and the newest alpha-5)

Also double check the version of the javadoc plugin.  You need the latest 
one.   Earlier versions won't pick up the resources.

>
> Any ideas ?
>
> Thanks,
> Matthias
>
>
> [1] http://tinyurl.com/2rvfuy

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to