I am trying to build a timesaving module that will build tar files to be installed on a server I have defined a bunch of dependencies in the pom and want to build 2 tar files by invoking 2 instances of the plug-in. In each one I want to specify a list of dependencies to be included from the repository.
  in the assembly descriptor I have
  dependencySets
    dependencySet
      includes
        include com.artifact-software.taw:taw-localized-iumessage-ws
        include com.artifact-software.taw:taw-dataccess-ws:

I would like it to take just these 2 modules for this tar file.
There are a lot more dependencies that will go in the second invocation of the assembly plug-in.


This gets the following message

[INFO] --- maven-assembly-plugin:2.4:single (default) @ taw-webapps-assembler ---
[INFO] Reading assembly descriptor: src/assembly/webapps-tar.xml
[WARNING] The following patterns were never triggered in this artifact inclusion filter:
o  'com.artifact-software.taw:taw-localized-iumessage-ws'
o  'com.artifact-software.taw:taw-dataccess-ws:'

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.658s
[INFO] Finished at: Tue Feb 11 19:54:13 EST 2014
[INFO] Final Memory: 10M/148M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project taw-webapps-assembler: Failed to create assembly: Error creating assembly archive webapps: You must set at least one file. -> [Help 1]

What have I misunderstood about the assembly.

--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to