Java Virtal

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

161718 19202122

[ Archives News
for 'Java Technology' ]

home > news > java technology > webapps with eclipse and maven (maven-war-plugin)

Webapps with Eclipse and Maven (maven-war-plugin)

Web applications created by the Eclipse IDE contains an annoying folder WebContent to host the web resources and deployment descriptors. Quite natural for Eclipse users, this feature ignores the Maven convention and force the developers to hack the pom files in order to get the project up and running in Eclipse. In this aspect, Eclipse if far behind the other IDEs regarding Maven support, even if you consider the very good M2Eclipse plugin. So, for you lazy Christmas hackers, here it is a solution for the Maven integration problems in Eclipse based on the maven-war-plugin. Create a Web Project in Eclipse: right-click on the Project Explorer > New > Project > Web \ Dynamic Web Project Create a pom.xml file in the project root folder, with the following content: ">"> 4.0.0 org.cejug webapp-test war 1.0-SNAPSHOT webapp-test Maven Webapp Repository for Maven ${} org.apache.maven.plugins maven-war-plugin 2.0.2 ${basedir}/WebContent WebContent WebContent/WEB-INF/lib/*.jar false true ${pom.url} ${buildNumber} ${} CEJUG ${project.version} ${} $...

Date: December, 28 2009

Others News

© html website maker | best website maker | best web design software | free web design software | css3 menu