Hi,
   Yes ,It's feasible,I have excluded the directory WEB-INF/lib/.

   And How can I deploy the 3th party jar in the directory
%JBOSS_HOME%server\ProjectName\lib ?


2007/2/13, mraible <[EMAIL PROTECTED]>:


Here's how we do this in AppFuse:

           <plugin>
               <artifactId>maven-war-plugin</artifactId>
               <version>2.0.2</version>
               <executions>
                   <execution>
                       <id>skinny-war</id>
                       <goals>
                           <goal>war</goal>
                       </goals>
                       <phase>post-integration-test</phase>
                       <inherited>false</inherited>
                       <configuration>

<warSourceExcludes>WEB-INF/lib/**</warSourceExcludes>
                       </configuration>
                   </execution>
               </executions>
           </plugin>

Hope this helps,

Matt

秋秋 wrote:
>
> HI,
>     I use maven-war-plugin to deploy the war and use maven-jar-plugin to
> deploy the jar for the same project,the project is distributed deployed
> ,and
> I use jboss for the server,I want to deploy the 3th party jar in the
> directory %JBOSS_HOME%server\ProjectName\lib,
> and I don't want there is still a WEB-INF/lib directory in the
war,because
> it will breeds strife.How can I do?
>
>

--
View this message in context:
http://www.nabble.com/How-to-deploy-a-war-which-is-not-includes-directory-WEB-INF-lib--tf3212330s177.html#a8932025
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