You could use maven-antrun-plugin if you find that more easy. I come from ant
world and I keep thinking ant solutions, but that might not be the best way to
solve your problem.
The way to to this would in this case to run 'maven site' and you must have
configured antrun to run after the site phase.
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>site</phase>
<configuration>
<tasks-->
<!--
Place any ant task here. You
can add anything
you can add between <target>
and </target> in a
build.xml.
-->
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
-Ronny
-----Opprinnelig melding-----
Fra: Ståle Undheim [mailto:[EMAIL PROTECTED]
Sendt: 19. september 2006 15:07
Til: Maven User-list
Emne: Excluding artifact from assemblys dependencySet
I have a simple project that produces 1 jar (no child modules), and 3
dependencies. I want to produce an assembly that looks something like this:
lib/dependency1.jar
lib/dependency2.jar
lib/dependency3.jar
doc/javadoc
project-version.jar
project-version-src.jar
I have the following defined in my assembly.xml:
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
</dependencySet>
</dependencySets>
The problem is that my project-version.jar is also included in the lib folder.
There is text on the assembly web-page that you can create a project as I have
illustrated above, but no examples of how.
I havent looked into doing the src jar or the javadoc part yet, and I dont see
anything in the assembly documentation about doing things like that. Anyone
able to point me in the right direction regarding this?
assembly:assembly doesnt seem to invoke the building of javadoc.
I also need to figure out how the assembly plugin relates to a release and
upload.
--
Ståle Undheim
Systemutvikler
CoreTrek
Tlf.: +47 51 97 85 97
E-post: [EMAIL PROTECTED]
WEB: www.coretrek.no
"Simple is beautiful"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]