Versions missing in dspace/pom.xml

maven打包的时候会出现 依赖项缺失的问题,详见:http://jira.dspace.org/jira/browse/DS-517

 

Index: pom.xml
===================================================================
--- pom.xml	(revision 3770)
+++ pom.xml	(working copy)
@@ -139,7 +139,7 @@
                               <descriptorRef>src-release</descriptorRef>
                            </descriptorRefs>
                            <tarLongFileMode>gnu</tarLongFileMode>
-                           <finalName>dspace-${pom.version}</finalName>
+                           <finalName>dspace-${project.version}</finalName>
                         </configuration>
                         <phase>package</phase>
                         <goals>
@@ -759,6 +759,7 @@
       <plugins>
          <plugin>
             <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.6.1</version>
             <configuration>
                <links>
                   <link>http://projects.dspace.org/dspace/apidocs</link>
@@ -801,10 +802,12 @@
             <artifactId>maven-jxr-plugin</artifactId>
             <configuration>
                <aggregate>true</aggregate>
+               <version>2.1</version>
             </configuration>
          </plugin>
          <plugin>
             <artifactId>maven-site-plugin</artifactId>
+            <version>2.1</version>
          </plugin>
          <plugin>
             <groupId>org.codehaus.mojo</groupId>

你可能感兴趣的:(Versions missing in dspace/pom.xml)