Repository: incubator-streams
Updated Branches:
  refs/heads/STREAMS-74 [created] 067fdb5f1


Added license-maven-plugin, made it run automatically


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/13f1fdca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/13f1fdca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/13f1fdca

Branch: refs/heads/STREAMS-74
Commit: 13f1fdca72b80b3a1fe5212ff9f8e6f0f480e11d
Parents: aa376fd
Author: sblackmon <[email protected]>
Authored: Mon May 19 12:48:47 2014 -0500
Committer: sblackmon <[email protected]>
Committed: Mon May 19 12:48:47 2014 -0500

----------------------------------------------------------------------
 pom.xml               | 32 ++++++++++++++++++++++++++++++++
 poms/wrappers/pom.xml |  2 +-
 2 files changed, 33 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/13f1fdca/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 78f5d6f..633c1c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,11 @@
 
     <description>Apache Streams Project</description>
 
+    <organization>
+        <name>Apache Streams Project</name>
+    </organization>
+    <inceptionYear>2013</inceptionYear>
+
     <repositories>
         <repository>
             <id>apache.snapshots</id>
@@ -87,6 +92,7 @@
         <netty.version>3.8.0.Final</netty.version>
         <json-path.version>0.9.1</json-path.version>
         <build-helper.version>1.8</build-helper.version>
+        <license.version>1.7</license.version>
     </properties>
 
     <modules>
@@ -128,6 +134,27 @@
                 <executions>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>license-maven-plugin</artifactId>
+                <configuration>
+                    <projectName>${project.name}</projectName>
+                    <inceptionYear>${project.inceptionYear}</inceptionYear>
+                    
<organizationName>${project.organization.name}</organizationName>
+                    <licenseName>apache_v2</licenseName>
+                </configuration>
+                <inherited>true</inherited>
+                <executions>
+                    <execution>
+                        <id>first</id>
+                        <goals>
+                            <goal>check-file-header</goal>
+                        </goals>
+                        <phase>process-sources</phase>
+                        <inherited>true</inherited>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
         <pluginManagement>
             <plugins>
@@ -146,6 +173,11 @@
                     <artifactId>build-helper-maven-plugin</artifactId>
                     <version>${build-helper.version}</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>license-maven-plugin</artifactId>
+                    <version>${license.version}</version>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/13f1fdca/poms/wrappers/pom.xml
----------------------------------------------------------------------
diff --git a/poms/wrappers/pom.xml b/poms/wrappers/pom.xml
index 5c83d59..9658bf9 100644
--- a/poms/wrappers/pom.xml
+++ b/poms/wrappers/pom.xml
@@ -35,7 +35,7 @@
   <!--
    | don't apply project details to wrapped jars
   -->
-  <organization/>
+  <!--<organization/>-->
   <description>
     Simple OSGi wrapper around third-party jar(s)
   </description>

Reply via email to