1 <?xml version="1.0" encoding="UTF-8"?>
3 <project xmlns="http://maven.apache.org/POM/4.0.0" 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>
7 <groupId>org.onap.oparent</groupId>
8 <artifactId>oparent</artifactId>
9 <version>2.0.0</version>
11 <groupId>org.onap.dcaegen2.platform.mod</groupId>
12 <artifactId>genprocessor</artifactId>
13 <version>1.0.0</version>
14 <name>dcaegen2-platform-mod-genprocessor</name>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <maven.deploy.skip>true</maven.deploy.skip>
18 <java.version>1.8</java.version>
19 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
20 <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
21 <docker.push.registry>${env.NEXUS3_PUSH_REGISTRY}</docker.push.registry>
22 <start-class>org.onap.dcae.genprocessor.App</start-class>
23 <!--NOTE: Nifi jars used here are version 1.9.2 but dcae mod is on 1.9.3 because 1.9.3 is not in Maven Central -->
24 <nifi.version>1.9.2</nifi.version>
28 <groupId>org.apache.nifi</groupId>
29 <artifactId>nifi-api</artifactId>
30 <version>${nifi.version}</version>
33 <groupId>org.apache.nifi</groupId>
34 <artifactId>nifi-record-serialization-service-api</artifactId>
35 <version>${nifi.version}</version>
38 <groupId>org.apache.nifi</groupId>
39 <artifactId>nifi-record</artifactId>
40 <version>${nifi.version}</version>
43 <groupId>org.apache.nifi</groupId>
44 <artifactId>nifi-processor-utils</artifactId>
45 <version>${nifi.version}</version>
48 <groupId>org.apache.nifi</groupId>
49 <artifactId>nifi-utils</artifactId>
50 <version>${nifi.version}</version>
53 <groupId>org.javassist</groupId>
54 <artifactId>javassist</artifactId>
55 <version>3.25.0-GA</version>
58 <groupId>ch.qos.logback</groupId>
59 <artifactId>logback-classic</artifactId>
60 <version>1.2.3</version>
63 <groupId>com.fasterxml.jackson.core</groupId>
64 <artifactId>jackson-core</artifactId>
65 <version>2.10.0.pr1</version>
68 <groupId>com.fasterxml.jackson.core</groupId>
69 <artifactId>jackson-databind</artifactId>
70 <version>2.10.0.pr1</version>
73 <groupId>org.apache.commons</groupId>
74 <artifactId>commons-text</artifactId>
75 <version>1.7</version>
78 <groupId>junit</groupId>
79 <artifactId>junit</artifactId>
80 <version>4.11</version>
87 <groupId>io.fabric8</groupId>
88 <artifactId>docker-maven-plugin</artifactId>
90 <verbose>true</verbose>
91 <pullRegistry>${docker.pull.registry}</pullRegistry>
92 <pushRegistry>${docker.push.registry}</pushRegistry>
95 <name>onap/${project.groupId}.${project.artifactId}-http</name>
96 <registry>${onap.nexus.dockerregistry.daily}</registry>
98 <from>nginx:latest</from>
101 <tag>${project.version}</tag>
102 <tag>${project.version}-${maven.build.timestamp}Z</tag>
105 <targetDir>/</targetDir>
109 <source>./nginx.conf</source>
110 <outputDirectory>/etc/nginx/conf.d</outputDirectory>
111 <destName>default.conf</destName>
120 <arg>daemon off;</arg>
126 <name>onap/${project.groupId}.${project.artifactId}-job</name>
127 <registry>${onap.nexus.dockerregistry.daily}</registry>
129 <from>openjdk:8-jre-alpine</from>
132 <tag>${project.version}</tag>
133 <tag>${project.version}-${maven.build.timestamp}Z</tag>
136 <descriptorRef>artifact-with-dependencies</descriptorRef>
138 <workdir>/maven</workdir>
140 <GENPROC_WORKING_DIR>/work</GENPROC_WORKING_DIR>
141 <GENPROC_ONBOARDING_API_HOST>http://onboarding-api/onboarding</GENPROC_ONBOARDING_API_HOST>
142 <GENPROC_PROCESSOR_CLASSFILE_PATH>/code/target/classes/sandbox/DCAEPROCESSOR.class</GENPROC_PROCESSOR_CLASSFILE_PATH>
143 <GENPROC_SLEEP_SEC>10</GENPROC_SLEEP_SEC>
150 <arg>${start-class}</arg>