struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject struts git commit: Upgrades to master-10 and cleans up plugins
Date Tue, 13 Oct 2015 04:54:55 GMT
Repository: struts
Updated Branches:
  refs/heads/master da6b03a0a -> 9c5c568fc


Upgrades to master-10 and cleans up plugins


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9c5c568f
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9c5c568f
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9c5c568f

Branch: refs/heads/master
Commit: 9c5c568fc5544bb26e7fffcd5a8dbc81dab4cf6a
Parents: da6b03a
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Tue Oct 13 06:53:25 2015 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Tue Oct 13 06:54:12 2015 +0200

----------------------------------------------------------------------
 pom.xml | 129 ++++++++++++++++++-----------------------------------------
 1 file changed, 40 insertions(+), 89 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/9c5c568f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 678e5b1..16bf852 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.apache.struts</groupId>
         <artifactId>struts-master</artifactId>
-        <version>9</version>
+        <version>10</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
@@ -111,39 +111,55 @@
                 <module>assembly</module>
             </modules>
         </profile>
+<!--
+        TODO: A lot of files is missing the license header :(
         <profile>
-            <id>struts-annotations</id>
-            <modules>
-                <module>../maven/struts-annotations</module>
-            </modules>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                                <configuration>
+                                    <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
+                                    <useIdeaDefaultExcludes>true</useIdeaDefaultExcludes>
+                                    <useDefaultExcludes>true</useDefaultExcludes>
+                                    <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
+                                    <licenseMatchers>
+                                        <classNames>
+                                            <className>org.apache.rat.analysis.license.ApacheSoftwareLicense20</className>
+                                        </classNames>
+                                    </licenseMatchers>
+                                    <includes>
+                                        <include>pom.xml</include>
+                                        <include>src/**</include>
+                                    </includes>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
+-->
     </profiles>
 
-
     <build>
         <pluginManagement>
             <plugins>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-release-plugin</artifactId>
-                    <version>2.5</version>
-                </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-site-plugin</artifactId>
-                    <version>3.3</version>
-                </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-project-info-reports-plugin</artifactId>
-                    <version>2.6</version>
-                </plugin>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>rat-maven-plugin</artifactId>
-                    <version>1.0-alpha-2</version>
+                    <version>2.7</version>
                 </plugin>
                 <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
                     <configuration>
                         <source>1.7</source>
@@ -181,7 +197,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-release-plugin</artifactId>
-                <version>2.5</version>
             </plugin>
             <plugin>
                 <artifactId>maven-jar-plugin</artifactId>
@@ -204,33 +219,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <!--
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>rat-maven-plugin</artifactId>
-                <version>1.0-alpha-2</version>
-                <executions>
-                    <execution>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                        <configuration>
-                            <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers>
-                            <licenseMatchers>
-                                <classNames>
-                                    <className>rat.analysis.license.ApacheSoftwareLicense20</className>
-                                </classNames>
-                            </licenseMatchers>
-                            <includes>
-                                <include>pom.xml</include>
-                                <include>src/**</include>
-                            </includes>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-source-plugin</artifactId>
@@ -243,43 +231,9 @@
                     </execution>
                 </executions>
             </plugin>
-            <!-- Commenting out the license plugin, until it works like we want.
-            To use the "license:format" goal, remove the "core" module before running,
-            otherwise it will ignore the file exclusions.
-
-            <plugin>
-	            <groupId>com.google.code.maven-license-plugin</groupId>
-	            <artifactId>maven-license-plugin</artifactId>
-	            <version>1.2.7-SNAPSHOT</version>
-	            <configuration>
-	            	<header>src/etc/header.txt</header>
-	            	<includes>
-	            		<include>pom.xml</include>
-	            		<include>src/**</include>
-	            		<include>core/pom.xml</include>
-	            		<include>core/src/**</include>
-	            		<include>plugins/**/pom.xml</include>
-	            		<include>plugins/**/src/**</include>
-	            		<include>apps/**/pom.xml</include>
-	            	</includes>
-	            	<excludes>
-	            		<exclude>**/*.txt</exclude>
-                        <exclude>core/src/test/resources/org/apache/struts2/views/jsp/ui/*</exclude>
-                        <exclude>core/src/main/resources/org/apache/struts2/static/domTT.js</exclude>
-                        <exclude>core/src/test/resources/org/apache/struts2/interceptor/validation/*</exclude>
-                        <exclude>core/src/site/resources/tags/**</exclude>
-                        <exclude>plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/nls/**</exclude>
-                        <exclude>plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/**</exclude>
-                        <exclude>plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/*</exclude>
-                        <exclude>plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/**</exclude>
-	                    <exclude>apps/**/src/**</exclude>
-	            	</excludes>
-	            </configuration>
-	        </plugin> -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-scm-publish-plugin</artifactId>
-                <version>1.0-beta-2</version>
                 <configuration>
                     <checkoutDirectory>${scmCheckout.path}</checkoutDirectory>
                     <content>${siteContent.path}</content>
@@ -288,7 +242,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
-                <version>3.3</version>
                 <configuration>
                     <stagingSiteURL>${siteDeploy.url}</stagingSiteURL>
                     <relativizeDecorationLinks>false</relativizeDecorationLinks>
@@ -312,12 +265,10 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-project-info-reports-plugin</artifactId>
-                <version>2.7</version>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.9</version>
                 <reportSets>
                     <reportSet>
                         <reports>
@@ -327,8 +278,8 @@
                 </reportSets>
             </plugin>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>rat-maven-plugin</artifactId>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
                 <configuration>
                     <includes>
                         <include>pom.xml</include>


Mime
View raw message