You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/11/03 10:56:07 UTC
[1/3] struts-archetypes git commit: Drops useless declaration of
Log4j2 - it's already included in Struts
Repository: struts-archetypes
Updated Branches:
refs/heads/master a88a347aa -> 049f0d41d
Drops useless declaration of Log4j2 - it's already included in Struts
Project: http://git-wip-us.apache.org/repos/asf/struts-archetypes/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-archetypes/commit/8237fcc6
Tree: http://git-wip-us.apache.org/repos/asf/struts-archetypes/tree/8237fcc6
Diff: http://git-wip-us.apache.org/repos/asf/struts-archetypes/diff/8237fcc6
Branch: refs/heads/master
Commit: 8237fcc60c3a72c4148cdcbfd6b4e9fdd36b686c
Parents: a88a347
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Thu Nov 3 11:38:45 2016 +0100
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Thu Nov 3 11:38:45 2016 +0100
----------------------------------------------------------------------
.../src/main/resources/archetype-resources/pom.xml | 9 ---------
.../src/main/resources/archetype-resources/pom.xml | 7 -------
.../src/main/resources/archetype-resources/pom.xml | 7 -------
.../src/main/resources/archetype-resources/pom.xml | 6 ------
.../src/main/resources/archetype-resources/pom.xml | 9 +--------
5 files changed, 1 insertion(+), 37 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/8237fcc6/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
index 70c58c4..8559f18 100644
--- a/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
@@ -10,7 +10,6 @@
<properties>
<struts2.version>${project.version}</struts2.version>
- <log4j2.version>${log4j2.version}</log4j2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -48,20 +47,12 @@
</dependency>
<dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>\${log4j2.version}</version>
- </dependency>
-
-
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<scope>test</scope>
</dependency>
-
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/8237fcc6/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
index 4a1bd24..b432767 100644
--- a/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
@@ -10,7 +10,6 @@
<properties>
<struts2.version>${project.version}</struts2.version>
- <log4j2.version>${log4j2.version}</log4j2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -36,12 +35,6 @@
</dependency>
<dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>\${log4j2.version}</version>
- </dependency>
-
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/8237fcc6/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
index 9bca7cc..b7b715a 100644
--- a/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
@@ -10,7 +10,6 @@
<properties>
<struts2.version>${project.version}</struts2.version>
- <log4j2.version>${log4j2.version}</log4j2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -42,12 +41,6 @@
</dependency>
<dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>\${log4j2.version}</version>
- </dependency>
-
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/8237fcc6/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
index 49d9e88..e1826d9 100644
--- a/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
@@ -92,12 +92,6 @@
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>\${log4j2.version}</version>
- </dependency>
-
</dependencies>
<build>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/8237fcc6/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
index 3b79422..b90f235 100644
--- a/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
@@ -71,13 +71,6 @@
<version>1.3</version>
</dependency>
- <!-- Logging -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>\${log4j2.version}</version>
- </dependency>
-
<!-- Dwr -->
<dependency>
<groupId>uk.ltd.getahead</groupId>
@@ -85,7 +78,7 @@
<version>1.1-beta-3</version>
</dependency>
</dependencies>
-
+
<build>
<finalName>${artifactId}</finalName>
<plugins>
[3/3] struts-archetypes git commit: Uses fixed Struts version
Posted by lu...@apache.org.
Uses fixed Struts version
Project: http://git-wip-us.apache.org/repos/asf/struts-archetypes/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-archetypes/commit/049f0d41
Tree: http://git-wip-us.apache.org/repos/asf/struts-archetypes/tree/049f0d41
Diff: http://git-wip-us.apache.org/repos/asf/struts-archetypes/diff/049f0d41
Branch: refs/heads/master
Commit: 049f0d41dbcc1abf52983984690b395f14a4afc1
Parents: df51fa4
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Thu Nov 3 11:55:04 2016 +0100
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Thu Nov 3 11:55:04 2016 +0100
----------------------------------------------------------------------
pom.xml | 1 +
.../src/main/resources/archetype-resources/pom.xml | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 2 +-
7 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 75c0e4c..c865b2f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <supported.struts2.version>2.5.5</supported.struts2.version>
</properties>
<build>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
index 8559f18..da81dbd 100644
--- a/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-angularjs/src/main/resources/archetype-resources/pom.xml
@@ -9,7 +9,7 @@
<name>\${artifactId}</name>
<properties>
- <struts2.version>${project.version}</struts2.version>
+ <struts2.version>${supported.struts2.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
index b432767..7694190 100644
--- a/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
@@ -9,7 +9,7 @@
<name>\${artifactId}</name>
<properties>
- <struts2.version>${project.version}</struts2.version>
+ <struts2.version>${supported.struts2.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
index da94717..ffbfd61 100644
--- a/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
@@ -9,7 +9,7 @@
<name>\${artifactId}</name>
<properties>
- <struts2.version>${project.version}</struts2.version>
+ <struts2.version>${supported.struts2.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
index 7bf5ab2..8fa84a7 100644
--- a/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
@@ -11,7 +11,7 @@
<description>Struts 2 Database Portlet</description>
<properties>
- <struts2.version>${project.version}</struts2.version>
+ <struts2.version>${supported.struts2.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
index 4fe82cf..ece9bca 100644
--- a/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
@@ -11,7 +11,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <struts2.version>${project.version}</struts2.version>
+ <struts2.version>${supported.struts2.version}</struts2.version>
<portlet.api.version>2.0</portlet.api.version>
<!-- plugins -->
<plugin.compiler.version>3.0</plugin.compiler.version>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/049f0d41/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
index ec52441..f0f8f24 100644
--- a/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
@@ -10,7 +10,7 @@
<description>Struts 2 Starter</description>
<properties>
- <struts2.version>${project.version}</struts2.version>
+ <struts2.version>${supported.struts2.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
[2/3] struts-archetypes git commit: Reformats code
Posted by lu...@apache.org.
Reformats code
Project: http://git-wip-us.apache.org/repos/asf/struts-archetypes/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-archetypes/commit/df51fa4e
Tree: http://git-wip-us.apache.org/repos/asf/struts-archetypes/tree/df51fa4e
Diff: http://git-wip-us.apache.org/repos/asf/struts-archetypes/diff/df51fa4e
Branch: refs/heads/master
Commit: df51fa4ee1ca5935f2d0e91ddbb31e76b9d67a03
Parents: 8237fcc
Author: Lukasz Lenart <lu...@gmail.com>
Authored: Thu Nov 3 11:44:35 2016 +0100
Committer: Lukasz Lenart <lu...@gmail.com>
Committed: Thu Nov 3 11:44:35 2016 +0100
----------------------------------------------------------------------
pom.xml | 7 +-
struts2-archetype-blank/pom.xml | 3 +-
struts2-archetype-convention/pom.xml | 3 +-
.../main/resources/archetype-resources/pom.xml | 6 +-
struts2-archetype-dbportlet/pom.xml | 3 +-
.../main/resources/archetype-resources/pom.xml | 66 ++++++++---------
struts2-archetype-plugin/pom.xml | 3 +-
.../main/resources/archetype-resources/pom.xml | 4 +-
struts2-archetype-portlet/pom.xml | 3 +-
.../main/resources/archetype-resources/pom.xml | 76 ++++++++++----------
struts2-archetype-starter/pom.xml | 3 +-
.../main/resources/archetype-resources/pom.xml | 66 ++++++++---------
12 files changed, 125 insertions(+), 118 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 09a07b8..75c0e4c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,8 @@
* under the License.
*/
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.struts</groupId>
@@ -64,7 +65,7 @@
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
- <comments />
+ <comments/>
</license>
</licenses>
@@ -84,7 +85,7 @@
</modules>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-blank/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-blank/pom.xml b/struts2-archetype-blank/pom.xml
index 476bbfe..b017964 100644
--- a/struts2-archetype-blank/pom.xml
+++ b/struts2-archetype-blank/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts-archetypes</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-convention/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-convention/pom.xml b/struts2-archetype-convention/pom.xml
index 244fa0d..03230e3 100644
--- a/struts2-archetype-convention/pom.xml
+++ b/struts2-archetype-convention/pom.xml
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts-archetypes</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
index b7b715a..da94717 100644
--- a/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml
@@ -35,9 +35,9 @@
</dependency>
<dependency>
- <groupId>org.apache.struts</groupId>
- <artifactId>struts2-config-browser-plugin</artifactId>
- <version>\${struts2.version}</version>
+ <groupId>org.apache.struts</groupId>
+ <artifactId>struts2-config-browser-plugin</artifactId>
+ <version>\${struts2.version}</version>
</dependency>
<dependency>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-dbportlet/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-dbportlet/pom.xml b/struts2-archetype-dbportlet/pom.xml
index 96faf3f..7d2fe2f 100644
--- a/struts2-archetype-dbportlet/pom.xml
+++ b/struts2-archetype-dbportlet/pom.xml
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts-archetypes</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
index e1826d9..7bf5ab2 100644
--- a/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
@@ -1,38 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>\${artifactId}</name>
- <url>http://www.myComp.com</url>
- <description>Struts 2 Database Portlet</description>
+ <url>http://www.myComp.com</url>
+ <description>Struts 2 Database Portlet</description>
<properties>
<struts2.version>${project.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+ </properties>
- <dependencies>
+ <dependencies>
- <!-- Junit -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
+ <!-- Junit -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
- <!-- Struts 2 -->
- <dependency>
+ <!-- Struts 2 -->
+ <dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>\${struts2.version}</version>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-portlet-plugin</artifactId>
<version>\${struts2.version}</version>
@@ -49,11 +49,11 @@
<artifactId>struts2-spring-plugin</artifactId>
<version>\${struts2.version}</version>
</dependency>
-
+
<dependency>
- <groupId>org.apache.struts</groupId>
- <artifactId>struts2-config-browser-plugin</artifactId>
- <version>\${struts2.version}</version>
+ <groupId>org.apache.struts</groupId>
+ <artifactId>struts2-config-browser-plugin</artifactId>
+ <version>\${struts2.version}</version>
</dependency>
<!-- Spring -->
@@ -64,13 +64,13 @@
</dependency>
<!-- Database driver (change for your specific database) -->
- <dependency>
+ <dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>1.8.0.7</version>
</dependency>
- <!-- Servlet, Jsp, and Portlet API's -->
+ <!-- Servlet, Jsp, and Portlet API's -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
@@ -93,21 +93,21 @@
</dependency>
</dependencies>
-
+
<build>
- <finalName>${artifactId}</finalName>
- <plugins>
- <plugin>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <source>1.5</source>
+ <target>1.5</target>
</configuration>
</plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.21</version>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.1.21</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<scanTargets>
@@ -123,7 +123,7 @@
<version>2.0</version>
</dependency>
</dependencies>
- </plugin>
- </plugins>
+ </plugin>
+ </plugins>
</build>
</project>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-plugin/pom.xml b/struts2-archetype-plugin/pom.xml
index 1747c67..ced1574 100644
--- a/struts2-archetype-plugin/pom.xml
+++ b/struts2-archetype-plugin/pom.xml
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts-archetypes</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml
index 0f2209e..d3f78c6 100644
--- a/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml
@@ -30,7 +30,7 @@
<version>3.8.1</version>
<scope>test</scope>
</dependency>
-
+
</dependencies>
<build>
@@ -38,6 +38,6 @@
</build>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-portlet/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-portlet/pom.xml b/struts2-archetype-portlet/pom.xml
index 530a9ec..412f581 100644
--- a/struts2-archetype-portlet/pom.xml
+++ b/struts2-archetype-portlet/pom.xml
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts-archetypes</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
index e284dea..4fe82cf 100644
--- a/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
@@ -10,13 +10,13 @@
<name>${artifactId}</name>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<struts2.version>${project.version}</struts2.version>
- <portlet.api.version>2.0</portlet.api.version>
- <!-- plugins -->
- <plugin.compiler.version>3.0</plugin.compiler.version>
- <plugin.war.version>2.3</plugin.war.version>
- <plugin.pluto.version>2.0.3</plugin.pluto.version>
+ <portlet.api.version>2.0</portlet.api.version>
+ <!-- plugins -->
+ <plugin.compiler.version>3.0</plugin.compiler.version>
+ <plugin.war.version>2.3</plugin.war.version>
+ <plugin.pluto.version>2.0.3</plugin.pluto.version>
</properties>
<dependencies>
@@ -40,7 +40,7 @@
<version>${portlet.api.version}</version>
<scope>provided</scope>
</dependency>
-
+
</dependencies>
<build>
@@ -57,35 +57,35 @@
</plugins>
</build>
- <profiles>
- <profile>
- <id>pluto-embedded</id>
- <build>
- <plugins>
- <!-- configure maven-war-plugin to use updated web.xml -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>${plugin.war.version}</version>
- <configuration>
- <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
- </configuration>
- </plugin>
- <!-- bind 'pluto2:assemble' goal to 'generate-resources' lifecycle -->
- <plugin>
- <groupId>org.apache.portals.pluto</groupId>
- <artifactId>maven-pluto-plugin</artifactId>
- <version>${plugin.pluto.version}</version>
- <executions>
- <execution>
- <goals>
- <goal>assemble</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <profiles>
+ <profile>
+ <id>pluto-embedded</id>
+ <build>
+ <plugins>
+ <!-- configure maven-war-plugin to use updated web.xml -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>${plugin.war.version}</version>
+ <configuration>
+ <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
+ </configuration>
+ </plugin>
+ <!-- bind 'pluto2:assemble' goal to 'generate-resources' lifecycle -->
+ <plugin>
+ <groupId>org.apache.portals.pluto</groupId>
+ <artifactId>maven-pluto-plugin</artifactId>
+ <version>${plugin.pluto.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>assemble</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-starter/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-starter/pom.xml b/struts2-archetype-starter/pom.xml
index 5855e2f..6adc2a2 100644
--- a/struts2-archetype-starter/pom.xml
+++ b/struts2-archetype-starter/pom.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.struts</groupId>
<artifactId>struts-archetypes</artifactId>
http://git-wip-us.apache.org/repos/asf/struts-archetypes/blob/df51fa4e/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
----------------------------------------------------------------------
diff --git a/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml b/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
index b90f235..ec52441 100644
--- a/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
+++ b/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml
@@ -1,30 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
<groupId>\${groupId}</groupId>
<artifactId>\${artifactId}</artifactId>
<version>\${version}</version>
<packaging>war</packaging>
<name>\${artifactId}</name>
- <description>Struts 2 Starter</description>
+ <description>Struts 2 Starter</description>
<properties>
<struts2.version>${project.version}</struts2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
- <dependencies>
- <!-- Junit -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
+ <dependencies>
+ <!-- Junit -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
- <!-- Struts 2 -->
- <dependency>
+ <!-- Struts 2 -->
+ <dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>\${struts2.version}</version>
@@ -48,8 +48,8 @@
<version>\${struts2.version}</version>
</dependency>
- <!-- Servlet & Jsp -->
- <dependency>
+ <!-- Servlet & Jsp -->
+ <dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
@@ -64,32 +64,32 @@
</dependency>
- <!-- Jakarta Commons -->
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.3</version>
- </dependency>
+ <!-- Jakarta Commons -->
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ <version>1.3</version>
+ </dependency>
- <!-- Dwr -->
- <dependency>
- <groupId>uk.ltd.getahead</groupId>
- <artifactId>dwr</artifactId>
- <version>1.1-beta-3</version>
- </dependency>
+ <!-- Dwr -->
+ <dependency>
+ <groupId>uk.ltd.getahead</groupId>
+ <artifactId>dwr</artifactId>
+ <version>1.1-beta-3</version>
+ </dependency>
</dependencies>
<build>
- <finalName>${artifactId}</finalName>
- <plugins>
- <plugin>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <source>1.5</source>
+ <target>1.5</target>
</configuration>
</plugin>
- <plugin>
+ <plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.7.v20120910</version>
@@ -121,6 +121,6 @@
</dependency>
</dependencies>
</plugin>
- </plugins>
+ </plugins>
</build>
</project>