maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarmahdi <sarma...@hotmail.com>
Subject Re: webappsource location in POM
Date Mon, 05 Mar 2012 11:00:45 GMT
I added the location in the war plugin :D

<plugins>
      <plugin>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.2</version>
        <executions>
          <execution>
            <id>default-war</id>
            <phase>package</phase>
            <goals>
              <goal>war</goal>
            </goals>
            <configuration>
              <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> // to
exclude libs normally u dont need that
              <archive>
                <manifest>
                  <addClasspath>true</addClasspath>
                  <classpathPrefix>lib/</classpathPrefix>
                </manifest>
              </archive>
              <failOnMissingWebXml>false</failOnMissingWebXml>
             
<webappDirectory>C:\RSA75Workspace\workspace\Corpweb\WebContent</webappDirectory>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>// to
exclude libs normally u dont need that
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
              <classpathPrefix>lib/</classpathPrefix>
            </manifest>
          </archive>
          <failOnMissingWebXml>false</failOnMissingWebXml>
         *
<webappDirectory>C:\RSA75Workspace\workspace\Corpweb\WebContent</webappDirectory>*
        </configuration>
      </plugin>

--
View this message in context: http://maven.40175.n5.nabble.com/webappsource-location-in-POM-tp5536805p5537186.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


Mime
View raw message