Klassen-Generierung ergaenzt
This commit is contained in:
@@ -1,26 +1,104 @@
|
||||
<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">
|
||||
<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>
|
||||
<groupId>at.vvo.omds</groupId>
|
||||
<artifactId>OMDSServiceDefinition</artifactId>
|
||||
<version>1.2.0-SNAPSHOT</version>
|
||||
<version>1.3.0-SNAPSHOT</version>
|
||||
<name>OMDS Service Definition</name>
|
||||
<description>Dieses Projekt enthaelt die Definitionen fuer die OMDS Services.</description>
|
||||
|
||||
<properties>
|
||||
|
||||
<currentOmds3VersionDir>v1-0-3</currentOmds3VersionDir>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
|
||||
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
|
||||
<timestamp>${maven.build.timestamp}</timestamp>
|
||||
|
||||
<target.generation.path>${basedir}/src/main/java</target.generation.path>
|
||||
<bindings.location.rel>/src/main/resources/bind/v1-3-0</bindings.location.rel>
|
||||
<bindings.location>${basedir}${bindings.location.rel}</bindings.location>
|
||||
|
||||
<wsdl.location>src/main/resources/def/v1-3-0/omds3Services.wsdl</wsdl.location>
|
||||
<brokerwsdl.location>src/main/resources/def/v1-3-0/broker/omds3ServicesBroker.wsdl</brokerwsdl.location>
|
||||
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
<jdk.version>1.7</jdk.version>
|
||||
|
||||
<cxf.version>3.2.0</cxf.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-help-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.0.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-help-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
</plugin>
|
||||
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>assembly.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>make-assembly</id> <!-- this is used for inheritance merges -->
|
||||
<phase>package</phase> <!-- bind to the packaging phase -->
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<verbose>true</verbose>
|
||||
<fork>true</fork>
|
||||
<compilerVersion>${jdk.version}</compilerVersion>
|
||||
<targetJdk>${jdk.version}</targetJdk>
|
||||
<source>${jdk.version}</source>
|
||||
<target>${jdk.version}</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
@@ -35,32 +113,224 @@
|
||||
<Revision>${SVN_REVISION}</Revision>
|
||||
<BuildTag>${BUILD_TAG}</BuildTag>
|
||||
<BuildTimestamp>${build.timestamp}</BuildTimestamp>
|
||||
<JDKVersion>${jdk.version}</JDKVersion>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.19.1</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<!-- The test cases only run when a web container deploys the webservice. -->
|
||||
<exclude>at/ergo/plr/CalculatorWebClientTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.0.4</version>
|
||||
<configuration>
|
||||
</configuration>
|
||||
<!-- <executions> -->
|
||||
<!-- <execution> -->
|
||||
<!-- <id>attach sources</id> -->
|
||||
<!-- <goals> -->
|
||||
<!-- <goal>jar</goal> -->
|
||||
<!-- </goals> -->
|
||||
<!-- </execution> -->
|
||||
<!-- </executions> -->
|
||||
</plugin>
|
||||
</plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<!-- <executions> -->
|
||||
<!-- <execution> -->
|
||||
<!-- <id>attach-javadocs</id> -->
|
||||
<!-- <goals> -->
|
||||
<!-- <goal>jar</goal> -->
|
||||
<!-- </goals> -->
|
||||
<!-- </execution> -->
|
||||
<!-- </executions> -->
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
|
||||
<!-- CFX Start -->
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-frontend-simple</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
|
||||
<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-bindings-soap</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-transports-http</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
<!-- Jetty is needed if you're are not using the CXFServlet -->
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-transports-http-jetty</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-ws-security</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-features-logging</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- CFX Ende -->
|
||||
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.12</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<!-- Zielordner fuer Deploy unter OMDS-Entwicklung -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>internal</id>
|
||||
<name>Internal Release Repository</name>
|
||||
<url>dav:http://212.186.72.200/nexus/content/repositories/internal/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>Internal Snapshot Repository</name>
|
||||
<url>dav:http://212.186.72.200/nexus/content/repositories/snapshots/</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>omdsaccess</id><!-- Username-Passwort in servers im settings.xml unter dieser id -->
|
||||
<name>OMDS Release Repository</name>
|
||||
<url>http://entw.kapdion.com:8081/repository/omdsReleases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>omdsaccess</id><!-- Username-Passwort in servers im settings.xml unter dieser id -->
|
||||
<name>OMDS Snapshot Repository</name>
|
||||
<url>http://entw.kapdion.com:8081/repository/omdsSnapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
|
||||
<profiles>
|
||||
|
||||
<!-- Spezielles Profil um Java-Code aus dem WSDL zu generieren -->
|
||||
<profile>
|
||||
<id>genJavaFromWsdl</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<property>
|
||||
<name>codeGen</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<!--
|
||||
<plugin>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-java2ws-plugin</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>process-classes</id>
|
||||
<phase>process-classes</phase>
|
||||
<configuration>
|
||||
<className>at.ergo.plr.Calculator</className>
|
||||
<genWsdl>true</genWsdl>
|
||||
<verbose>true</verbose>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>java2ws</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin> -->
|
||||
|
||||
|
||||
<!-- plugin um Code von WSDL-File zu generieren -->
|
||||
<plugin>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-codegen-plugin</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
<configuration>
|
||||
<vmArgs>
|
||||
<vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
|
||||
</vmArgs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-sources</id>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<sourceRoot>${target.generation.path}</sourceRoot>
|
||||
<wsdlOptions>
|
||||
<wsdlOption>
|
||||
<wsdl>${wsdl.location}</wsdl>
|
||||
<!-- <wsdl>${brokerwsdl.location}</wsdl> -->
|
||||
<extendedSoapHeaders>true</extendedSoapHeaders>
|
||||
|
||||
<!-- wsdl/jaxb Binding wie der Code generiert werden soll -->
|
||||
<bindingFiles>
|
||||
<bindingFile>${bindings.location}/omds20Types_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omdsServiceTypes_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omdsCommonServiceTypes_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omds3_ON2_Antrag_Common_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omds3_ON2_Antrag_Kfz_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omds3_ON2_Antrag_SachPrivat_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omds3_ON2_Antrag_RS_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omds3_ON3_Vertrag_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/omds3_ON4_Partner_binding.xml</bindingFile>
|
||||
<bindingFile>${bindings.location}/wsdl_binding.xml</bindingFile>
|
||||
<!-- <bindingFile>${bindings.location}/wsdl_broker_binding.xml</bindingFile> -->
|
||||
<!-- <bindingFile>${bindings.location}/omdsExampleVuExtension_binding.xml</bindingFile> -->
|
||||
</bindingFiles>
|
||||
|
||||
<!-- you can set the options of wsdl2java command by using the <extraargs> -->
|
||||
<extraargs>
|
||||
<!-- <extraarg>-v</extraarg> zeige Versionsnummer dieses Tools -->
|
||||
<extraarg>-impl</extraarg><!-- Implementation -->
|
||||
<extraarg>-validate</extraarg>
|
||||
<extraarg>-client</extraarg><!-- Auch Ansatzpunkt fuer Client generieren -->
|
||||
<extraarg>-verbose</extraarg>
|
||||
</extraargs>
|
||||
</wsdlOption>
|
||||
</wsdlOptions>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>wsdl2java</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user