Statistics
| Revision:

root / trunk / org.gvsig.gpe.xml / pom.xml @ 278

History | View | Annotate | Download (3.37 KB)

1 11 jpiera
<?xml version="1.0" encoding="UTF-8"?>
2
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6
        <modelVersion>4.0.0</modelVersion>
7
        <groupId>org.gvsig</groupId>
8
        <artifactId>org.gvsig.gpe.xml</artifactId>
9
        <packaging>jar</packaging>
10 82 jpiera
        <version>2.0.2</version>
11 22 jpiera
        <name>org.gvsig.gpe.xml</name>
12 11 jpiera
        <url>http://gvsig.org</url>
13
        <parent>
14
                <groupId>org.gvsig</groupId>
15 70 csanchez
                <artifactId>gpe-base-library-pom</artifactId>
16
                <version>2.0.1</version>
17 11 jpiera
        </parent>
18
        <properties>
19 70 csanchez
                                <build-dir>${basedir}/../build</build-dir>
20 11 jpiera
        </properties>
21 70 csanchez
        <dependencies>
22
                        <dependency>
23
                                <groupId>net.sf.kxml</groupId>
24
                                <artifactId>kxml2</artifactId>
25
                        </dependency>
26
        </dependencies>
27 11 jpiera
        <build>
28
                <resources>
29
                        <resource>
30
                                <directory>resources</directory>
31
                        </resource>
32
                </resources>
33
                <plugins>
34
                        <plugin>
35
                                <groupId>org.apache.maven.plugins</groupId>
36
                                <artifactId>maven-compiler-plugin</artifactId>
37
                                <configuration>
38
                                        <source>1.4</source>
39
                                        <target>1.4</target>
40
                                </configuration>
41
                        </plugin>
42
                </plugins>
43
        </build>
44 70 csanchez
        <profiles>
45
            <profile>
46
                    <id>cdc</id>
47
                    <dependencies>
48
                                <dependency>
49
                                        <groupId>org.gvsig</groupId>
50
                                        <artifactId>org.gvsig.gpe</artifactId>
51 82 jpiera
                                        <version>2.0.2</version>
52 70 csanchez
                                </dependency>
53
                                <dependency>
54
                                                <groupId>stax</groupId>
55
                                                <artifactId>stax-api</artifactId>
56
                                        </dependency>
57
                    </dependencies>
58
                    <build>
59
                            <plugins>
60
                                        <plugin>
61
                                                <groupId>org.apache.maven.plugins</groupId>
62
                                                <artifactId>maven-compiler-plugin</artifactId>
63
                                                <configuration>
64
                                                        <excludes>
65
                                                                <exclude>**/stax/**</exclude>
66
                                                        </excludes>
67
                                                        <testExcludes>
68
                                                                <exclude>**/stax/**</exclude>
69
                                                        </testExcludes>
70
                                                </configuration>
71
                                        </plugin>
72
                                        <plugin>
73
                                                <groupId>org.apache.maven.plugins</groupId>
74
                                                <artifactId>maven-jar-plugin</artifactId>
75
                                                <configuration>
76
                                                        <excludes>
77
                                                                <exclude>**/stax/**</exclude>
78
                                                        </excludes>
79
                                                </configuration>
80
                                                <executions>
81
                                                        <!--
82
                                                        Generates a jar file only with the test classes
83
                                                        -->
84
                                                        <execution>
85
                                                                <goals>
86
                                                                        <goal>test-jar</goal>
87
                                                                </goals>
88
                                                                <configuration>
89
                                                                        <excludes>
90
                                                                                <exclude>**/stax/**</exclude>
91
                                                                        </excludes>
92
                                                                </configuration>
93
                                                        </execution>
94
                                                </executions>
95
                                        </plugin>
96
                            </plugins>
97
98
                    </build>
99
            </profile>
100
                <profile>
101
                        <id>se</id>
102
                                <activation>
103
                                        <activeByDefault>true</activeByDefault>
104
                                </activation>
105
                                <dependencies>
106
                                        <dependency>
107
                                                <groupId>org.gvsig</groupId>
108
                                                <artifactId>org.gvsig.gpe</artifactId>
109 82 jpiera
                                                <version>2.0.2</version>
110 70 csanchez
                                        </dependency>
111
                                        <dependency>
112
                                                <groupId>org.gvsig</groupId>
113
                                                <artifactId>org.gvsig.gpe</artifactId>
114 82 jpiera
                                                <version>2.0.2</version>
115 70 csanchez
                                                <classifier>xmlschema</classifier>
116
                                                <optional>true</optional>
117
                                        </dependency>
118
                                        <dependency>
119
                                                <groupId>stax</groupId>
120
                                                <artifactId>stax-api</artifactId>
121
                                        </dependency>
122
                                        <dependency>
123
                                                <groupId>stax</groupId>
124
                                                <artifactId>stax</artifactId>
125
                                        </dependency>
126
                                </dependencies>
127
                        </profile>
128
                </profiles>
129
</project>