hi
i new to maven and try to create project structure with help of maven. I m
using Maven 3.0.4 version
Every time i try to run given command* C:\Program
Files\apache-maven-3.0.4\bin>mvn archetype:generate*
it ask :
- Choose a number or apply filter (format: [groupId:]artifactId, case
sensitive contains): 205: 596
Choose org.springframework.osgi:spring-osgi-bundle-archetype
version:
1: 1.0
2: 1.0.1
3: 1.0.2
4: 1.0.3
5: 1.1.0
6: 1.1.1
7: 1.1.2
8: 1.1.3
9: 1.2.0
10: 1.2.1
Choose a number: 10: 10
Define value for property 'groupId': : com.rahul
Define value for property 'artifactId': : gallery
Define value for property 'version': 1.0-SNAPSHOT: :
Define value for property 'package': com.rahul: :
Confirm properties configuration:
groupId: com.rahul
artifactId: gallery
version: 1.0-SNAPSHOT
package: com.rahul
Y: : y
[INFO]
----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x)
Archetype: spring-osgi-bundle-archetype:1.2.1
[INFO]
----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.rahul
[INFO] Parameter: packageName, Value: com.rahul
[INFO] Parameter: package, Value: com.rahul
[INFO] Parameter: artifactId, Value: gallery
[INFO] Parameter: basedir, Value: C:\Program Files\apache-maven-3.0.4\bin
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:53.783s
[INFO] Finished at: Wed Jul 18 01:34:34 IST 2012
[INFO] Final Memory: 7M/17M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli)
on project standalone-pom: Error merging velocity templates -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
please help me solve above issue
thanking you
--
Regards
Rahul Bhalla