dimanche 17 mai 2009

maven : probleme de conversion de projet strut web

créer le projet strut avec maven
mvn archetype:create -DgroupId=be.realdolmen.struts2 -DartifactId=tutorial -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.11.2


modifier le pom avec ces lignes et relancer avec maven -Dwtp.version=2.0 eclipse:eclipse


< plugin>
< groupId>org.apache.maven.plugins < /groupId >
< artifactId>maven-eclipse-plugin< /artifactId >
< version>2.5-SNAPSHOT < /version >
< configuration >
< downloadSources > false < /downloadSources >
< downloadJavadocs>false < /downloadJavadocs >
< wtpversion>2.0< /wtpversion >
< wtpmanifest>true < /wtpmanifest >
< wtpapplicationxml > true < /wtpapplicationxml >
< /configuration >
< /plugin >

Aucun commentaire:

Enregistrer un commentaire