You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Trenton D. Adams" <tr...@athabascau.ca> on 2012/01/31 23:34:05 UTC

axis2 overlay

Hi Guys,

I'm using the axis2 webapp as an overlay.  I just want to make sure I've 
got everything correct.

- I include the axis2-webapp as a dependency, which automatically uses 
it as an overlay.
- I have a profile called "noadmin", which excludes admin files so that 
it's just a web service.

I just want to make sure I'm excluding all the files I should be for the 
noadmin profile.  Is this correct?

   <profiles>
     <profile>
       <!-- This should be enabled during an RPM build -->
       <id>noadmin</id>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-war-plugin</artifactId>
             <version>2.1.1</version>
             <configuration>
               <overlays>
                 <overlay>
                   <groupId>org.apache.axis2</groupId>
                   <artifactId>axis2-webapp</artifactId>
                   <excludes>
                     <exclude>WEB-INF/conf/axis2.xml</exclude>
                     <exclude>axis2-web/**</exclude>
                     <exclude>WEB-INF/classes/**</exclude>
                   </excludes>
                 </overlay>
               </overlays>
             </configuration>
           </plugin>
         </plugins>
       </build>
     </profile>
   </profiles>

-- 
Trenton D. Adams
Senior Systems Analyst/Web Software Developer
Navy Penguins at your service!
Athabasca University
(780) 675-6195
:wq!

-- 
    This communication is intended for the use of the recipient to whom it
    is addressed, and may contain confidential, personal, and or privileged
    information. Please contact us immediately if you are not the intended
    recipient of this communication, and do not copy, distribute, or take
    action relying on it. Any communications received in error, or
    subsequent reply, should be deleted or destroyed.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org