<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.0.2</version> <configuration> <webResources> <resource> <directory>$/WebContent</directory> </resource> </webResources> <warSourceDirectory>WebContent</warSourceDirectory> <warSourceExcludes>WebContent/WEB-INF/lib/*.jar</warSourceExcludes> <archiveClasses>false</archiveClasses> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix /> </manifest> <manifestEntries> <url>${pom.url}</url> <Implementation-Build>$</Implementation-Build> <Implementation-Title>${project.name}</Implementation-Title> <Implementation-Vendor>CEJUG</Implementation-Vendor> <Implementation-Version>${project.version}</Implementation-Version> <Built-By>${user.name}</Built-By> <Built-OS>${os.name}</Built-OS> <Build-Date>$</Build-Date> <SCM>$</SCM> </manifestEntries> </archive> </configuration> </plugin>
Thursday, August 16, 2012
Convert Exist Eclipse Dynamic Web Project to Maven project
Labels:
Java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment