You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/09/04 21:02:45 UTC
svn commit: r692192 - in /maven/enforcer/trunk/enforcer-api: pom.xml
src/custom-rule-sample/pom.xml src/custom-rule-sample/usage-pom.xml
src/main/assembly/ src/main/assembly/custom-rule-sample.xml
src/site/apt/writing-a-custom-rule.apt src/site/resources/
Author: brianf
Date: Thu Sep 4 12:02:44 2008
New Revision: 692192
URL: http://svn.apache.org/viewvc?rev=692192&view=rev
Log:
update the sample and make the zip generated during the site build
Added:
maven/enforcer/trunk/enforcer-api/src/main/assembly/
maven/enforcer/trunk/enforcer-api/src/main/assembly/custom-rule-sample.xml
Removed:
maven/enforcer/trunk/enforcer-api/src/site/resources/
Modified:
maven/enforcer/trunk/enforcer-api/pom.xml
maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/pom.xml
maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/usage-pom.xml
maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt
Modified: maven/enforcer/trunk/enforcer-api/pom.xml
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-api/pom.xml?rev=692192&r1=692191&r2=692192&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-api/pom.xml (original)
+++ maven/enforcer/trunk/enforcer-api/pom.xml Thu Sep 4 12:02:44 2008
@@ -52,6 +52,28 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <executions>
+ <execution>
+ <id>custom-rule</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>custom-rule</finalName>
+ <outputDirectory>target/site</outputDirectory>
+ <descriptors>
+ <descriptor>src/main/assembly/custom-rule-sample.xml</descriptor>
+ </descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
Modified: maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/pom.xml
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/pom.xml?rev=692192&r1=692191&r2=692192&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/pom.xml (original)
+++ maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/pom.xml Thu Sep 4 12:02:44 2008
@@ -8,8 +8,8 @@
<name>My Custom Rule</name>
<description>This is my custom rule.</description>
<properties>
- <api.version>1.0-SNAPSHOT</api.version>
- <maven.version>2.0.6</maven.version>
+ <api.version>1.0-alpha-4</api.version>
+ <maven.version>2.0.9</maven.version>
</properties>
<build>
</build>
Modified: maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/usage-pom.xml
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/usage-pom.xml?rev=692192&r1=692191&r2=692192&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/usage-pom.xml (original)
+++ maven/enforcer/trunk/enforcer-api/src/custom-rule-sample/usage-pom.xml Thu Sep 4 12:02:44 2008
@@ -9,7 +9,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-4</version>
<dependencies>
<dependency>
<groupId>custom-rule</groupId>
Added: maven/enforcer/trunk/enforcer-api/src/main/assembly/custom-rule-sample.xml
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-api/src/main/assembly/custom-rule-sample.xml?rev=692192&view=auto
==============================================================================
--- maven/enforcer/trunk/enforcer-api/src/main/assembly/custom-rule-sample.xml (added)
+++ maven/enforcer/trunk/enforcer-api/src/main/assembly/custom-rule-sample.xml Thu Sep 4 12:02:44 2008
@@ -0,0 +1,13 @@
+<assembly>
+ <id>sample</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>src/custom-rule-sample</directory>
+ <outputDirectory>/custom-rule-sample</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file
Modified: maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt?rev=692192&r1=692191&r2=692192&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt (original)
+++ maven/enforcer/trunk/enforcer-api/src/site/apt/writing-a-custom-rule.apt Thu Sep 4 12:02:44 2008
@@ -43,8 +43,8 @@
<name>My Custom Rule</name>
<description>This is my custom rule.</description>
<properties>
- <api.version>1.0-SNAPSHOT</api.version>
- <maven.version>2.0.6</maven.version>
+ <api.version>1.0-alpha-4</api.version>
+ <maven.version>2.0.9</maven.version>
</properties>
<build>
</build>
@@ -253,7 +253,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0</version>
+ <version>1.0-alpha-4</version>
<dependencies>
<dependency>
<groupId>custom-rule</groupId>