Archetype « plugin « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » plugin » Archetype 

1. mvn archetype:generate does not work-no plugin found for prefox 'archetype'    stackoverflow.com

I am a newbie on maven and I want to build a simple project using a exsiting archetype. But I can't run mvn archtype:generate as it keeps telling me the following ...

2. Maven archetype plugin doesn't let .resources in archetype-resources through    stackoverflow.com

Does anybody know how can I make resources like .gitignore be part of the resulting project ?

  1. create archetype with archetype-resources/.gitignore
  2. mvn install
  3. mvn archatype:generate
  4. resulting project doesn't contain .gitignore
PS. I'm sure it isn't there. ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.