Revision 41:82f9226695ca pom.xml

View differences:

pom.xml
14 14
		<cobertura.version>1.9.4.1</cobertura.version>
15 15
		<config.postfix />
16 16
		<tomcat.home>/var/lib/jenkins/apache-tomcat-5.5.33</tomcat.home>
17
		<m2u-upass-classifier></m2u-upass-classifier>
17 18
	</properties>
18 19

  
19 20
	<pluginRepositories>
......
193 194
						<configuration>
194 195
							<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
195 196
							<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
197
							<!-- <webApp>${project.build.directory}/${project.artifactId}-instrument.${project.packaging}</webApp> -->
196 198
						</configuration>
197 199
						<executions>
198 200
							<execution>
......
269 271
					<name>cobertura-build</name>
270 272
				</property>
271 273
			</activation>
274
			<properties>
275
				<m2u-upass-classifier>instrumented</m2u-upass-classifier>
276
			</properties>
272 277
			<distributionManagement>
273 278
				<snapshotRepository>
274 279
					<id>penril.nexus.repo.coverage</id>
......
279 284
			<build>
280 285
				<plugins>
281 286
					<plugin>
287
						<artifactId>maven-war-plugin</artifactId>
288
						<configuration>
289
							<classifier>${m2u-upass-classifier}</classifier>
290
							<packagingExcludes>WEB-INF/lib/m2u-upass-*SNAPSHOT.jar</packagingExcludes>
291
						</configuration>
292
					</plugin>
293
					<plugin>
282 294
						<groupId>org.codehaus.mojo</groupId>
283 295
						<artifactId>cobertura-maven-plugin</artifactId>
284 296
						<configuration>
......
357 369
					<scope>compile</scope>
358 370
					<type>pom</type>
359 371
				</dependency>
372
				<!-- <dependency> <groupId>net.penril</groupId> <artifactId>m2u-upass-min</artifactId> 
373
					<classifier>${m2u-upass-classifier}</classifier> <version>2.0-SNAPSHOT</version> 
374
					<type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>net.penril</groupId> 
375
					<artifactId>m2u-upass-core</artifactId> <classifier>${m2u-upass-classifier}</classifier> 
376
					<version>2.0-SNAPSHOT</version> <type>jar</type> <scope>compile</scope> </dependency> -->
360 377
			</dependencies>
361 378
		</profile>
362 379
		<profile>
......
461 478
			<groupId>net.penril</groupId>
462 479
			<artifactId>m2u-upass-core</artifactId>
463 480
			<version>2.0-SNAPSHOT</version>
464
			<type>jar</type>
465
			<scope>compile</scope>
481
			<classifier>${m2u-upass-classifier}</classifier>
482
			<exclusions>
483
				<exclusion>
484
					<groupId>net.penril</groupId>
485
					<artifactId>m2u-upass-min</artifactId>
486
				</exclusion>
487
			</exclusions>
488
		</dependency>
489
		<dependency>
490
			<groupId>net.penril</groupId>
491
			<artifactId>m2u-upass-min</artifactId>
492
			<version>2.0-SNAPSHOT</version>
493
			<classifier>${m2u-upass-classifier}</classifier>
466 494
		</dependency>
467 495
		<dependency>
468 496
			<groupId>axis</groupId>

Also available in: Unified diff