priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [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 | |
| 6 | <modelVersion>4.0.0</modelVersion> |
| 7 | |
| 8 | <artifactId>workflow-designer-be</artifactId> |
| 9 | |
| 10 | <parent> |
vempo | b4e1091 | 2018-07-26 12:10:37 +0300 | [diff] [blame] | 11 | <groupId>org.onap.sdc.sdc-workflow-designer</groupId> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 12 | <artifactId>workflow-designer-parent</artifactId> |
Sonsino, Ofir (os0695) | 6b030f7 | 2019-05-27 15:19:04 +0300 | [diff] [blame^] | 13 | <version>1.5.0-SNAPSHOT</version> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 14 | </parent> |
| 15 | |
| 16 | <properties> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 17 | <spring.boot.version>2.0.3.RELEASE</spring.boot.version> |
| 18 | <mapstruct.version>1.2.0.Final</mapstruct.version> |
| 19 | <lombok.version>1.18.0</lombok.version> |
| 20 | <springfox.version>2.8.0</springfox.version> |
| 21 | </properties> |
| 22 | |
| 23 | <dependencyManagement> |
| 24 | <dependencies> |
| 25 | <dependency> |
| 26 | <groupId>org.springframework.boot</groupId> |
| 27 | <artifactId>spring-boot-dependencies</artifactId> |
| 28 | <version>${spring.boot.version}</version> |
| 29 | <type>pom</type> |
| 30 | <scope>import</scope> |
| 31 | </dependency> |
| 32 | </dependencies> |
| 33 | </dependencyManagement> |
| 34 | |
| 35 | <dependencies> |
| 36 | <dependency> |
| 37 | <groupId>org.springframework.boot</groupId> |
| 38 | <artifactId>spring-boot-starter-web</artifactId> |
| 39 | <exclusions> |
| 40 | <exclusion> |
| 41 | <groupId>org.springframework.boot</groupId> |
| 42 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 43 | </exclusion> |
| 44 | </exclusions> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.springframework.boot</groupId> |
| 48 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 49 | </dependency> |
| 50 | <dependency> |
| 51 | <groupId>org.springframework.boot</groupId> |
| 52 | <artifactId>spring-boot-starter-data-cassandra</artifactId> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.springframework.boot</groupId> |
| 56 | <artifactId>spring-boot-devtools</artifactId> |
| 57 | <scope>runtime</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.springframework.boot</groupId> |
| 61 | <artifactId>spring-boot-starter-test</artifactId> |
| 62 | <scope>test</scope> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>io.springfox</groupId> |
| 66 | <artifactId>springfox-swagger-ui</artifactId> |
| 67 | <version>${springfox.version}</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>io.springfox</groupId> |
| 71 | <artifactId>springfox-swagger2</artifactId> |
| 72 | <version>${springfox.version}</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>org.openecomp.sdc</groupId> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 76 | <artifactId>openecomp-sdc-versioning-api</artifactId> |
| 77 | <version>${onap.version}</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.openecomp.sdc</groupId> |
avigaffa | 657a218 | 2018-07-19 14:10:02 +0300 | [diff] [blame] | 81 | <artifactId>openecomp-sdc-logging-api</artifactId> |
| 82 | <version>${onap.version}</version> |
siddharth0905 | 484e6de | 2018-08-16 11:08:21 +0300 | [diff] [blame] | 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.openecomp.sdc</groupId> |
| 86 | <artifactId>openecomp-sdc-logging-spring</artifactId> |
| 87 | <version>${onap.version}</version> |
avigaffa | 657a218 | 2018-07-19 14:10:02 +0300 | [diff] [blame] | 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.openecomp.sdc</groupId> |
| 91 | <artifactId>openecomp-sdc-logging-core</artifactId> |
| 92 | <version>${onap.version}</version> |
| 93 | <scope>runtime</scope> |
| 94 | </dependency> |
| 95 | <dependency> |
vempo | b88e865 | 2018-08-13 16:59:18 +0300 | [diff] [blame] | 96 | <groupId>ch.qos.logback</groupId> |
| 97 | <artifactId>logback-classic</artifactId> |
| 98 | <scope>runtime</scope> |
| 99 | </dependency> |
| 100 | <dependency> |
avigaffa | 657a218 | 2018-07-19 14:10:02 +0300 | [diff] [blame] | 101 | <groupId>org.openecomp.sdc</groupId> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 102 | <artifactId>openecomp-sdc-versioning-core</artifactId> |
| 103 | <version>${onap.version}</version> |
| 104 | <scope>runtime</scope> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>org.openecomp.sdc.core</groupId> |
| 108 | <artifactId>openecomp-zusammen-api</artifactId> |
| 109 | <version>${onap.version}</version> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.openecomp.sdc.core</groupId> |
| 113 | <artifactId>openecomp-zusammen-core</artifactId> |
| 114 | <version>${onap.version}</version> |
| 115 | <scope>runtime</scope> |
| 116 | <exclusions> |
| 117 | <exclusion> |
| 118 | <groupId>javax.servlet</groupId> |
| 119 | <artifactId>javax.servlet-api</artifactId> |
| 120 | </exclusion> |
| 121 | </exclusions> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>org.mapstruct</groupId> |
| 125 | <artifactId>mapstruct-jdk8</artifactId> |
| 126 | <version>${mapstruct.version}</version> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.mapstruct</groupId> |
| 130 | <artifactId>mapstruct-processor</artifactId> |
| 131 | <version>${mapstruct.version}</version> |
| 132 | <scope>provided</scope> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.projectlombok</groupId> |
| 136 | <artifactId>lombok</artifactId> |
| 137 | <version>${lombok.version}</version> |
| 138 | <scope>provided</scope> |
| 139 | </dependency> |
vempo | b88e865 | 2018-08-13 16:59:18 +0300 | [diff] [blame] | 140 | <dependency> |
| 141 | <groupId>org.springframework.boot</groupId> |
| 142 | <artifactId>spring-boot-starter-actuator</artifactId> |
| 143 | <scope>provided</scope> |
| 144 | </dependency> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 145 | </dependencies> |
| 146 | |
| 147 | <build> |
| 148 | <plugins> |
| 149 | <plugin> |
| 150 | <groupId>org.apache.maven.plugins</groupId> |
| 151 | <artifactId>maven-compiler-plugin</artifactId> |
| 152 | <version>3.5.1</version> |
| 153 | </plugin> |
| 154 | <plugin> |
| 155 | <groupId>org.springframework.boot</groupId> |
| 156 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 157 | <version>${spring.boot.version}</version> |
| 158 | <executions> |
| 159 | <execution> |
| 160 | <goals> |
| 161 | <goal>repackage</goal> |
| 162 | </goals> |
| 163 | </execution> |
| 164 | </executions> |
| 165 | </plugin> |
| 166 | </plugins> |
| 167 | </build> |
| 168 | |
| 169 | <profiles> |
| 170 | <profile> |
| 171 | <id>docker</id> |
| 172 | <activation> |
| 173 | <activeByDefault>false</activeByDefault> |
| 174 | </activation> |
| 175 | <build> |
| 176 | <plugins> |
| 177 | <plugin> |
| 178 | <groupId>io.fabric8</groupId> |
| 179 | <artifactId>docker-maven-plugin</artifactId> |
| 180 | <configuration> |
| 181 | <images> |
| 182 | <image> |
| 183 | <name>onap/workflow-backend</name> |
| 184 | <build> |
| 185 | <tags> |
| 186 | <tag>${project.version}</tag> |
| 187 | </tags> |
| 188 | <from>openjdk:8-jdk-alpine</from> |
| 189 | <user>root</user> |
| 190 | <assembly> |
| 191 | <descriptorRef>artifact</descriptorRef> |
| 192 | <targetDir>/</targetDir> |
| 193 | </assembly> |
vempo | b88e865 | 2018-08-13 16:59:18 +0300 | [diff] [blame] | 194 | <entryPoint> |
| 195 | java ${JAVA_OPTIONS} -jar /${project.build.finalName}.jar |
| 196 | </entryPoint> |
priyanshu | 7e78cd1 | 2018-07-16 19:25:05 +0530 | [diff] [blame] | 197 | </build> |
| 198 | </image> |
| 199 | </images> |
| 200 | </configuration> |
| 201 | </plugin> |
| 202 | </plugins> |
| 203 | </build> |
| 204 | </profile> |
| 205 | </profiles> |
| 206 | |
| 207 | </project> |
| 208 | |