Skip to content
Snippets Groups Projects
pom.xml 3.43 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>
		<version>1.5.0-SNAPSHOT</version>
Ubbo Veentjer's avatar
Ubbo Veentjer committed
	</parent>
	<groupId>info.textgrid.middleware</groupId>
	<artifactId>tgauth-client-crud</artifactId>
	<name>TextGrid :: TGAuthService :: Client :: Crud</name>
	<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>
	</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.6</source>
					<target>1.6</target>
					<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 pro\ perties does not help! -->
					<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 -->
						<Include-Resource>{maven-resources},wsdl/${wsdl.file}=${wsdl.dir}/${wsdl.file}</Include-Resource>
					</instructions>
				</configuration>
			</plugin>
			<!--plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> 
				<version>2.1.2</version> <configuration> <archive> <manifestEntries> <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
				<Bundle-Name>${project.name}</Bundle-Name> <Bundle-SymbolicName>${project.groupId}.${project.artifactId}.source</Bundle-SymbolicName> 
				<Bundle-Vendor>${organization.name}</Bundle-Vendor> <Bundle-Version>${project.version}</Bundle-Version> 
				<Eclipse-SourceBundle>${project.groupId}.${project.artifactId};version="${project.version}";roots:="."</Eclipse-SourceBundle> 
				</manifestEntries> </archive> </configuration> </plugin -->
		</plugins>
	</build>
</project>