Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Maven Wiki" for change 
notification.

The following page has been changed by JeanMichelGarnier:
http://wiki.apache.org/maven/MavenDiscussionConventions

------------------------------------------------------------------------------
   * Refactorisación de los proyectos existentes
  
  == Proyecto de servico estandarde ==
- Inspired from http://maven.apache.org/reference/conventions.html
+ http://maven.apache.org/reference/conventions.html
  
  {{{
  /
@@ -36, +36 @@

  +- target/
  |  +- ...
  +- project.xml
- +- maven.xml    "Should be empty "
+ +- maven.xml    
- +- .project     "See "
+ +- .project     
- +- .classpath   "See "
+ +- .classpath   
+ }}}
+ 
+ .claspath 
+ {{{#!xml
+ <?xml version="1.0" encoding="UTF-8"?>
+ <classpath>
+       <classpathentry kind="output" path="target/test-classes"/>
+       <classpathentry output="target/classes" kind="src" 
path="src/main/java"/>
+       <classpathentry output="target/classes" kind="src" 
path="src/main/resources/conf/spring"/>
+         <classpathentry kind="src" path="src/test/java"/>     
+         <classpathentry kind="src" path="src/test/resources/conf/log4j"/>
+       <classpathentry excluding="conf/log4j/" kind="src" 
path="src/test/resources"/>  
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+       <classpathentry kind="var" path="MAVEN_REPO/..."/>
+       ...
+ </classpath>
+ 
  }}}
  
  == Proyecto de webapp estandarde ==
   
+ {{{
+ /
+ +- src/
+ |  +- main/
+ |  |  +- java/
+ |  |  |  +- net
+ |  |  |     +- ...
+ |  |  +- resources/
+ |  |     +-conf
+ |  |       +-log4j
+ |  |       +-spring
+ |  |       +-jdbc
+ |  |       +-hibernate
+ |  |  +- webapp/
+ |  |     +- WEB-INF
+ |  |        +- web.xml
+ |  +- test/
+ |  |  +- java/
+ |  |  |  +- net
+ |  |  |     +- ...
+ |  |  +- resources/
+ |  |     +-conf
+ |  |       +-spring
+ |  |       +-jdbc
+ +- target/
+ |  +- ...
+ +- project.xml
+ +- maven.xml    
+ +- .project     
+ +- .classpath   
+ .wtpmodules
+ }}}
  
  
+ 
- |  |  +- webapp/
- |  |     +- WEB-INF
  
  
  === Refactorisación de los proyectos existentes ===
  
+ Por defecto, los proyectos no necesitan project.properties ni siquiera 
maven.xml (o vacillo para arrancar Maven en Eclipse)
+ 
- Todos los proyectos heredan las propiedades definidas en el 
project.properties de openFrame-root.
+ Todos los proyectos heredan las propiedades definidas en el 
project.properties en openFrame-root.
-  
+ Podemos compartir las cosas siguientes:
  1. Checkstyle 
(http://maven.apache.org/reference/plugins/checkstyle/index.html)
+ 2. PMD (http://pmd.sourceforge.net/index.html)
+ 3. Gestion de las dependencias
+ http://maven.apache.org/using/managing-dependencies.html
  
- 2. PMD (http://pmd.sourceforge.net/index.html)
+ === Codigo fuente del project.properties en openFrame-root  ===
  
- 3. Gestion de las dependencias
- Ref: http://maven.apache.org/using/managing-dependencies.html
- 
- ... Todavía, Estoy jugando con Maven ... 
- 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to