hi,

I'm packaging a tar.gz with assembly, I included several filesets from my
project, but now I need to add some files/folders that are in a war (this
war is also taken as an overlay from the project in order to add the
necessary files in the main war package of the project).


I don't understand how I can add the files to my assembled tar.gz...

the war is: com.ctd.webapp.webapp-commons.war-4.5.1-SNAPSHOT (it is
regularly deployed in my local repository) and it is also a dependency in
the pom:

<dependency>
            <groupId>com.ctd.webapp</groupId>
            <artifactId>webapp-commons.war</artifactId>
            <version>${webapp-commons.war.version}</version>
            <type>war</type>
</dependency>


from this war I need to copy a js folder and an index.jsp file (both in the
root directory of the war), but I haven't managed yet to get this done...


i tried to include the whole war:
    <moduleSets>
        <moduleSet>
            <includes>
               
<include>com.ctd.webapp.webapp-commons.war-4.5.1-SNAPSHOT</include>
            </includes>
        </moduleSet>
    </moduleSets>

but:
[WARNING] The following patterns were never triggered in this artifact
inclusion filter:
o  'com.ctd.webapp.webapp-commons.war-4.5.1-SNAPSHOT'

[WARNING] Encountered ModuleSet with no sources or binaries specified.
Skipping.



At first I had:
<fileSet>
 
<directory>overlays/com.ctd.webapp.webapp-commons.war-${webapp-commons.war.version}/js</directory>
  <outputDirectory>js</outputDirectory>
</fileSet>

but this only works where an overlays folder has been created...that's why I
need to replace it..

I tried to follow the guide to set up the plugin...but I haven't understood
how to solve this...


any ideas?

-- 
View this message in context: 
http://www.nabble.com/Assembly%3Aadding-a-war-module-to-a-tar.gz-tp24070208p24070208.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to