You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by si...@apache.org on 2013/01/08 17:30:12 UTC

svn commit: r1430365 - /incubator/onami/trunk/parent/pom.xml

Author: simonetripodi
Date: Tue Jan  8 16:30:11 2013
New Revision: 1430365

URL: http://svn.apache.org/viewvc?rev=1430365&view=rev
Log:
[ONAMI-42] Allow parent to publish DOAP descriptors for all components

maven-doap-plugin added in the <pluginManagement /> section due to:
 * <shortdesc /> can cause plugin failing, since ${project.description} can be longer than just 10 words;
 * when puglishing the site, it would be helpful publishing the parent doap, rather than the site doap 

Modified:
    incubator/onami/trunk/parent/pom.xml

Modified: incubator/onami/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/parent/pom.xml?rev=1430365&r1=1430364&r2=1430365&view=diff
==============================================================================
--- incubator/onami/trunk/parent/pom.xml (original)
+++ incubator/onami/trunk/parent/pom.xml Tue Jan  8 16:30:11 2013
@@ -425,6 +425,35 @@
             <tryUpdate>true</tryUpdate>
           </configuration>
         </plugin>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-doap-plugin</artifactId>
+          <version>1.1</version>
+          <executions>
+            <execution>
+              <id>site</id>
+              <phase>site</phase>
+              <goals>
+                <goal>generate</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <doapFile>doap.rdf</doapFile>
+            <doapOptions>
+              <created>${project.inceptionYear}-11-14</created>
+            </doapOptions>
+            <asfExtOptions>
+              <charter>${project.description}</charter>
+              <!--
+               | 'chair' parameter is required
+               | putting Mentors ATM just to let the plugin fail
+              -->
+              <chair>Christian Grobmeier, Mohammad Nour El-Din, Olivier Lamy</chair>
+            </asfExtOptions>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -629,29 +658,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-doap-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-          <execution>
-            <id>site</id>
-            <phase>site</phase>
-            <goals>
-              <goal>generate</goal>
-            </goals>
-          </execution>
-        </executions>
         <configuration>
-          <doapFile>doap.rdf</doapFile>
           <doapOptions>
-            <created>${project.inceptionYear}-11-14</created>
+            <shortdesc>Apache Onami is a project focused on Google Guice extensions.</shortdesc>
           </doapOptions>
-          <asfExtOptions>
-            <charter>${project.description}</charter>
-            <!--
-             | 'chair' parameter is required
-             | putting Mentors ATM just to let the plugin fail
-            -->
-            <chair>Christian Grobmeier, Mohammad Nour El-Din, Olivier Lamy</chair>
-          </asfExtOptions>
         </configuration>
       </plugin>
     </plugins>