Revision 30580 branches/v2_0_0_prep/extensions/org.gvsig.symbology/pom.xml

View differences:

pom.xml
89 89
			<plugin>
90 90
				<groupId>org.apache.maven.plugins</groupId>
91 91
				<artifactId>maven-jar-plugin</artifactId>
92
				<!--
93
					Generates a jar file only with the symbology basic 
94
					implementation API.
95
					TODO: make a good configuration of excludes and 
96
					includes, when the api and implementation of
97
					the basic symbology would be performed. 
98
				-->
99 92
				<configuration>
100
				  <!-- 
101
				  <excludes>
102
					<exclude>**/impl/**</exclude>
103
				  </excludes>
104
				   -->
105
		        </configuration>		
93
					<excludes>
94
						<exclude>**/impl/**</exclude>
95
					</excludes>
96
				</configuration>
106 97
				<executions>
107 98
					<!--
108 99
						Generates a jar file only with the mapcontext implementation
......
116 107
						<configuration>
117 108
							<classifier>impl</classifier>
118 109
							<excludes>
119
								<exclude>**/**</exclude>
120
								<!--include>**/impl/**</include-->
110
								<exclude>NONE</exclude>
121 111
							</excludes>
112
							<includes>
113
								<include>**/impl/**</include>
114
							</includes>
122 115
						</configuration>
123 116
					</execution>
124 117
				</executions>
125
			</plugin>		
118
			</plugin>
119
			<plugin>
120
				<artifactId>maven-antrun-plugin</artifactId>
121
				<executions>
122
					<execution>
123
						<id>services</id>
124
						<phase>package</phase>
125
						<goals>
126
							<goal>run</goal>
127
						</goals>
128
						<configuration>
129
							<tasks>
130
								<jar destfile="${project.build.directory}/${project.build.finalName}.jar"
131
									update="true">
132
									<fileset dir="${basedir}/resources/api" />
133
								</jar>
134
								<jar destfile="${project.build.directory}/${project.build.finalName}-impl.jar"
135
									update="true">
136
									<fileset dir="${basedir}/resources/impl" />
137
								</jar>
138
							</tasks>
139
						</configuration>
140
					</execution>
141
				</executions>
142
			</plugin>
143
			<plugin>
144
				<groupId>org.apache.maven.plugins</groupId>
145
				<artifactId>maven-surefire-plugin</artifactId>
146
				<configuration>
147
					<additionalClasspathElements>
148
						<additionalClasspathElement>${basedir}/resources/api</additionalClasspathElement>
149
						<additionalClasspathElement>${basedir}/resources/impl</additionalClasspathElement>
150
					</additionalClasspathElements>
151
				</configuration>
152
			</plugin>
126 153
		</plugins>
127 154
	</build>
128 155
	<reporting>

Also available in: Unified diff