Dear users and developers,
I have a single module project, is it possible to create an assembly
such that, it include the normal project artifact, extra files (scripts/sql)
and dependency in the assembly output?
I can use an descriptor to include the scripts and dependencies
included in the output, but the module itself is not included.
For example:
After mvn package (I use assembly:inline),
I found the followings files in target/sample-1.0-SNAPSHOT-binary.dir:
bin/start.sh
lib/commons-logging-1.1.jar
lib/commons-lang-2.1.jar
[... some more other commonly used jar ...]
However, the sample-1.0-SNAPSHOT.jar is not appear in the directory.
How can I managed the sample-1.0-SNAPSHOT.jar appear in the directory?
== the following is my descriptor ==
<assembly>
<id>binary</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>${artifactId}-${version}</baseDirectory>
<includeBaseDirectory>true</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>src/main/script</directory>
<filtered>false</filtered>
<lineEnding>keep</lineEnding>
<outputDirectory>scripts</outputDirectory>
<useStrictFiltering>false</useStrictFiltering>
<useDefaultExcludes>true</useDefaultExcludes>
<fileMode>0555</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
Thanks!!
Zarick Lau
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]