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