|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + |
| 7 | + <groupId>ca.bc.gov.open</groupId> |
| 8 | + <artifactId>spring-bceid-starter</artifactId> |
| 9 | + <version>0.1.2</version> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <java.version>1.8</java.version> |
| 13 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 15 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 16 | + <spring-boot.version>2.2.4.RELEASE</spring-boot.version> |
| 17 | + <org.mapstruct.version>1.3.1.Final</org.mapstruct.version> |
| 18 | + </properties> |
| 19 | + |
| 20 | + <dependencies> |
| 21 | + |
| 22 | + <dependency> |
| 23 | + <groupId>org.springframework.boot</groupId> |
| 24 | + <artifactId>spring-boot-starter-web-services</artifactId> |
| 25 | + <exclusions> |
| 26 | + <exclusion> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 29 | + </exclusion> |
| 30 | + </exclusions> |
| 31 | + </dependency> |
| 32 | + |
| 33 | + <dependency> |
| 34 | + <groupId>org.springframework.boot</groupId> |
| 35 | + <artifactId>spring-boot-starter-test</artifactId> |
| 36 | + <scope>test</scope> |
| 37 | + <exclusions> |
| 38 | + <exclusion> |
| 39 | + <groupId>org.junit.vintage</groupId> |
| 40 | + <artifactId>junit-vintage-engine</artifactId> |
| 41 | + </exclusion> |
| 42 | + </exclusions> |
| 43 | + </dependency> |
| 44 | + |
| 45 | + <dependency> |
| 46 | + <groupId>org.apache.cxf</groupId> |
| 47 | + <artifactId>cxf-rt-frontend-jaxws</artifactId> |
| 48 | + </dependency> |
| 49 | + |
| 50 | + <dependency> |
| 51 | + <groupId>org.apache.cxf</groupId> |
| 52 | + <artifactId>cxf-rt-transports-http</artifactId> |
| 53 | + </dependency> |
| 54 | + |
| 55 | + <dependency> |
| 56 | + <groupId>org.apache.cxf</groupId> |
| 57 | + <artifactId>cxf-rt-transports-http-jetty</artifactId> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <dependency> |
| 61 | + <groupId>org.apache.commons</groupId> |
| 62 | + <artifactId>commons-lang3</artifactId> |
| 63 | + </dependency> |
| 64 | + |
| 65 | + <dependency> |
| 66 | + <groupId>joda-time</groupId> |
| 67 | + <artifactId>joda-time</artifactId> |
| 68 | + </dependency> |
| 69 | + |
| 70 | + <dependency> |
| 71 | + <groupId>org.mapstruct</groupId> |
| 72 | + <artifactId>mapstruct</artifactId> |
| 73 | + </dependency> |
| 74 | + |
| 75 | + </dependencies> |
| 76 | + |
| 77 | + <dependencyManagement> |
| 78 | + <dependencies> |
| 79 | + <dependency> |
| 80 | + <groupId>org.springframework.boot</groupId> |
| 81 | + <artifactId>spring-boot-dependencies</artifactId> |
| 82 | + <version>${spring-boot.version}</version> |
| 83 | + <type>pom</type> |
| 84 | + <scope>import</scope> |
| 85 | + </dependency> |
| 86 | + <dependency> |
| 87 | + <groupId>ca.bc.gov.open</groupId> |
| 88 | + <artifactId>spring-starters-bom</artifactId> |
| 89 | + <version>0.1.2</version> |
| 90 | + <type>pom</type> |
| 91 | + <scope>import</scope> |
| 92 | + </dependency> |
| 93 | + </dependencies> |
| 94 | + </dependencyManagement> |
| 95 | + |
| 96 | + <build> |
| 97 | + <plugins> |
| 98 | + |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-compiler-plugin</artifactId> |
| 102 | + <version>3.5.1</version> |
| 103 | + <configuration> |
| 104 | + <source>${java.version}</source> |
| 105 | + <target>${java.version}</target> |
| 106 | + <annotationProcessorPaths> |
| 107 | + <path> |
| 108 | + <groupId>org.mapstruct</groupId> |
| 109 | + <artifactId>mapstruct-processor</artifactId> |
| 110 | + <version>${org.mapstruct.version}</version> |
| 111 | + </path> |
| 112 | + </annotationProcessorPaths> |
| 113 | + </configuration> |
| 114 | + </plugin> |
| 115 | + |
| 116 | + <!-- WSDL to Java generator --> |
| 117 | + <plugin> |
| 118 | + <groupId>org.apache.cxf</groupId> |
| 119 | + <artifactId>cxf-codegen-plugin</artifactId> |
| 120 | + <version>3.3.7</version> |
| 121 | + <executions> |
| 122 | + <execution> |
| 123 | + <id>generate-sources</id> |
| 124 | + <phase>generate-sources</phase> |
| 125 | + <configuration> |
| 126 | + <sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot> |
| 127 | + <wsdlOptions> |
| 128 | + <wsdlOption> |
| 129 | + <wsdl>${project.basedir}/src/main/resources/wsdl/BCeIDService.wsdl</wsdl> |
| 130 | + <extraargs> |
| 131 | + <extraarg>-client</extraarg> |
| 132 | + <extraarg>-autoNameResolution</extraarg> |
| 133 | + </extraargs> |
| 134 | + </wsdlOption> |
| 135 | + </wsdlOptions> |
| 136 | + </configuration> |
| 137 | + <goals> |
| 138 | + <goal>wsdl2java</goal> |
| 139 | + </goals> |
| 140 | + </execution> |
| 141 | + </executions> |
| 142 | + </plugin> |
| 143 | + |
| 144 | + </plugins> |
| 145 | + |
| 146 | + </build> |
| 147 | + |
| 148 | +</project> |
0 commit comments