[hibernate-commits] Hibernate SVN: r16784 - search/trunk.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Jun 15 05:38:05 EDT 2009


Author: hardy.ferentschik
Date: 2009-06-15 05:38:05 -0400 (Mon, 15 Jun 2009)
New Revision: 16784

Modified:
   search/trunk/pom.xml
Log:
Added distribution management section to be able to deploy snapshots.
Explicitly configured the maven-source-plugin

Modified: search/trunk/pom.xml
===================================================================
--- search/trunk/pom.xml	2009-06-14 22:23:14 UTC (rev 16783)
+++ search/trunk/pom.xml	2009-06-15 09:38:05 UTC (rev 16784)
@@ -222,6 +222,20 @@
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>2.1</version>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <configuration>
                     <stylesheetfile>${basedir}/src/main/javadoc/jdstyle.css</stylesheetfile>
@@ -265,6 +279,21 @@
             </testResource>
         </testResources>
     </build>
+    
+    <distributionManagement>
+        <repository>
+            <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+            <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+            <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+            <id>repository.jboss.org</id>
+            <url>file://${maven.repository.root}</url>
+        </repository>
+        <snapshotRepository>
+            <id>snapshots.jboss.org</id>
+            <name>JBoss Snapshot Repository</name>
+            <url>dav:https://snapshots.jboss.org/maven2</url>
+        </snapshotRepository>
+    </distributionManagement>    
 
     <profiles>
         <!-- =============================== -->




More information about the hibernate-commits mailing list