Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | |
| 6 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 7 | <artifactId>onboarding-be</artifactId> |
| 8 | <name>onboarding-rest-war</name> |
| 9 | <version>1.0-SNAPSHOT</version> |
| 10 | <packaging>war</packaging> |
| 11 | |
| 12 | <parent> |
| 13 | <groupId>org.openecomp.sdc</groupId> |
| 14 | <artifactId>openecomp-sdc-rest-webapp</artifactId> |
| 15 | <version>1.0-SNAPSHOT</version> |
| 16 | </parent> |
| 17 | |
| 18 | <dependencies> |
| 19 | <dependency> |
| 20 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 21 | <artifactId>vendor-license-rest-services</artifactId> |
| 22 | <version>${project.version}</version> |
| 23 | </dependency> |
| 24 | <dependency> |
| 25 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 26 | <artifactId>vendor-software-products-rest-services</artifactId> |
| 27 | <version>${project.version}</version> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 31 | <artifactId>validation-rest-services</artifactId> |
| 32 | <version>${project.version}</version> |
| 33 | </dependency> |
| 34 | <!--dependency> |
| 35 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 36 | <artifactId>application-config-rest-services</artifactId> |
| 37 | <version>${project.version}</version> |
| 38 | </dependency--> |
| 39 | <dependency> |
| 40 | <groupId>org.openecomp.sdc</groupId> |
| 41 | <artifactId>application-config-rest-services</artifactId> |
| 42 | <version>1.0-SNAPSHOT</version> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 46 | <artifactId>action-library-rest-services</artifactId> |
| 47 | <version>${project.version}</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>javax.servlet</groupId> |
| 51 | <artifactId>servlet-api</artifactId> |
| 52 | <version>${javax.servlet.version}</version> |
| 53 | </dependency> |
| 54 | <!-- JSON --> |
| 55 | <dependency> |
| 56 | <groupId>org.codehaus.jackson</groupId> |
| 57 | <artifactId>jackson-jaxrs</artifactId> |
| 58 | <version>${org.codehaus.jackson.version}</version> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.codehaus.jackson</groupId> |
| 62 | <artifactId>jackson-core-asl</artifactId> |
| 63 | <version>${org.codehaus.jackson.version}</version> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>javax.inject</groupId> |
| 67 | <artifactId>javax.inject</artifactId> |
| 68 | <version>1</version> |
| 69 | </dependency> |
| 70 | <dependency> |
| 71 | <groupId>org.openecomp.sdc</groupId> |
| 72 | <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId> |
| 73 | <version>1.0-SNAPSHOT</version> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>org.eclipse.jetty</groupId> |
| 77 | <artifactId>jetty-servlets</artifactId> |
| 78 | <version>9.0.6.v20130930</version> |
| 79 | </dependency> |
| 80 | <dependency> |
| 81 | <groupId>org.openecomp.sdc</groupId> |
| 82 | <artifactId>openecomp-sdc-application-config-manager</artifactId> |
| 83 | <version>1.0-SNAPSHOT</version> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.codehaus.groovy</groupId> |
| 87 | <artifactId>groovy</artifactId> |
| 88 | <version>${groovy.version}</version> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>ch.qos.logback</groupId> |
| 92 | <artifactId>logback-classic</artifactId> |
| 93 | <version>${logback.version}</version> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>ch.qos.logback</groupId> |
| 97 | <artifactId>logback-core</artifactId> |
| 98 | <version>${logback.version}</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>org.codehaus.janino</groupId> |
| 102 | <artifactId>janino</artifactId> |
| 103 | <scope>compile</scope> |
| 104 | </dependency> |
| 105 | <!--dependency> |
| 106 | <groupId>org.codehaus.janino</groupId> |
| 107 | <artifactId>commons-compiler</artifactId> |
| 108 | <version>3.0.6</version> |
| 109 | <scope>compile</scope> |
| 110 | </dependency--> |
| 111 | <dependency> |
| 112 | <groupId>org.springframework</groupId> |
| 113 | <artifactId>spring-core</artifactId> |
| 114 | <version>4.1.3.RELEASE</version> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>org.springframework</groupId> |
| 118 | <artifactId>spring-web</artifactId> |
| 119 | <version>4.1.3.RELEASE</version> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.springframework</groupId> |
| 123 | <artifactId>spring-aop</artifactId> |
| 124 | <version>4.1.3.RELEASE</version> |
| 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>org.springframework</groupId> |
| 128 | <artifactId>spring-webmvc</artifactId> |
| 129 | <version>4.1.3.RELEASE</version> |
| 130 | </dependency> |
| 131 | <dependency> |
| 132 | <groupId>org.aspectj</groupId> |
| 133 | <artifactId>aspectjweaver</artifactId> |
| 134 | <version>1.8.9</version> |
| 135 | </dependency> |
| 136 | <dependency> |
| 137 | <groupId>org.aspectj</groupId> |
| 138 | <artifactId>aspectjrt</artifactId> |
| 139 | <version>1.8.9</version> |
| 140 | </dependency> |
| 141 | <dependency> |
| 142 | <groupId>org.aspectj</groupId> |
| 143 | <artifactId>aspectjtools</artifactId> |
| 144 | <version>1.8.9</version> |
| 145 | </dependency> |
| 146 | |
| 147 | </dependencies> |
| 148 | |
| 149 | |
| 150 | <build> |
| 151 | <plugins> |
| 152 | <plugin> |
| 153 | <groupId>org.apache.maven.plugins</groupId> |
| 154 | <artifactId>maven-compiler-plugin</artifactId> |
| 155 | </plugin> |
| 156 | |
| 157 | <plugin> |
| 158 | <groupId>org.apache.maven.plugins</groupId> |
| 159 | <artifactId>maven-surefire-plugin</artifactId> |
| 160 | <configuration> |
| 161 | <includes> |
| 162 | <include>test/core/unittest/offline/**</include> |
| 163 | </includes> |
| 164 | <skipTests>true</skipTests> |
| 165 | <systemProperties> |
| 166 | <property> |
| 167 | <name>buildNumber</name> |
| 168 | <value>${buildNumber}</value> |
| 169 | </property> |
| 170 | </systemProperties> |
| 171 | </configuration> |
| 172 | </plugin> |
| 173 | <plugin> |
| 174 | <artifactId>maven-war-plugin</artifactId> |
| 175 | <version>2.1.1</version> |
| 176 | <configuration> |
| 177 | <attachClasses>true</attachClasses> |
| 178 | <webResources> |
| 179 | <resource> |
| 180 | <!-- this is relative to the pom.xml directory --> |
| 181 | <directory>${basedir}/target/generated/swagger-ui</directory> |
| 182 | </resource> |
| 183 | </webResources> |
| 184 | </configuration> |
| 185 | </plugin> |
| 186 | <plugin> |
| 187 | <groupId>com.github.kongchen</groupId> |
| 188 | <artifactId>swagger-maven-plugin</artifactId> |
| 189 | <version>3.1.0</version> |
| 190 | <configuration> |
| 191 | <apiSources> |
| 192 | <apiSource> |
| 193 | <springmvc>false</springmvc> |
| 194 | <locations>org.openecomp.sdcrests</locations> |
| 195 | <schemes>http</schemes> |
| 196 | <basePath>/onboarding-api</basePath> |
| 197 | <info> |
| 198 | <title>Rest API</title> |
| 199 | <version>v1.0, build #${buildNumber}</version> |
| 200 | <description>Rest API Documentation</description> |
| 201 | <termsOfService> |
| 202 | http://www.github.com/kongchen/swagger-maven-plugin |
| 203 | </termsOfService> |
| 204 | </info> |
| 205 | <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath> |
| 206 | <outputPath>${basedir}/target/generated/api.html</outputPath> |
| 207 | <swaggerDirectory>${basedir}/target/generated/swagger-ui |
| 208 | </swaggerDirectory> |
| 209 | </apiSource> |
| 210 | </apiSources> |
| 211 | </configuration> |
| 212 | <executions> |
| 213 | <execution> |
| 214 | <phase>compile</phase> |
| 215 | <goals> |
| 216 | <goal>generate</goal> |
| 217 | </goals> |
| 218 | </execution> |
| 219 | </executions> |
| 220 | </plugin> |
| 221 | </plugins> |
| 222 | |
| 223 | <!--finalName>onboarding-api</finalName--> |
| 224 | </build> |
| 225 | |
| 226 | </project> |