WalterIM wrote:
I'm not sure if the Maven version is related with your problem, but I suggest you use Maven 2 instead of Maven 1, as described at
(end of quote)
Hi thanks for prompt reply but still I am facing problems-
In "Test Maven and create a local repository' section this is the out put when I try the following commands -
C:temp1>mvn --version
Maven version: 2.0.5
C:temp1>mvn archetype:create -DgroupId=testapp -DartifactId=testapp
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Jul 19 10:35:28 GMT+03:00 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
And I tried to follow the steps in "Install AndroMDA Application plugin" section(next one), I have all the previous steps as per the guidelines and this is the output when I try with mvn command(same output as before)
C:TEMP>mvn
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building test
[INFO] task-segment: [compile]
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Jul 19 10:35:45 GMT+03:00 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
"I am using a proxy and as per the guidelines I was not able to find settings.xml or it is not present there in .m2 folder so I create a build.properties file at this location C:Documents and Settingsmy user name with these values -maven.repo.remote=
http://www.ibiblio.org/maven2,http://team.andromda.org/maven2maven.proxy.host=dc1
maven.proxy.port=8080
"
Suggest me what could be wrong ....
_________________________________________________________
Reply to the post :
http://galaxy.andromda.org/forum/viewtopic.php?p=26189#26189Posting to
http://forum.andromda.org/ is preferred over posting to the mailing list!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/