That did not seem to work. I get all the conf files, but not the DEP. here
is my assembly descriptor:


<!--
| This is the configuration file for Maven. It can be specified at two
levels:
|
|  1. User Level. This settings.xml file provides configuration for a
single user,
|                 and is normally provided in $HOME/.m2/settings.xml.
|
|                 NOTE: This location can be overridden with the system
property:
|
|                 -
Dorg.apache.maven.user-settings=/path/to/user/settings.xml
|
|  2. Global Level. This settings.xml file provides configuration for all
maven
|                 users on a machine (assuming they're all using the same
maven
|                 installation). It's normally provided in
|                 ${maven.home}/conf/settings.xml.
|
|                 NOTE: This location can be overridden with the system
property:
|
|                 -
Dorg.apache.maven.global-settings=/path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start
at
| getting the most out of your Maven installation. Where appropriate, the
default
| values (values used when the setting is not specified) are provided.
|
|-->

<assembly>
   <formats>
       <format>tar</format>
   </formats>

   <!--<moduleSets>
       <moduleSet>
           <includes>
               <include>org.delta.npi:ear</include>
           </includes>
           <binaries>
               <outputDirectory>project-ear/${artifactId}</outputDirectory>
               <includeDependencies>true</includeDependencies>
               <unpack>false</unpack>
           </binaries>
       </moduleSet>
   </moduleSets>-->

   <fileSets>
       <fileSet>
           <directory>project-ear/target</directory>
           <outputDirectory></outputDirectory>
           <includes>
               <include>*.ear</include>
           </includes>
           <excludes>
               <exclude>xdocs/**</exclude>
           </excludes>
       </fileSet>

       <fileSet>
           <directory>${basedir}/src/main/resources/configs</directory>
           <outputDirectory></outputDirectory>
           <!--<fileMode>1</fileMode>
           <directoryMode>0</directoryMode>-->
           <includes>
               <include>**/*.*</include>
           </includes>
           <excludes>
               <exclude>assembly-descriptor.xml</exclude>
           </excludes>
       </fileSet>

       <fileSet>
           <directory>${basedir}/src/main/resources/opencms</directory>
           <outputDirectory>/tomcat/webapps</outputDirectory>
           <!--<fileMode>1</fileMode>
           <directoryMode>0</directoryMode>-->
           <includes>
               <include>**/*.*</include>
               <include>org.acegisecurity:acegi-security</include>
               <include>aopalliance:aopalliance</include>
               <include>aspectj:aspectj</include>
               <include>org.springframework:spring</include>

           </includes>
           <excludes>
               <exclude>assembly-descriptor.xml</exclude>
           </excludes>
       </fileSet>

   </fileSets>

</assembly>




On 1/6/07, Patrick Schneider <[EMAIL PROTECTED]> wrote:

Are you using an assembly descriptor?  You should be able to specify
things
like which dependencies to include from there.

Have a look here:


http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/including-and-excluding-artifacts.html


Patrick

On 1/6/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I have an assembly I am creating, and I need to add some jar
dependencies
> from my local repository into the assembly like acegi-1.0.2.jar etc...
>
> How can I do this?
>
> --
> Thanks
>
> DJ MICK
>
> (Mick Knutson)
> http://www.djmick.com
> http://www.myspace.com/djmick_dot_com
> http://www.thumpradio.com
>
>




--
Thanks

DJ MICK

(Mick Knutson)
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com

Reply via email to