Skip to content

Commit

Permalink
Add pom.xml file to template directory. Fix Apache License issues for…
Browse files Browse the repository at this point in the history
… existing pom.xml files.
  • Loading branch information
sgilda committed Mar 21, 2012
1 parent ed4a898 commit 2bdedfa
Show file tree
Hide file tree
Showing 16 changed files with 262 additions and 23 deletions.
8 changes: 8 additions & 0 deletions ejb-in-ear/ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
<name>JBoss AS Quickstarts: EJB and War in an Ear - EAR</name>
<description>JBoss AS Quickstarts: EJB and WAR in an EAR - EAR</description>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<parent>
<groupId>org.jboss.as.quickstarts</groupId>
<artifactId>jboss-as-ejb-in-ear</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions ejb-in-ear/ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
<name>JBoss AS Quickstarts: EJB and War in an Ear - EJB</name>
<description>JBoss AS Quickstarts: EJB and War in an Ear - EJB</description>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<parent>
<groupId>org.jboss.as.quickstarts</groupId>
<artifactId>jboss-as-ejb-in-ear</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions ejb-in-ear/web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
<name>JBoss AS Quickstarts: EJB and War in an Ear - WEB</name>
<description>JBoss AS Quickstarts: EJB and War in an Ear - WEB</description>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<parent>
<groupId>org.jboss.as.quickstarts</groupId>
<artifactId>jboss-as-ejb-in-ear</artifactId>
Expand Down
9 changes: 5 additions & 4 deletions helloworld-jms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
<artifactId>jboss-as-helloworld-jms</artifactId>
<version>7.1.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>JBoss AS Quickstarts: Helloworld JMS external producer/consumer client</name>

<name>JBoss AS Quickstarts: helloworld-jms</name>
<description>helloworld-jms: Helloworld JMS external producer/consumer client </description>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/copyleft/lesser.html</url>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

Expand Down
10 changes: 5 additions & 5 deletions helloworld-mdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/copyleft/lesser.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
Expand Down
10 changes: 5 additions & 5 deletions helloworld-singleton/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/copyleft/lesser.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
Expand Down
12 changes: 10 additions & 2 deletions hibernate4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@
<artifactId>jboss-as-hibernate4</artifactId>
<version>7.1.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Java EE 6 webapp project</name>
<description>A starter Java EE 6 webapp project for use on JBoss AS 7 / EAP 6, generated from the jboss-javaee6-webapp archetype</description>
<name>JBoss AS Quickstarts: hibernate4</name>
<description>hibernate4: Application that uses Hibernate 4</description>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
<!-- Explicitly declaring the source encoding eliminates the following
Expand Down
12 changes: 10 additions & 2 deletions jax-rs-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@
<groupId>org.jboss.as.quickstarts</groupId>
<artifactId>jax-rs-client</artifactId>
<version>1.0</version>
<name>JBoss AS Quickstarts: jax-rs-client</name>

<name>JBoss AS Quickstarts:jax-rs-client</name>
<description>jax-rs-client: Demonstrates the use an external JAX-RS RestEasy client</description>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
<!-- Explicitly declaring the source encoding eliminates the following
Expand Down
9 changes: 9 additions & 0 deletions kitchensink-ear/jboss-as-kitchensink-ear-ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

<name>JBoss AS Quickstarts: Kitchensink EAR: EAR Module</name>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<dependencies>

<!-- Depend on the ejb module and war so that we can package them -->
Expand Down
9 changes: 9 additions & 0 deletions kitchensink-ear/jboss-as-kitchensink-ear-ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

<name>JBoss AS Quickstarts: Kitchensink EAR: EJB Module</name>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<dependencies>

<!-- Declare the APIs we depend on and need for compilation. All of
Expand Down
9 changes: 9 additions & 0 deletions kitchensink-ear/jboss-as-kitchensink-ear-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

<name>JBoss AS Quickstarts: Kitchensink EAR: WAR Module</name>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<dependencies>

<!-- Dependency on the EJB module so we can use it's services if needed -->
Expand Down
9 changes: 9 additions & 0 deletions kitchensink-ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
<packaging>pom</packaging>
<name>JBoss AS Quickstarts: Kitchensink EAR</name>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<modules>
<module>jboss-as-kitchensink-ear-ejb</module>
<module>jboss-as-kitchensink-ear-web</module>
Expand Down
17 changes: 12 additions & 5 deletions kitchensink-jsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.jboss.as.kitchensink-jsp</groupId>
<artifactId>jboss-as-kitchensink-jsp</artifactId>
<version>7.1.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>JBoss AS Quickstarts: Kitchensink with JSP front end</name>
<name>JBoss AS Quickstarts: kitchensink-jsp</name>
<description>kitchensink-jsp: Kitchensink with JSP front end</description>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
<!-- Explicitly declaring the source encoding eliminates the following
Expand Down Expand Up @@ -259,9 +270,5 @@
</plugins>
</build>
</profile>

</profiles>
<description>JBoss AS Quickstarts: kitchensink JSP</description>
<url>http://jboss.org/jbossas</url>
<artifactId>jboss-as-kitchensink-jsp</artifactId>
</project>
9 changes: 9 additions & 0 deletions kitchensink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
<name>JBoss AS Quickstarts: kitchensink</name>
<description>A starter Java EE 6 webapp project for use on JBoss AS 7 / EAP 6, generated from the jboss-javaee6-webapp archetype</description>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
<!-- Explicitly declaring the source encoding eliminates the following
message: -->
Expand Down
9 changes: 9 additions & 0 deletions tasks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
<name>JBoss AS Quickstarts: Tasks</name>
<description>JBoss AS Quickstarts: Tasks</description>

<url>http://jboss.org/jbossas</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
</license>
</licenses>

<properties>
<!-- Explicitly declaring the source encoding eliminates the following
message: -->
Expand Down
Loading

0 comments on commit 2bdedfa

Please sign in to comment.