~hudson-ubuntu/+junk/sezpoz

« back to all changes in this revision

Viewing changes to sezpoz/pom.xml

  • Committer: James Page
  • Date: 2010-11-24 13:57:41 UTC
  • Revision ID: james.page@canonical.com-20101124135741-8ntgqh7ltywqy3x2
InitialĀ releaseĀ 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<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/maven-v4_0_0.xsd">
 
3
    <parent>
 
4
        <groupId>net.java.sezpoz</groupId>
 
5
        <artifactId>pom</artifactId>
 
6
        <version>1.8</version>
 
7
    </parent>
 
8
    <modelVersion>4.0.0</modelVersion>
 
9
    <artifactId>sezpoz</artifactId>
 
10
    <packaging>jar</packaging>
 
11
    <version>1.8</version>
 
12
    <name>SezPoz Library</name>
 
13
    <profiles>
 
14
        <profile>
 
15
            <id>default-tools.jar</id>
 
16
            <activation>
 
17
                <property>
 
18
                    <name>java.vendor</name>
 
19
                    <value>Sun Microsystems Inc.</value>
 
20
                </property>
 
21
            </activation>
 
22
            <dependencies>
 
23
                <dependency>
 
24
                    <groupId>sun.jdk</groupId>
 
25
                    <artifactId>tools</artifactId>
 
26
                    <version>1.5.0</version>
 
27
                    <scope>system</scope>
 
28
                    <systemPath>${java.home}/../lib/tools.jar</systemPath>
 
29
                    <optional>true</optional>
 
30
                </dependency>
 
31
            </dependencies>
 
32
        </profile>
 
33
    </profiles>
 
34
    <dependencies>
 
35
        <dependency>
 
36
            <groupId>junit</groupId>
 
37
            <artifactId>junit</artifactId>
 
38
            <version>4.8.1</version>
 
39
            <scope>test</scope>
 
40
        </dependency>
 
41
    </dependencies>
 
42
    <build>
 
43
        <plugins>
 
44
            <plugin>
 
45
                <groupId>org.apache.maven.plugins</groupId>
 
46
                <artifactId>maven-compiler-plugin</artifactId>
 
47
                <configuration>
 
48
                    <compilerArgument>-proc:none</compilerArgument>
 
49
                </configuration>
 
50
            </plugin>
 
51
            <plugin>
 
52
                <groupId>org.apache.maven.plugins</groupId>
 
53
                <artifactId>maven-surefire-plugin</artifactId>
 
54
                <configuration>
 
55
                    <excludes>
 
56
                        <exclude>**/TestUtils.java</exclude>
 
57
                    </excludes>
 
58
                    <forkMode>pertest</forkMode>
 
59
                    <!-- XXX addition of tools.jar is not automatic from above declaration - why? -->
 
60
                    <argLine>-ea -Xbootclasspath/a:${java.home}/../lib/tools.jar</argLine>
 
61
                </configuration>
 
62
            </plugin>
 
63
        </plugins>
 
64
    </build>
 
65
    <reporting>
 
66
        <plugins>
 
67
            <plugin>
 
68
                <groupId>org.apache.maven.plugins</groupId>
 
69
                <artifactId>maven-javadoc-plugin</artifactId>
 
70
                <configuration>
 
71
                    <excludePackageNames>*.impl</excludePackageNames>
 
72
                    <links>
 
73
                        <link>http://java.sun.com/javase/6/docs/api/</link>
 
74
                    </links>
 
75
                </configuration>
 
76
            </plugin>
 
77
        </plugins>
 
78
    </reporting>
 
79
</project>