Source

squashtest-tm / plugins / plugin.bugtracker.mantis / pom.xml

The default branch has multiple heads

Full commit
<?xml version="1.0"?>
<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">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<artifactId>squash-tm-plugins</artifactId>
		<groupId>org.squashtest.tm</groupId>
		<version>1.2.0.RELEASE</version>
	</parent>
	<artifactId>plugin.bugtracker.mantis</artifactId>
	<name>plugin.bugtracker.mantis</name>
	<description>Squash TM connector for MantisBT bugtrackers</description>
	<properties>
		<bundle.name>${project.groupId}.${project.artifactId}</bundle.name>
		<bundle.symbolicName>${bundle.name}</bundle.symbolicName>
		<cxf.version>2.3.3</cxf.version>
		<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
		<axis.generated-sources.directory>/generated-sources/axis-1.4</axis.generated-sources.directory>
	</properties>
	<dependencies>
		<!-- ====== DEPENDENCY POMS ====== -->
		<dependency>
			<groupId>org.squashtest.tm</groupId>
			<artifactId>springdm-bundle-dependencies</artifactId>
			<version>${project.version}</version>
			<type>pom</type>
		</dependency>
		<dependency>
			<groupId>org.squashtest.tm</groupId>
			<artifactId>spock-test-dependencies</artifactId>
			<version>${project.version}</version>
			<type>pom</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.squashtest.tm</groupId>
			<artifactId>org.squashtest.csp.tools.unittest</artifactId>
			<version>${project.version}</version>
			<scope>test</scope>
		</dependency>
		<!-- ====== /DEPENDENCY POMS ====== -->

		<!-- ====== FOUNDATION ====== -->
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<scope>compile</scope>
		</dependency>
		<!-- ====== /FOUNDATION ====== -->

		<!-- ====== SPRING FRAMEWORK ====== -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>org.springframework.transaction</artifactId>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>org.springframework.aop</artifactId>
		</dependency>
		<dependency>
			<groupId>org.aopalliance</groupId>
			<artifactId>com.springsource.org.aopalliance</artifactId>
		</dependency>
		<!-- ====== /SPRING FRAMEWORK ====== -->

		<!-- ====== MANTIS ====== -->

		<!-- ====== AXIS 1.4 ====== -->
		<dependency>
			<groupId>org.apache.axis</groupId>
			<artifactId>com.springsource.org.apache.axis</artifactId>
			<version>1.4.0</version>
			<exclusions>
				<exclusion>
					<groupId>org.apache.commons</groupId>
					<artifactId>com.springsource.org.apache.commons.logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>javax.wsdl</groupId>
			<artifactId>com.springsource.javax.wsdl</artifactId>
			<version>1.6.1</version>
		</dependency>
		<dependency>
			<groupId>javax.activation</groupId>
			<artifactId>com.springsource.javax.activation</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>javax.jms</groupId>
			<artifactId>com.springsource.javax.jms</artifactId>
			<version>1.1.0</version>
		</dependency>
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>com.springsource.javax.mail</artifactId>
			<version>1.4.1</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>com.springsource.javax.servlet</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.xml.rpc</groupId>
			<artifactId>com.springsource.javax.xml.rpc</artifactId>
			<version>1.1.0</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.soap</groupId>
			<artifactId>com.springsource.javax.xml.soap</artifactId>
			<version>1.3.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>com.springsource.org.apache.commons.discovery</artifactId>
			<version>0.4.0</version>
			<exclusions>
				<exclusion>
					<groupId>org.apache.commons</groupId>
					<artifactId>com.springsource.org.apache.commons.logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>com.springsource.org.apache.commons.logging</artifactId>
			<version>1.1.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>com.springsource.org.apache.commons.httpclient</artifactId>
			<version>3.1.0</version>
			<exclusions>
				<exclusion>
					<groupId>org.apache.commons</groupId>
					<artifactId>com.springsource.org.apache.commons.logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>com.springsource.org.apache.commons.codec</artifactId>
			<version>1.4.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>com.springsource.org.apache.commons.net</artifactId>
			<version>1.4.1</version>
		</dependency>
		<!-- ====== /AXIS 1.4 ====== -->

		<!-- ====== /MANTIS ====== -->

		<!-- ====== SQUASH APIS ========= -->
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>core.bugtracker.api</artifactId>
			<version>${project.version}</version>
		</dependency>

		<!-- ====== /SQUASH APIS ======== -->
	</dependencies>
	<build>
		<resources>
			<resource>
				<directory>${project.basedir}/src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<testResources>
			<testResource>
				<directory>${project.basedir}/src/test/resources</directory>
				<filtering>true</filtering>
			</testResource>
		</testResources>
		<testSourceDirectory>src/test/groovy</testSourceDirectory>
		<plugins>
			<!-- ====== AXIS 1.4 ====== -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>axistools-maven-plugin</artifactId>
				<version>1.4</version>
				<executions>
					<execution>
						<id>generate-sources</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>wsdl2java</goal>
						</goals>
						<configuration>
							<inputFiles>
								<inputFile>mantisconnect-1.2.9.wsdl</inputFile>
							</inputFiles>
							<sourceDirectory>${basedir}/src/main/resources</sourceDirectory>
							<packageSpace>org.squashtest.csp.core.bugtracker.mantis.binding</packageSpace>
							<testCases>false</testCases>
							<serverSide>false</serverSide>
							<outputDirectory>${project.build.directory}${axis.generated-sources.directory}</outputDirectory>
							<typeMappingVersion>1.2</typeMappingVersion> <!-- corresponds to what the ant build was generating -->
						</configuration>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>javax.mail</groupId>
						<artifactId>mail</artifactId>
						<version>1.4</version>
					</dependency>
					<dependency>
						<groupId>javax.activation</groupId>
						<artifactId>activation</artifactId>
						<version>1.1</version>
					</dependency>
				</dependencies>
			</plugin>
      <!-- ====== /AXIS 1.4 ====== -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>com.springsource.bundlor</groupId>
				<artifactId>com.springsource.bundlor.maven</artifactId>
				<executions>
					<execution>
						<id>bundlor</id>
						<goals>
							<goal>bundlor</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<removeNullHeaders>true</removeNullHeaders>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
						<index />
					</archive>
				</configuration>
			</plugin>
			<!-- ====== SPOCK TESTS ====== -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
			</plugin>
			<!-- ====== /SPOCK TESTS ====== -->
		</plugins>
	</build>
	<profiles>
		<profile>
			<id>backslashed-properties</id>
			<activation>
				<os>
					<family>windows</family>
				</os>
			</activation>
			<properties>
				<axis.generated-sources.directory>\generated-sources\axis-1.4</axis.generated-sources.directory>
			</properties>
		</profile>
		<profile>
			<id>eclipse</id>
			<activation>
				<file>
					<exists>.project</exists>
				</file>
			</activation>
			<build>
				<pluginManagement>
					<plugins>
			<!--
              This plugin's configuration is used to store Eclipse m2e settings 
			   only. It has no influence on the Maven build itself. 
            -->
						<plugin>
							<groupId>org.eclipse.m2e</groupId>
							<artifactId>lifecycle-mapping</artifactId>
							<version>1.0.0</version>
							<configuration>
								<lifecycleMappingMetadata>
									<pluginExecutions>
										<pluginExecution>
											<pluginExecutionFilter>
												<groupId>com.springsource.bundlor</groupId>
												<artifactId>com.springsource.bundlor.maven</artifactId>
												<versionRange>[1.0.0.RC1,)</versionRange>
												<goals>
													<goal>bundlor</goal>
												</goals>
											</pluginExecutionFilter>
											<action>
												<ignore />
											</action>
										</pluginExecution>
										<pluginExecution>
											<pluginExecutionFilter>
												<groupId> org.codehaus.mojo </groupId>
												<artifactId> aspectj-maven-plugin </artifactId>
												<versionRange> [1.3,) </versionRange>
												<goals>
													<goal>test-compile</goal>
													<goal>compile</goal>
												</goals>
											</pluginExecutionFilter>
											<action>
												<ignore />
											</action>
										</pluginExecution>
									</pluginExecutions>
								</lifecycleMappingMetadata>
							</configuration>
						</plugin>
					</plugins>
				</pluginManagement>
			</build>
		</profile>
	</profiles>
</project>