diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/pom.xml new file mode 100644 index 0000000000..ce97fca441 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/pom.xml @@ -0,0 +1,10 @@ + + + maven-archetypes + org.apache.maven.archetypes + 1.0-alpha-4-SNAPSHOT + + 4.0.0 + maven-archetype-j2ee + 1.0-alpha-4-SNAPSHOT + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/META-INF/archetype.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/META-INF/archetype.xml new file mode 100644 index 0000000000..d2b1f702b6 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/META-INF/archetype.xml @@ -0,0 +1,19 @@ + + j2ee + + pom.xml + ear/pom.xml + ejbs/src/main/resources/META-INF/ejb-jar.xml + ejbs/pom.xml + primary-source/pom.xml + projects/logging/pom.xml + projects/pom.xml + servlets/pom.xml + servlets/servlet/pom.xml + servlets/servlet/src/main/webapp/index.jsp + servlets/servlet/src/main/webapp/WEB-INF/web.xml + site/pom.xml + site/src/site/site.xml + site/src/site/apt/site.apt + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ear/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ear/pom.xml new file mode 100644 index 0000000000..2a4a27d1e3 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ear/pom.xml @@ -0,0 +1,59 @@ + + 4.0.0 + root.project + ear + ear + 1.0 + ear assembly + + root + project + 1.0 + + + + root.project + ejbs + ejb + + + root.project.servlets + servlet + war + + + root.project + primary-source + + + root.project.projects + logging + + + fop + fop + + + axis + axis + + + axis + axis-wsdl4j + + + + + + maven-ear-plugin + + + + true + + + + + + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ejbs/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ejbs/pom.xml new file mode 100644 index 0000000000..9aab725a0e --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ejbs/pom.xml @@ -0,0 +1,42 @@ + + 4.0.0 + root.project + ejbs + ejb + 1.0 + enterprise java beans + + root + project + 1.0 + + + + root.project + primary-source + + + root.project.projects + logging + + + fop + fop + provided + + + + + + maven-ejb-plugin + + + + true + + + + + + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ejbs/src/main/resources/META-INF/ejb-jar.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/ejbs/src/main/resources/META-INF/ejb-jar.xml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000000..a6ca1bfbba --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,77 @@ + + 4.0.0 + root + 1.0 + project + pom + project + + projects + primary-source + servlets + ejbs + ear + site + + + + + + org.apache.maven.plugins + maven-site-plugin + + /usr/bin/unzip -o > err.txt + + + + + + + + + root.project.projects + logging + 1.0 + + + root.project + primary-source + 1.0 + + + root.project.servlets + servlet + 1.0 + war + + + root.project + ejbs + 1.0 + ejb + + + fop + fop + 0.20.5 + + + axis + axis + 1.2.1 + + + axis + axis-wsdl4j + 1.5.1 + + + + + + site + project website + scp://local.company.com/websites/project.company.com/ + + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/primary-source/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/primary-source/pom.xml new file mode 100644 index 0000000000..f64d0df2f1 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/primary-source/pom.xml @@ -0,0 +1,51 @@ + + 4.0.0 + root.project + primary-source + jar + core project classes + + root + project + 1.0 + + + + root.project.projects + logging + + + fop + fop + provided + + + axis + axis + provided + + + axis + axis-wsdl4j + provided + + + + + + maven-compiler-plugin + + iso-8859-1 + + + + org.apache.maven.plugins + maven-javadoc-plugin + + 128m + 512m + + + + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/projects/logging/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/projects/logging/pom.xml new file mode 100644 index 0000000000..4c426ea482 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/projects/logging/pom.xml @@ -0,0 +1,12 @@ + + 4.0.0 + root.project.projects + logging + jar + logging + + root.project + projects + 1.0 + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/projects/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/projects/pom.xml new file mode 100644 index 0000000000..a7774b68d8 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/projects/pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + root.project + 1.0 + projects + pom + sub projects + + root + project + 1.0 + + + logging + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/pom.xml new file mode 100644 index 0000000000..dc807cb97d --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/pom.xml @@ -0,0 +1,23 @@ + + 4.0.0 + root.project + servlets + pom + servlets + 1.0 + + root + project + 1.0 + + + + fop + fop + + + + servlet + + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/pom.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/pom.xml new file mode 100644 index 0000000000..b9ce63f20e --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/pom.xml @@ -0,0 +1,19 @@ + + 4.0.0 + root.project.servlets + servlet + war + servlet + + root.project + servlets + 1.0 + + + + root.project + primary-source + provided + + + diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/src/main/webapp/index.jsp b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/src/main/webapp/index.jsp new file mode 100644 index 0000000000..c38169bb95 --- /dev/null +++ b/maven-archetype/maven-archetypes/maven-archetype-j2ee/src/main/resources/archetype-resources/servlets/servlet/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +

Hello World!

+ +