You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ffbeltran <ff...@gmail.com> on 2008/05/21 14:14:26 UTC

Re: War dependency

I have a similar scenario, with two webapps. I config the war plugin in
customer war:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <configuration>
    <dependentWarExcludes>WEB-INF/web.xml, index.jsp</dependentWarExcludes>
    <!-- I want this two files of my customer war -->
  </configuration>
</plugin>

I hope this help you. 

On the other hand, when i have a war dependency, the classes in this war are
not avaible for the project with the dependency. How can i import a war
dependency with this classes?

Sorry for my english.




zalym wrote:
> 
> I have a base war, which has the UI layer, and custom wars per customer
> for content and other branding stuff.  I use the maven-war-plugin, for
> packaging the two wars into one, by adding the base war as a dependency to
> the customer war.
> 
> The base war has a profile based resource filtering mechanism.  My issue
> is that when I overlay the wars with the customer war, the values have
> already been filtered, and hence no change is affected.  
> 
> How do I filter the base war resources while packaging the customer war?
> 
> Any help is appreciated.
> 
> Regards,
> Saleem
> 

-- 
View this message in context: http://www.nabble.com/War-dependency-tp10378044p17364168.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org