diff options
author | Julien Eluard <[email protected]> | 2010-11-15 23:50:18 +0100 |
---|---|---|
committer | Julien Eluard <[email protected]> | 2010-11-15 23:50:18 +0100 |
commit | 34295d66b1c225036404f6904b69a657bcfa9652 (patch) | |
tree | ee78ad82006be3e78555ea427568889bfcad45de /enforcer-rule | |
parent | 5d31c40323d980fc394ee8caf505241e74bd37e5 (diff) |
Cleanup.
Diffstat (limited to 'enforcer-rule')
-rw-r--r-- | enforcer-rule/pom.xml | 112 | ||||
-rw-r--r-- | enforcer-rule/src/site/apt/examples/checking-version.apt.vm | 2 | ||||
-rw-r--r-- | enforcer-rule/src/site/apt/usage.apt.vm | 4 |
3 files changed, 56 insertions, 62 deletions
diff --git a/enforcer-rule/pom.xml b/enforcer-rule/pom.xml index c6c6765..8b8761d 100644 --- a/enforcer-rule/pom.xml +++ b/enforcer-rule/pom.xml @@ -1,74 +1,68 @@ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <artifactId>enforcer-rule</artifactId> - <packaging>jar</packaging> + <artifactId>enforcer-rule</artifactId> + <packaging>jar</packaging> - <name>Enforcer Rule</name> + <name>Enforcer Rule</name> - <parent> - <groupId>org.semver</groupId> - <artifactId>parent</artifactId> - <version>0.9-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> + <parent> + <groupId>org.semver</groupId> + <artifactId>parent</artifactId> + <version>0.9-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> - <properties> - <api.version>1.0-beta-1</api.version> - <maven.version>2.0.9</maven.version> - <gh-pages-dir>${project.basedir}/../../semantic-versioning-gh-pages</gh-pages-dir> - </properties> + <properties> + <api.version>1.0-beta-1</api.version> + <maven.version>2.0.9</maven.version> + <gh-pages-dir>${project.basedir}/../../semantic-versioning-gh-pages</gh-pages-dir> + </properties> - <dependencies> - <dependency> - <groupId>org.semantic-versioning</groupId> - <artifactId>api</artifactId> - <version>0.9-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>org.apache.maven.enforcer</groupId> - <artifactId>enforcer-api</artifactId> - <version>${api.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-project</artifactId> - <version>${maven.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-core</artifactId> - <version>${maven.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-artifact</artifactId> - <version>${maven.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>${maven.version}</version> - </dependency> - <dependency> - <groupId>com.google.code.findbugs</groupId> - <artifactId>jsr305</artifactId> - <version>1.3.9</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.8.2</version> - <scope>test</scope> - </dependency> - </dependencies> + <dependencies> + <dependency> + <groupId>org.semantic-versioning</groupId> + <artifactId>api</artifactId> + <version>0.9-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>org.apache.maven.enforcer</groupId> + <artifactId>enforcer-api</artifactId> + <version>${api.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-project</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-artifact</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.2</version> + <scope>test</scope> + </dependency> + </dependencies> <build> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> diff --git a/enforcer-rule/src/site/apt/examples/checking-version.apt.vm b/enforcer-rule/src/site/apt/examples/checking-version.apt.vm index f86c745..5e92ceb 100644 --- a/enforcer-rule/src/site/apt/examples/checking-version.apt.vm +++ b/enforcer-rule/src/site/apt/examples/checking-version.apt.vm @@ -248,4 +248,4 @@ Checking a project's version against older releases </build> ... </project> ----
\ No newline at end of file +--- diff --git a/enforcer-rule/src/site/apt/usage.apt.vm b/enforcer-rule/src/site/apt/usage.apt.vm index 8bc37ae..a3caafe 100644 --- a/enforcer-rule/src/site/apt/usage.apt.vm +++ b/enforcer-rule/src/site/apt/usage.apt.vm @@ -58,11 +58,11 @@ Usage </goals> <configuration> <rules> - <checkVersionRule implementation="org.semver.enforcer.CheckVersionnRule"> + <checkVersionRule implementation="org.semver.enforcer.CheckVersionRule"> ... <previousVersion>1.0.0</previousVersion> ... - </checkVersionrule> + </checkVersionRule> </rules> </configuration> </execution> |