Revision 38098 branches/v2_0_0_prep/libraries/libUIComponent/pom.xml

View differences:

pom.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2

  
3
<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">
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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 5

  
5
    <modelVersion>4.0.0</modelVersion>
6
    <artifactId>org.gvsig.ui</artifactId>
7
    <packaging>jar</packaging>
8
    <version>2.0.1-SNAPSHOT</version>
9
    <name>libUIComponent</name>
10
    <description>Swing components collection</description>
11
    <parent>
12
        <groupId>org.gvsig</groupId>
13
        <artifactId>org.gvsig.maven.base.pom</artifactId>
14
        <version>1.0.8-SNAPSHOT</version>
15
    </parent>
16
    <scm>
17
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent</connection>
18
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent</developerConnection>
19
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/libraries/libUIComponent</url>
20
    </scm>
21
    <repositories>
22
        <repository>
23
            <id>gvsig-public-http-repository</id>
24
            <name>gvSIG maven public HTTP repository</name>
25
            <url>http://devel.gvsig.org/m2repo/j2se</url>
26
            <releases>
27
                <enabled>true</enabled>
28
                <updatePolicy>daily</updatePolicy>
29
                <checksumPolicy>warn</checksumPolicy>
30
            </releases>
31
            <snapshots>
32
                <enabled>true</enabled>
33
                <updatePolicy>daily</updatePolicy>
34
                <checksumPolicy>warn</checksumPolicy>
35
            </snapshots>
36
        </repository>
37
    </repositories>
38
    <dependencyManagement>
39
        <dependencies>
40
            <dependency>
41
                <groupId>org.gvsig</groupId>
42
                <artifactId>org.gvsig.core.maven.dependencies</artifactId>
43
                <version>2.0.1-SNAPSHOT</version>
44
                <type>pom</type>
45
                <scope>import</scope>
46
            </dependency>
47
        </dependencies>
48
    </dependencyManagement>
49
    <dependencies>
50
        <dependency>
51
            <groupId>org.gvsig</groupId>
52
            <artifactId>org.gvsig.i18n</artifactId>
53
            <scope>compile</scope>
54
        </dependency>
55
        <dependency>
56
            <groupId>org.gvsig</groupId>
57
            <artifactId>org.gvsig.tools.lib</artifactId>
58
            <scope>compile</scope>
59
        </dependency>
60
        <dependency>
61
            <groupId>jfree</groupId>
62
            <artifactId>jcommon</artifactId>
63
            <scope>compile</scope>
64
        </dependency>
65
        <dependency>
66
            <groupId>jfree</groupId>
67
            <artifactId>jfreechart</artifactId>
68
            <scope>compile</scope>
69
        </dependency>
70
        <dependency>
71
            <groupId>net.sf</groupId>
72
            <artifactId>flib-jcalendar</artifactId>
73
            <scope>compile</scope>
74
        </dependency>
75
        <dependency>
76
            <groupId>jwizardcomponent</groupId>
77
            <artifactId>jwizardcomponent</artifactId>
78
            <scope>compile</scope>
79
        </dependency>
80
        <dependency>
81
            <groupId>org.slf4j</groupId>
82
            <artifactId>slf4j-api</artifactId>
83
            <scope>compile</scope>
84
        </dependency>
85
    </dependencies>
86
    <build>
87
        <sourceDirectory>src</sourceDirectory>
88
        <testSourceDirectory>src-test-ui</testSourceDirectory>
89
        <resources>
90
            <resource>
91
                <directory>src</directory>
92
                <includes>
93
                    <include>**/*.gif</include>
94
                    <include>**/*.png</include>
95
                    <include>**/*.PNG</include>
96
                    <include> **/*.bmp</include>
97
                    <include> **/*.jpg</include>
98
                    <include> **/*.jpeg</include>
99
                    <include> **/*.properties</include>
100
                </includes>
101
            </resource>
102
            <resource>
103
                <targetPath>org/gvsig/gui/beans/resources/translations</targetPath>
104
                <filtering>false</filtering>
105
                <directory>${basedir}/config</directory>
106
                <includes>
107
                    <include>*.properties</include>
108
                </includes>
109
            </resource>
110
        </resources>
111
        <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
112
        <plugins>
113
            <plugin>
114
                <groupId>org.apache.maven.plugins</groupId>
115
                <artifactId>maven-surefire-plugin</artifactId>
116
                <configuration>
117
                    <skipTests>true</skipTests>
118
                </configuration>
119
            </plugin>
120
            <plugin>
121
                <groupId>org.apache.maven.plugins</groupId>
122
                <artifactId>maven-compiler-plugin</artifactId>
123
                <configuration>
124
                    <testExcludes>
125
                        <exclude>**</exclude>
126
                    </testExcludes>
127
                </configuration>
128
            </plugin>
129
        </plugins>
130
    </build>
6
	<modelVersion>4.0.0</modelVersion>
7
	<artifactId>org.gvsig.ui</artifactId>
8
	<packaging>jar</packaging>
9
	<version>2.0.1-SNAPSHOT</version>
10
	<name>libUIComponent</name>
11
	<description>Swing components collection</description>
12
	<parent>
13
		<groupId>org.gvsig</groupId>
14
		<artifactId>org.gvsig.maven.base.pom</artifactId>
15
		<version>1.0.8-SNAPSHOT</version>
16
	</parent>
17
	<scm>
18
		<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent</connection>
19
		<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent</developerConnection>
20
		<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/libraries/libUIComponent</url>
21
	</scm>
22
	<repositories>
23
		<repository>
24
			<id>gvsig-public-http-repository</id>
25
			<name>gvSIG maven public HTTP repository</name>
26
			<url>http://devel.gvsig.org/m2repo/j2se</url>
27
			<releases>
28
				<enabled>true</enabled>
29
				<updatePolicy>daily</updatePolicy>
30
				<checksumPolicy>warn</checksumPolicy>
31
			</releases>
32
			<snapshots>
33
				<enabled>true</enabled>
34
				<updatePolicy>daily</updatePolicy>
35
				<checksumPolicy>warn</checksumPolicy>
36
			</snapshots>
37
		</repository>
38
	</repositories>
39
	<dependencyManagement>
40
		<dependencies>
41
			<dependency>
42
				<groupId>org.gvsig</groupId>
43
				<artifactId>org.gvsig.core.maven.dependencies</artifactId>
44
				<version>2.0.1-SNAPSHOT</version>
45
				<type>pom</type>
46
				<scope>import</scope>
47
			</dependency>
48
		</dependencies>
49
	</dependencyManagement>
50
	<dependencies>
51
		<dependency>
52
			<groupId>org.gvsig</groupId>
53
			<artifactId>org.gvsig.i18n</artifactId>
54
			<scope>compile</scope>
55
		</dependency>
56
		<dependency>
57
			<groupId>org.gvsig</groupId>
58
			<artifactId>org.gvsig.tools.lib</artifactId>
59
			<scope>compile</scope>
60
		</dependency>
61
		<dependency>
62
			<groupId>jfree</groupId>
63
			<artifactId>jcommon</artifactId>
64
			<scope>compile</scope>
65
		</dependency>
66
		<dependency>
67
			<groupId>jfree</groupId>
68
			<artifactId>jfreechart</artifactId>
69
			<scope>compile</scope>
70
		</dependency>
71
		<dependency>
72
			<groupId>net.sf</groupId>
73
			<artifactId>flib-jcalendar</artifactId>
74
			<scope>compile</scope>
75
		</dependency>
76
		<dependency>
77
			<groupId>jwizardcomponent</groupId>
78
			<artifactId>jwizardcomponent</artifactId>
79
			<scope>compile</scope>
80
		</dependency>
81
		<dependency>
82
			<groupId>org.slf4j</groupId>
83
			<artifactId>slf4j-api</artifactId>
84
			<scope>compile</scope>
85
		</dependency>
86
		<dependency>
87
			<groupId>org.gvsig.external</groupId>
88
			<artifactId>org.gvsig.external.jump</artifactId>
89
			<scope>compile</scope>
90
			<version>1.0.0-SNAPSHOT</version>
91
		</dependency>
92
	</dependencies>
93
	<build>
94
		<sourceDirectory>src</sourceDirectory>
95
		<testSourceDirectory>src-test-ui</testSourceDirectory>
96
		<resources>
97
			<resource>
98
				<directory>src</directory>
99
				<includes>
100
					<include>**/*.gif</include>
101
					<include>**/*.png</include>
102
					<include>**/*.PNG</include>
103
					<include> **/*.bmp</include>
104
					<include> **/*.jpg</include>
105
					<include> **/*.jpeg</include>
106
					<include> **/*.properties</include>
107
				</includes>
108
			</resource>
109
			<resource>
110
				<targetPath>org/gvsig/gui/beans/resources/translations</targetPath>
111
				<filtering>false</filtering>
112
				<directory>${basedir}/config</directory>
113
				<includes>
114
					<include>*.properties</include>
115
				</includes>
116
			</resource>
117
		</resources>
118
		<!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
119
		<plugins>
120
			<plugin>
121
				<groupId>org.apache.maven.plugins</groupId>
122
				<artifactId>maven-surefire-plugin</artifactId>
123
				<configuration>
124
					<skipTests>true</skipTests>
125
				</configuration>
126
			</plugin>
127
			<plugin>
128
				<groupId>org.apache.maven.plugins</groupId>
129
				<artifactId>maven-compiler-plugin</artifactId>
130
				<configuration>
131
					<testExcludes>
132
						<exclude>**</exclude>
133
					</testExcludes>
134
				</configuration>
135
			</plugin>
136
		</plugins>
137
	</build>
131 138

  
132
    <profiles>
133
        <profile>
134
            <id>eclipse-project</id>
135
            <build>
136
                <plugins>
137
                    <plugin>
138
                        <artifactId>maven-antrun-plugin</artifactId>
139
                        <configuration>
140
                            <tasks>
141
                                <ant antfile="${basedir}/../build/ant-tasks/eclipse-tasks.xml" target="eclipse.eclipse" />
142
                            </tasks>
143
                        </configuration>
144
                        <dependencies>
145
                            <dependency>
146
                                <groupId>org.apache.ant</groupId>
147
                                <artifactId>ant-trax</artifactId>
148
                                <version>1.7.1</version>
149
                            </dependency>
150
                            <dependency>
151
                                <groupId>xalan</groupId>
152
                                <artifactId>xalan</artifactId>
153
                                <version>2.6.0</version>
154
                            </dependency>
155
                        </dependencies>
156
                    </plugin>
157
                </plugins>
158
            </build>
159
        </profile>
160
        <profile>
161
            <id>gvsig-install</id>
162
            <activation>
163
                <activeByDefault>true</activeByDefault>
164
            </activation>
165
            <properties>
166
                <!-- gvSIG installation folder -->
167
                <gvsig.install.dir>${basedir}/../build/product
168
                </gvsig.install.dir>
169
            </properties>
170
        </profile>
171
    </profiles>
172
    <properties>
173
        <eclipse.project.name>libUIComponent</eclipse.project.name>
174
    </properties>
139
	<profiles>
140
		<profile>
141
			<id>eclipse-project</id>
142
			<build>
143
				<plugins>
144
					<plugin>
145
						<artifactId>maven-antrun-plugin</artifactId>
146
						<configuration>
147
							<tasks>
148
								<ant antfile="${basedir}/../build/ant-tasks/eclipse-tasks.xml"
149
									target="eclipse.eclipse" />
150
							</tasks>
151
						</configuration>
152
						<dependencies>
153
							<dependency>
154
								<groupId>org.apache.ant</groupId>
155
								<artifactId>ant-trax</artifactId>
156
								<version>1.7.1</version>
157
							</dependency>
158
							<dependency>
159
								<groupId>xalan</groupId>
160
								<artifactId>xalan</artifactId>
161
								<version>2.6.0</version>
162
							</dependency>
163
						</dependencies>
164
					</plugin>
165
				</plugins>
166
			</build>
167
		</profile>
168
		<profile>
169
			<id>gvsig-install</id>
170
			<activation>
171
				<activeByDefault>true</activeByDefault>
172
			</activation>
173
			<properties>
174
				<!-- gvSIG installation folder -->
175
				<gvsig.install.dir>${basedir}/../build/product
176
				</gvsig.install.dir>
177
			</properties>
178
		</profile>
179
	</profiles>
180
	<properties>
181
		<eclipse.project.name>libUIComponent</eclipse.project.name>
182
	</properties>
175 183
</project>

Also available in: Unified diff