Skip to content
Snippets Groups Projects
pom.xml 2.92 KiB
Newer Older
Ubbo Veentjer's avatar
Ubbo Veentjer committed
<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<artifactId>tgauth</artifactId>
		<groupId>info.textgrid.middleware</groupId>
Stefan E. Funk's avatar
Stefan E. Funk committed
		<version>1.9.7</version>
Ubbo Veentjer's avatar
Ubbo Veentjer committed
	</parent>
	<groupId>info.textgrid.middleware</groupId>
	<artifactId>tgauth-client-crud</artifactId>
Stefan E. Funk's avatar
Stefan E. Funk committed
	<name>TextGrid :: TGAuthService :: TGExtraCrudClient</name>
Ubbo Veentjer's avatar
Ubbo Veentjer committed
	<packaging>bundle</packaging>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<wsdl.dir>../info.textgrid.middleware.tgauth.rbac/rbacSoap/wsdl-productive</wsdl.dir>
		<wsdl.file>tgextra-crud.wsdl</wsdl.file>
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-frontend-jaxws</artifactId>
			<version>${cxf.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-transports-http</artifactId>
			<version>${cxf.version}</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>
Ubbo Veentjer's avatar
Ubbo Veentjer committed
	</dependencies>
	<build>
		<defaultGoal>package</defaultGoal>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
Ubbo Veentjer's avatar
Ubbo Veentjer committed
					<fork>true</fork>
					<showDeprecation>true</showDeprecation>
					<showWarnings>true</showWarnings>
					<!-- Please set export MAVEN_OPTS="$MAVEN_OPTS -Dfile.encoding=UTF-8", 
						setting file.encoding in this POM's properties does not help! -->
Ubbo Veentjer's avatar
Ubbo Veentjer committed
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.cxf</groupId>
				<artifactId>cxf-codegen-plugin</artifactId>
				<version>${cxf.version}</version>
				<executions>
					<execution>
						<id>generate-tgextra-sources</id>
						<phase>generate-sources</phase>
						<configuration>
							<wsdlOptions>
								<wsdlOption>
									<wsdl>${wsdl.dir}/${wsdl.file}</wsdl>
									<extraargs>
										<extraarg>-client</extraarg>
										<extraarg>-wsdlLocation</extraarg>
										<wsdlurl />
									</extraargs>
								</wsdlOption>
							</wsdlOptions>
						</configuration>
						<goals>
							<goal>wsdl2java</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<extensions>true</extensions>
				<version>2.3.5</version>
				<configuration>
					<instructions>
						<!-- Include WSDL in bundle -->
Ubbo Veentjer's avatar
Ubbo Veentjer committed
						<Include-Resource>{maven-resources},wsdl/${wsdl.file}=${wsdl.dir}/${wsdl.file}</Include-Resource>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>