Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 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> |
Sonsino, Ofir (os0695) | 8f848c6 | 2018-08-12 15:23:14 +0300 | [diff] [blame] | 6 | <groupId>org.onap.vid</groupId> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 7 | <artifactId>vid-ext-services-simulator</artifactId> |
| 8 | <version>1.0.0</version> |
| 9 | <name>VID Simulator</name> |
| 10 | <packaging>war</packaging> |
| 11 | <description>VID Simulator for mocking external peers</description> |
| 12 | |
| 13 | <properties> |
| 14 | <encoding>UTF-8</encoding> |
| 15 | <epsdk.version>1.3.0</epsdk.version> |
Ittay Stern | 6ad41e3 | 2018-12-31 17:21:27 +0200 | [diff] [blame^] | 16 | <springframework.version>4.3.4.RELEASE</springframework.version> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 17 | <hibernate.version>4.3.11.Final</hibernate.version> |
| 18 | <!-- Skip assembling the zip by default --> |
| 19 | <skipassembly>true</skipassembly> |
| 20 | <!-- Tests usually require some setup that maven cannot do, so skip. --> |
| 21 | <skiptests>true</skiptests> |
| 22 | <!-- this should be commented for local debugging --> |
| 23 | <!-- <deployenv>local</deployenv> --> |
| 24 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 25 | <stagingNexusPath>content/repositories/staging/</stagingNexusPath> |
| 26 | <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath> |
| 27 | <releaseNexusPath>content/repositories/releases/</releaseNexusPath> |
Sonsino, Ofir (os0695) | 8f848c6 | 2018-08-12 15:23:14 +0300 | [diff] [blame] | 28 | |
| 29 | <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it --> |
| 30 | <coberturaBuildPhase>none</coberturaBuildPhase> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 31 | </properties> |
| 32 | |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 33 | <profiles> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 34 | <profile> |
| 35 | <id>onap</id> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 36 | <properties> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 39 | <epsdk.version>1.1.0-SNAPSHOT</epsdk.version> |
| 40 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 41 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 42 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 43 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 44 | <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath> |
| 45 | </properties> |
| 46 | |
| 47 | <repositories> |
| 48 | <repository> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 49 | <id>oss-snapshots</id> |
| 50 | <name>oss Central - Snapshots</name> |
| 51 | <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url> |
| 52 | </repository> |
| 53 | </repositories> |
| 54 | </profile> |
| 55 | |
| 56 | <profile> |
Sonsino, Ofir (os0695) | 8f848c6 | 2018-08-12 15:23:14 +0300 | [diff] [blame] | 57 | <id>default</id> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 58 | </profile> |
| 59 | |
| 60 | <!-- disable doclint, a new feature in Java 8, when generating javadoc --> |
| 61 | <profile> |
| 62 | <id>doclint-java8-disable</id> |
| 63 | <activation> |
| 64 | <jdk>[1.8,)</jdk> |
| 65 | </activation> |
| 66 | <build> |
| 67 | <plugins> |
| 68 | <plugin> |
| 69 | <groupId>org.apache.maven.plugins</groupId> |
| 70 | <artifactId>maven-javadoc-plugin</artifactId> |
| 71 | <version>2.10.4</version> |
| 72 | <configuration> |
| 73 | <additionalparam>-Xdoclint:none</additionalparam> |
| 74 | </configuration> |
| 75 | </plugin> |
| 76 | </plugins> |
| 77 | </build> |
| 78 | </profile> |
| 79 | |
| 80 | <profile> |
Sonsino, Ofir (os0695) | 8f848c6 | 2018-08-12 15:23:14 +0300 | [diff] [blame] | 81 | <id>cobertura</id> |
| 82 | <properties> |
| 83 | <coberturaBuildPhase>package</coberturaBuildPhase> |
| 84 | </properties> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 85 | </profile> |
kurczews | 178ff25 | 2018-11-14 08:14:58 +0100 | [diff] [blame] | 86 | |
| 87 | <profile> |
| 88 | <id>docker-proxy</id> |
| 89 | <!-- activate profile if environment variable `http_proxy` is set --> |
| 90 | <activation> |
| 91 | <property> |
| 92 | <name>env.http_proxy</name> |
| 93 | </property> |
| 94 | </activation> |
| 95 | <properties> |
| 96 | <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy> |
| 97 | </properties> |
| 98 | </profile> |
| 99 | |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 100 | </profiles> |
| 101 | |
| 102 | <dependencies> |
| 103 | <!-- mockserver --> |
| 104 | <dependency> |
| 105 | <groupId>org.mock-server</groupId> |
| 106 | <artifactId>mockserver-netty</artifactId> |
| 107 | <version>3.11</version> |
| 108 | </dependency> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 109 | <dependency> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 110 | <groupId>org.springframework</groupId> |
| 111 | <artifactId>spring-web</artifactId> |
Ittay Stern | 6ad41e3 | 2018-12-31 17:21:27 +0200 | [diff] [blame^] | 112 | <version>${springframework.version}</version> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>org.springframework</groupId> |
| 116 | <artifactId>spring-webmvc</artifactId> |
Ittay Stern | 6ad41e3 | 2018-12-31 17:21:27 +0200 | [diff] [blame^] | 117 | <version>${springframework.version}</version> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 118 | </dependency> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 119 | <dependency> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 120 | <groupId>com.fasterxml.jackson.core</groupId> |
| 121 | <artifactId>jackson-annotations</artifactId> |
| 122 | <version>2.8.7</version> |
| 123 | </dependency> |
Sonsino, Ofir (os0695) | 8f848c6 | 2018-08-12 15:23:14 +0300 | [diff] [blame] | 124 | <dependency> |
| 125 | <groupId>javax.xml.bind</groupId> |
| 126 | <artifactId>jaxb-api</artifactId> |
| 127 | <version>2.2.11</version> |
| 128 | </dependency> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 129 | </dependencies> |
| 130 | |
| 131 | <build> |
| 132 | <finalName>vidSimulator</finalName> |
| 133 | <plugins> |
| 134 | <plugin> |
| 135 | <groupId>org.apache.maven.plugins</groupId> |
| 136 | <artifactId>maven-compiler-plugin</artifactId> |
| 137 | <version>3.1</version> |
| 138 | <configuration> |
| 139 | <source>1.8</source> |
| 140 | <target>1.8</target> |
| 141 | </configuration> |
| 142 | </plugin> |
kurczews | 178ff25 | 2018-11-14 08:14:58 +0100 | [diff] [blame] | 143 | |
| 144 | <plugin> |
| 145 | <groupId>io.fabric8</groupId> |
| 146 | <artifactId>docker-maven-plugin</artifactId> |
| 147 | <version>0.27.2</version> |
| 148 | |
| 149 | <configuration> |
| 150 | <images> |
| 151 | <image> |
| 152 | <name>onap/vid-simulator</name> |
| 153 | <build> |
| 154 | <cleanup>remove</cleanup> |
| 155 | <dockerFileDir>${project.basedir}</dockerFileDir> |
| 156 | <tags> |
| 157 | <tag>${project.version}</tag> |
| 158 | <tag>latest</tag> |
| 159 | </tags> |
| 160 | </build> |
| 161 | </image> |
| 162 | </images> |
| 163 | </configuration> |
| 164 | |
| 165 | <executions> |
| 166 | <execution> |
| 167 | <id>generate-image</id> |
| 168 | <phase>package</phase> |
| 169 | <goals> |
| 170 | <goal>build</goal> |
| 171 | </goals> |
| 172 | </execution> |
| 173 | |
| 174 | <execution> |
| 175 | <id>push-image</id> |
| 176 | <phase>deploy</phase> |
| 177 | <goals> |
| 178 | <goal>build</goal> |
| 179 | <goal>push</goal> |
| 180 | </goals> |
| 181 | </execution> |
| 182 | </executions> |
| 183 | |
| 184 | </plugin> |
| 185 | |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 186 | </plugins> |
| 187 | </build> |
Ofir Sonsino | 1cfb087 | 2018-01-31 17:19:00 +0200 | [diff] [blame] | 188 | </project> |