~ubuntu-branches/ubuntu/quantal/maven-enforcer/quantal

« back to all changes in this revision

Viewing changes to enforcer-rules/src/test/resources/requirePluginVersions/checkPluginPropertyVersion/pom.xml

  • Committer: Bazaar Package Importer
  • Author(s): Gabriele Giacone
  • Date: 2010-03-01 02:28:06 UTC
  • Revision ID: james.westby@ubuntu.com-20100301022806-b6rx5ndd26peklkr
Tags: upstream-1.0~beta2
ImportĀ upstreamĀ versionĀ 1.0~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<project>
 
2
    <modelVersion>4.0.0</modelVersion>
 
3
    <artifactId>a</artifactId>
 
4
    <groupId>group</groupId>
 
5
    <version>1.0</version>
 
6
    <properties>
 
7
        <my.version>2.2-SNAPSHOT</my.version>
 
8
        <my.release>RELEASE</my.release>
 
9
        <my.latest>LATEST</my.latest>
 
10
        <my.snap>SNAPSHOT</my.snap>
 
11
    </properties>
 
12
    <build>
 
13
        <plugins>
 
14
            <plugin>
 
15
                <groupId>org.apache.maven.plugins</groupId>
 
16
                <artifactId>maven-install-plugin</artifactId>
 
17
                <version>${my.latest}</version>
 
18
            </plugin>
 
19
            <plugin>
 
20
                <groupId>org.apache.maven.plugins</groupId>
 
21
                <artifactId>maven-clean-plugin</artifactId>
 
22
                <version>${my.release}</version>
 
23
            </plugin>
 
24
            <plugin>
 
25
                <groupId>org.apache.maven.plugins</groupId>
 
26
                <artifactId>maven-jar-plugin</artifactId>
 
27
                <version>${my.version}</version>
 
28
            </plugin>
 
29
            <plugin>
 
30
                <groupId>org.apache.maven.plugins</groupId>
 
31
                <artifactId>maven-enforcer-plugin</artifactId>
 
32
                <version>1.0-${my.snap}</version>
 
33
                <executions>
 
34
                    <execution>
 
35
                        <goals>
 
36
                            <goal>enforce</goal>
 
37
                        </goals>
 
38
                        <configuration>
 
39
                            <rules>
 
40
                                <requirePluginVersions>
 
41
                                    <additionalPlugins>
 
42
                                        <additionalPlugin>org.apache.maven.plugins:maven-enforcer-plugin</additionalPlugin>
 
43
 
 
44
                                    </additionalPlugins>
 
45
                                </requirePluginVersions>
 
46
                            </rules>
 
47
                        </configuration>
 
48
                    </execution>
 
49
                </executions>
 
50
            </plugin>
 
51
        </plugins>
 
52
    </build>
 
53
</project>
 
 
b'\\ No newline at end of file'