How is that relevant to the problem?  It's defined in a property file which
I read in through a plugin and then store them as project properties.  A
different propertly file is read for different environments (development,
production etc).



Mick Knutson-4 wrote:
> 
> Where did you define ${app.name} at?
> 
> On 10/16/06, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:
>>
>>
>> If you are using  the maven-war-plugin, you can use the
>> <warSourceExcludes>
>> elements to exclude jars from your war.  They will still appear in the
>> work
>> directory (where the war is assembled) but once your war is bundled up,
>> they
>> won't be there.  You should also look at <dependentWarExcludes>.
>>
>> http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
>>
>> Here's some usage:
>>
>> <plugin>
>>         <groupId>org.apache.maven.plugins</groupId>
>>         <artifactId>maven-war-plugin</artifactId>
>>         <version>2.0.1</version>
>>         <configuration>
>>                 <warSourceExcludes>
>>
>>                        
>> WEB-INF/lib/antlr-2*,WEB-INF/lib/avalon*</warSourceExcludes>
>>                 <warName>${app.name}</warName>
>>                 <containerConfigXML>${war.dir
>> }/context.xml</containerConfigXML>
>>                 <webXml>${war.dir}/WEB-INF/web.xml</webXml>
>>         </configuration>
>> </plugin>
>>
>> Zarar
>>
>>
>>
>>
>>
>>
>> Dmystery wrote:
>> >
>> > IS there a way to turn off transitive dependencies while packaging a
>> war
>> > file?
>> > I want my ejb-client in the war-packaging but it brings along all the
>> > ejb-client dependencies. I've searched enough on this forum but cant
>> find
>> > a solution.
>> >
>> > My webapp pom has a dependency as follows..
>> >
>> >
>> >   <dependencies>
>> >
>> >     <dependency>
>> >       <groupId>com-server</groupId>
>> >       <artifactId>com-server-ejb</artifactId>
>> >       <version>1</version>
>> >       <type>ejb-client</type>
>> >     </dependency>
>> >
>> >   </dependencies>
>> >
>> > Has anyone solved this isssue?
>> >
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Transitive-dependencies-in-war-plugin.-tf2452739.html#a6838263
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> 
> Thanks
> 
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Transitive-dependencies-in-war-plugin.-tf2452739.html#a6838444
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