Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docpublic:concepts:java:maven [2016/04/25 20:56]
procacci@tem-tsp.eu [ref]
docpublic:concepts:java:maven [2016/04/26 13:15] (current)
procacci@tem-tsp.eu [reprise sous debien generate]
Line 57: Line 57:
 </code> </code>
  
-==== reprise sous debien generate ====+==== reprise sous debian generate ====
  
 apres execution de ce create sous centos, une reprise de l'arborescence sous debian donne ceci au "create"  apres execution de ce create sous centos, une reprise de l'arborescence sous debian donne ceci au "create" 
Line 85: Line 85:
 </code> </code>
  
-solution : faire un generate plutot qu'un create+solution : faire un generate plutot qu'un create qui est devenu deprecated en maven 3 
  
 http://stackoverflow.com/questions/29147329/unable-to-create-a-new-maven-hello-world-project http://stackoverflow.com/questions/29147329/unable-to-create-a-new-maven-hello-world-project
 +
 +esuite si pb de ce type
  
 <code> <code>
Line 102: Line 104:
 </code> </code>
  
 +c'est qu'on est pas dans le bon niveau d'arborescence
 +il faut remonter d'un cran 
 +
 +<code>
 +$ cd ..
 +$ ls
 +application  application.tgz
 +$ mvn archetype:generate -DgroupId=com.javaworld.hotels -DartifactId=HotelDatabase -Dpackagename=com.javaworld.hotels
 +[INFO] Scanning for projects...
 +[INFO] Searching repository for plugin with prefix: 'archetype'.
 +...
 +[INFO] project created from Old (1.x) Archetype in dir: /home/xib/HotelDatabase
 +[INFO] ------------------------------------------------------------------------
 +[INFO] BUILD SUCCESSFUL
 +</code>
  
 ==== clean ==== ==== clean ====
docpublic/concepts/java/maven.1461617791.txt.gz ยท Last modified: 2016/04/25 20:56 by procacci@tem-tsp.eu
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0