Addes a license
[hibernate4-maven-plugin] / pom.xml
diff --git a/pom.xml b/pom.xml
index 4879583..f53136f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,6 +3,12 @@
 
   <modelVersion>4.0.0</modelVersion>
 
+  <parent>
+    <groupId>org.sonatype.oss</groupId>
+    <artifactId>oss-parent</artifactId>
+    <version>7</version>
+  </parent>
+
   <groupId>de.juplo</groupId>
   <artifactId>hibernate4-maven-plugin</artifactId>
   <name>Hibernate 4 Maven Plugin</name>
     <maven>2.0.6</maven>
   </prerequisites>
 
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+      <comments>A business-friendly OSS license</comments>
+    </license>
+  </licenses>
+
   <scm>
     <connection>scm:git:http://juplo.de/git/hibernate4-maven-plugin</connection>
     <developerConnection>scm:git:ssh://juplo.de:/var/cache/git/juplo/hibernate4-maven-plugin</developerConnection>
     </dependency>
   </dependencies>
 
-  <distributionManagement>
-    <repository>
-      <id>juplo.internal</id>
-      <name>Internal Release Repository</name>
-      <url>http://juplo.de/archiva/repository/internal/</url>
-    </repository>
-    <snapshotRepository>
-      <id>juplo.snapshots</id>
-      <name>Internal Snapshot Repository</name>
-      <url>http://juplo.de/archiva/repository/snapshots/</url>
-    </snapshotRepository>
-  </distributionManagement>
-
   <build>
     <plugins>
       <plugin>