Revision 27549 branches/v2_0_0_prep/libraries/libProjection/pom.xml

View differences:

pom.xml
15 15
		<artifactId>gvsig-library-base-pom</artifactId>
16 16
		<version>2.0-SNAPSHOT</version>
17 17
	</parent>
18

  
18 19
	<dependencies>
19 20
		<dependency>
20 21
			<groupId>org.gvsig</groupId>
......
26 27
			<artifactId>org.gvsig.tools</artifactId>
27 28
			<version>2.0-SNAPSHOT</version>
28 29
		</dependency>
29
		<dependency>
30
			<groupId>org.gvsig.legacy</groupId>
31
			<artifactId>geoapi</artifactId>
32
			<version>gvsig</version>
33
		</dependency>
34
		<dependency>
35
			<groupId>org.gvsig.legacy</groupId>
36
			<artifactId>gt2-legacy</artifactId>
37
			<version>gvsig</version>
38
		</dependency>
39
		<dependency>
40
			<groupId>org.gvsig.legacy</groupId>
41
			<artifactId>gt2-main</artifactId>
42
			<version>gvsig</version>
43
		</dependency>
44
		<dependency>
45
			<groupId>org.gvsig.legacy</groupId>
46
			<artifactId>geojava</artifactId>
47
			<version>gvsig</version>
48
		</dependency>
49
		<dependency>
50
			<groupId>org.gvsig.legacy</groupId>
51
			<artifactId>vecmath</artifactId>
52
			<version>gvsig</version>
53
		</dependency>
54
		<dependency>
55
			<groupId>javax.media</groupId>
56
			<artifactId>jai_core</artifactId>
57
			<version>1.1.3</version>
58
		</dependency>
59
		<dependency>
60
			<groupId>javax.media</groupId>
61
			<artifactId>jai_codec</artifactId>
62
			<version>1.1.3</version>
63
		</dependency>
64
		<dependency>
65
			<groupId>javax.units</groupId>
66
			<artifactId>jsr108</artifactId>
67
			<version>0.01</version>
68
		</dependency>
69

  
70 30
	</dependencies>
71
	<build>
31
	
32
	  <build>
72 33
		<sourceDirectory>src</sourceDirectory>
73 34
		<testSourceDirectory>src-test</testSourceDirectory>
74
		<resources>
75
    		<resource>
76
				<directory>config</directory>
77
			</resource>
78
			<resource>
79
				<directory>images</directory>
80
			</resource>
81
		</resources>
82
		
83
		<plugins>
84
			<plugin>
85
				<groupId>org.apache.maven.plugins</groupId>
86
				<artifactId>maven-compiler-plugin</artifactId>
87
				<configuration>
88
					<source>1.4</source>
89
					<target>1.4</target>
90
					<!-- put your configurations here -->
91
					<encoding>ISO-8859-1</encoding>
92
				</configuration>
93
			</plugin>
94
			<plugin>
95
				<groupId>org.apache.maven.plugins</groupId>
96
				<artifactId>maven-jar-plugin</artifactId>
97
				<configuration>
98
					<excludes>
99
						<exclude>**/org/cresques/impl/**</exclude>
100
						<exclude>**/org/cresques/ui/**</exclude>
101
						<exclude>**/org/cresques/resources/**</exclude>
102
						<exclude>*.gif</exclude>
103
					</excludes>
104
				</configuration>
105
				<executions>
106
				<!-- 	<execution>
107
						<id>projection-api</id>
108
						<phase>package</phase>
109
						<goals>
110
							<goal>jar</goal>
111
						</goals>
35
	  </build>	
36
	
37
	  <profiles>
38
		<profile>
39
		  <id>se</id>
40
		  <activation>
41
		    <activeByDefault>true</activeByDefault>
42
		  </activation>
43
		  
44
			<dependencies>	
45
	
46
	
47
				<dependency>
48
					<groupId>org.gvsig.legacy</groupId>
49
					<artifactId>geoapi</artifactId>
50
					<version>gvsig</version>
51
				</dependency>
52
				<dependency>
53
					<groupId>org.gvsig.legacy</groupId>
54
					<artifactId>gt2-legacy</artifactId>
55
					<version>gvsig</version>
56
				</dependency>
57
				<dependency>
58
					<groupId>org.gvsig.legacy</groupId>
59
					<artifactId>gt2-main</artifactId>
60
					<version>gvsig</version>
61
				</dependency>
62
				<dependency>
63
					<groupId>org.gvsig.legacy</groupId>
64
					<artifactId>geojava</artifactId>
65
					<version>gvsig</version>
66
				</dependency>
67
				<dependency>
68
					<groupId>org.gvsig.legacy</groupId>
69
					<artifactId>vecmath</artifactId>
70
					<version>gvsig</version>
71
				</dependency>
72
				<dependency>
73
					<groupId>javax.media</groupId>
74
					<artifactId>jai_core</artifactId>
75
					<version>1.1.3</version>
76
				</dependency>
77
				<dependency>
78
					<groupId>javax.media</groupId>
79
					<artifactId>jai_codec</artifactId>
80
					<version>1.1.3</version>
81
				</dependency>
82
				<dependency>
83
					<groupId>javax.units</groupId>
84
					<artifactId>jsr108</artifactId>
85
					<version>0.01</version>
86
				</dependency>
87

  
88
			</dependencies>
89
			<build>
90
				<resources>
91
		    		<resource>
92
						<directory>config</directory>
93
					</resource>
94
					<resource>
95
						<directory>images</directory>
96
					</resource>
97
				</resources>
98
				
99
				<plugins>
100
					<plugin>
101
						<groupId>org.apache.maven.plugins</groupId>
102
						<artifactId>maven-compiler-plugin</artifactId>
112 103
						<configuration>
113
							<classifier>projection-api</classifier>
104
							<source>1.4</source>
105
							<target>1.4</target>
106
							<!-- put your configurations here -->
107
							<encoding>ISO-8859-1</encoding>
108
						</configuration>
109
					</plugin>
110
					<plugin>
111
						<groupId>org.apache.maven.plugins</groupId>
112
						<artifactId>maven-jar-plugin</artifactId>
113
						<configuration>
114 114
							<excludes>
115 115
								<exclude>**/org/cresques/impl/**</exclude>
116 116
								<exclude>**/org/cresques/ui/**</exclude>
......
118 118
								<exclude>*.gif</exclude>
119 119
							</excludes>
120 120
						</configuration>
121
					</execution> -->
122
					<execution>
123
						<id>cresques-ui</id>
124
						<phase>package</phase>
125
						<goals>
126
							<goal>jar</goal>
127
						</goals>
121
						<executions>
122
						<!-- 	<execution>
123
								<id>projection-api</id>
124
								<phase>package</phase>
125
								<goals>
126
									<goal>jar</goal>
127
								</goals>
128
								<configuration>
129
									<classifier>projection-api</classifier>
130
									<excludes>
131
										<exclude>**/org/cresques/impl/**</exclude>
132
										<exclude>**/org/cresques/ui/**</exclude>
133
										<exclude>**/org/cresques/resources/**</exclude>
134
										<exclude>*.gif</exclude>
135
									</excludes>
136
								</configuration>
137
							</execution> -->
138
							<execution>
139
								<id>cresques-ui</id>
140
								<phase>package</phase>
141
								<goals>
142
									<goal>jar</goal>
143
								</goals>
144
								<configuration>
145
									<classifier>cresques-ui</classifier>
146
									<excludes>
147
										<exclude>NONE</exclude>
148
									</excludes>
149
									<includes>
150
										<include>**/org/cresques/ui/**</include>
151
										<include>**/org/cresques/resources/**</include>
152
										<include>*.gif</include>
153
									</includes>
154
								<!--	<finalName>org.cresques.ui</finalName>  -->
155
								</configuration>
156
							</execution>
157
							<execution>
158
								<id>cresques-cts-impl</id>
159
								<phase>package</phase>
160
								<goals>
161
									<goal>jar</goal>
162
								</goals>
163
								<configuration>
164
									<classifier>cresques-impl</classifier>
165
									<excludes>
166
										<exclude>**/org/cresques/resources/**</exclude>
167
										<exclude>*.gif</exclude>
168
									</excludes>
169
									<includes>
170
										<include>**/org/cresques/impl/**</include>
171
									</includes>
172
								<!-- <finalName>org.cresques.cts</finalName> -->
173
								</configuration>
174
							</execution>
175
						</executions>
176

  
177
					</plugin>
178

  
179
				</plugins>
180
			</build>
181
		</profile>
182
		
183
		<profile>
184
	      <id>cdc</id>
185
		  <activation>
186
		    <activeByDefault>false</activeByDefault>
187
		  </activation>
188
		  
189
		  <build>
190
				<plugins>
191
					<plugin>
192
						<groupId>org.apache.maven.plugins</groupId>
193
						<artifactId>maven-jar-plugin</artifactId>
128 194
						<configuration>
129
							<classifier>cresques-ui</classifier>
130 195
							<excludes>
131
								<exclude>NONE</exclude>
196
								<exclude>**/org/cresques/impl/**</exclude>
197
								<exclude>**/org/cresques/ui/**</exclude>
132 198
							</excludes>
133
							<includes>
134
								<include>**/org/cresques/ui/**</include>
135
								<include>**/org/cresques/resources/**</include>
136
								<include>*.gif</include>
137
							</includes>
138
						<!--	<finalName>org.cresques.ui</finalName>  -->
139 199
						</configuration>
140
					</execution>
141
					<execution>
142
						<id>cresques-cts-impl</id>
143
						<phase>package</phase>
144
						<goals>
145
							<goal>jar</goal>
146
						</goals>
147
						<configuration>
148
							<classifier>cresques-impl</classifier>
149
							<excludes>
150
								<exclude>**/org/cresques/resources/**</exclude>
151
								<exclude>*.gif</exclude>
152
							</excludes>
153
							<includes>
154
								<include>**/org/cresques/impl/**</include>
155
							</includes>
156
						<!-- <finalName>org.cresques.cts</finalName> -->
157
						</configuration>
158
					</execution>
159
				</executions>
160

  
161
			</plugin>
162

  
163
		</plugins>
164
	</build>
200
					</plugin>
201
				</plugins>
202
			</build>
203
		  
204
		</profile>
205
	</profiles>
165 206
</project>

Also available in: Unified diff