geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lin...@apache.org
Subject svn commit: r689339 - /geronimo/server/trunk/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/PluginMetadataGeneratorMojo.java
Date Wed, 27 Aug 2008 02:37:50 GMT
Author: linsun
Date: Tue Aug 26 19:37:50 2008
New Revision: 689339

URL: http://svn.apache.org/viewvc?rev=689339&view=rev
Log:
part of GERONIMO-4265 - support the pluginGroup property in c-m-p

Modified:
    geronimo/server/trunk/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/PluginMetadataGeneratorMojo.java

Modified: geronimo/server/trunk/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/PluginMetadataGeneratorMojo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/PluginMetadataGeneratorMojo.java?rev=689339&r1=689338&r2=689339&view=diff
==============================================================================
--- geronimo/server/trunk/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/PluginMetadataGeneratorMojo.java
(original)
+++ geronimo/server/trunk/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/PluginMetadataGeneratorMojo.java
Tue Aug 26 19:37:50 2008
@@ -105,6 +105,13 @@
      * @parameter
      */
     private String category;
+    
+    /**
+     * Whether the geronimo plugin is a geronimo plugin group.
+     *
+     * @parameter
+     */
+    private boolean pluginGroup;
 
     /**
      * Dependencies explicitly listed in the car-maven-plugin configuration
@@ -143,6 +150,7 @@
             metadata.setUrl(project.getOrganization() == null? "unknown": project.getOrganization().getUrl());
             metadata.setDescription(project.getDescription());
             metadata.setCategory(category);
+            metadata.setPluginGroup(pluginGroup);
 
             if (project.getLicenses() != null) {
                 for (Object licenseObj : project.getLicenses()) {



Mime
View raw message