One other question.

Anyone know whats the preferred way to reference spring files?  the files in
src/main/resources in other sibling modules to be packaged for deployment...

On Sun, May 1, 2011 at 1:07 PM, CassUser CassUser <cassu...@gmail.com>wrote:

> Yeah.  the distribution module actually is an RPM module, and we use the
> copy dependencies plugin to ref modules within the project.  The
> dependencies are then mapped to locations in the rpm plugin like:
>                         <mapping>
>
> <directory>${install.location}/libraries</directory>
>                             <sources>
>                                 <source>
>
> <location>${project.build.directory}/dependency</location>
>                                 </source>
>                             </sources>
>                         </mapping>
>
> From one of those dependent modules I would like to reference a archive
> file that it creates (like the jars the dependency plugin grabs).  Would the
> assembly plugin work in this use case (example?)
>
> dependency plugin:
>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-dependency-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>copy-dependencies</id>
>                         <phase>compile</phase>
>                         <goals>
>                             <goal>copy-dependencies</goal>
>                         </goals>
>                         <configuration>
>                             <overWriteReleases>false</overWriteReleases>
>                             <overWriteSnapshots>false</overWriteSnapshots>
>                             <overWriteIfNewer>true</overWriteIfNewer>
>                         </configuration>
>                     </execution>
>                 </executions>
>             </plugin>
>
>
> On Sun, May 1, 2011 at 12:43 PM, Benson Margulies 
> <bimargul...@gmail.com>wrote:
>
>> Generally people use the assembly plugin in a 'distribution' module to
>> rearrange things into a distribution hierarchy. Is that what you have
>> in mind here?
>>
>> On Sun, May 1, 2011 at 3:40 PM, CassUser CassUser <cassu...@gmail.com>
>> wrote:
>> > Hey all,
>> >
>> > I have a multimodule maven project.  One of the modules creates a
>> archive
>> > file.  It's packaging is jar, but uses another plugin to create a
>> different
>> > type of archive.  I have a deployment modules which needs to move that
>> > archive into a conf folder.  How can i achieve this?
>> > Thanks.
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

Reply via email to