maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r413466 - in /maven/plugins/trunk/maven-release-plugin: pom.xml src/main/mdo/ src/main/mdo/release-descriptor.mdo
Date Sun, 11 Jun 2006 15:43:58 GMT
Author: jvanzyl
Date: Sun Jun 11 08:43:57 2006
New Revision: 413466

URL: http://svn.apache.org/viewvc?rev=413466&view=rev
Log:
MRELEASE-130: Adding the start of a model for Jeremy to work with. Start of creating a model
that Continuum (or other third party release tools) can
              use to perform release consistently.

Added:
    maven/plugins/trunk/maven-release-plugin/src/main/mdo/
    maven/plugins/trunk/maven-release-plugin/src/main/mdo/release-descriptor.mdo
Modified:
    maven/plugins/trunk/maven-release-plugin/pom.xml

Modified: maven/plugins/trunk/maven-release-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-release-plugin/pom.xml?rev=413466&r1=413465&r2=413466&view=diff
==============================================================================
--- maven/plugins/trunk/maven-release-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-release-plugin/pom.xml Sun Jun 11 08:43:57 2006
@@ -27,6 +27,23 @@
           </excludes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.modello</groupId>
+        <artifactId>modello-maven-plugin</artifactId>
+        <version>1.0-alpha-5</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>java</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <version>1.0.0</version>
+          <packageWithVersion>false</packageWithVersion>
+          <model>src/main/mdo/release-model.mdo</model>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <dependencies>

Added: maven/plugins/trunk/maven-release-plugin/src/main/mdo/release-descriptor.mdo
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-release-plugin/src/main/mdo/release-descriptor.mdo?rev=413466&view=auto
==============================================================================
--- maven/plugins/trunk/maven-release-plugin/src/main/mdo/release-descriptor.mdo (added)
+++ maven/plugins/trunk/maven-release-plugin/src/main/mdo/release-descriptor.mdo Sun Jun 11
08:43:57 2006
@@ -0,0 +1,82 @@
+<model>
+  <id>release-descriptor</id>
+  <name>Release Descriptor</name>
+  <description>
+    A release descriptor contains everything that is needed to perform a
+    release. A release descriptor can be used by third party systems like
+    Continuum to perform releases in a consistent way. The release model could also
+    be deployed to the repository manager so that new releases can be announced easily
+    and automatically.
+  </description>
+  <defaults>
+    <default>
+      <key>package</key>
+      <value>org.apache.maven.plugins.release.model</value>
+    </default>
+  </defaults>
+  <classes>
+    <class rootElement="true">
+      <name>Release</name>
+      <version>1.0.0+</version>
+      <fields>
+        <field>
+          <name>id</name>
+          <version>1.0.0</version>
+          <type>int</type>
+          <identifier>true</identifier>
+          <description>
+            The id of this release to
+          </description>
+        </field>
+        <field>
+          <name>name</name>
+          <version>1.0.0</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>description</name>
+          <version>1.0.0</version>
+          <type>String</type>
+        </field>
+        <!-- SCM Information -->
+        <field>
+          <name>scmSource</name>
+          <version>1.0.0</version>
+          <type>String</type>
+          <description>
+            This is a MavenSCM of where you're going to get the sources to make the release
with.
+            Example: scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin
+          </description>
+        </field>
+        <field>
+          <name>scmTargetBase</name>
+          <version>1.0.0</version>
+          <type>String</type>
+          <description>
+            scm tag base: where you are going to put your tagged sources
+            Example https\://svn.apache.org/repos/asf/maven/plugins/tags
+          </description>
+        </field>
+        <field>
+          <name>targetIdentifier</name>
+          <version>1.0.0</version>
+          <type>String</type>
+          <description>
+            tag name: the identifier for the tag.
+            Example: maven-release-plugin-2.0
+          </description>
+        </field>
+        <!-- Announcement Information
+
+        Announcement related info, this can be a second part of the process.
+
+        o anything that might be of interest in the release
+          o issue management urls
+          o new content
+          o announcement text
+
+        -->
+      </fields>
+    </class>
+  </classes>
+</model>



Mime
View raw message