Hello,
I have some problems to create a webservice project with maven, as described in tutorial.
When I try to execute this command :
Firstly, I got some dl errors due to my proxy, changed conf and it's ok.Code:mvn archetype:create -DarchetypeGroupId=org.springframework.ws \ -DarchetypeArtifactId=spring-ws-archetype \ -DarchetypeVersion=1.5.2 \ -DgroupId=com.mycompany \ -DartifactId=holidayService
Next, I got a warning message which say that "create" is deprecated, but it doesn't seem to be the problem.
Next, he can't download spring :
So, I install manually as he advices :Code:[INFO] Failed to resolve artifact. GroupId: org.springframework.ws ArtifactId: maven-archetype-quickstart Version: 1.5.2 Reason: Unable to download the artifact from any repository
Some checksum errors, but build is successful.Code:mvn install:install-file -DgroupId=org.springframework.ws -DartifactId=maven-archetype-quickstart -Dversion=1.5.2 -Dpackaging=jar -Dfile=./spring-ws-1.5.2.jar
When I retry the first command :
I don't understand the problem. I've done exactly what is said.Code:[ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found.
I tried to remove .m2 and retry, but same results.
Thanks for your help.


Reply With Quote