Add genprocessor project
[dcaegen2/platform.git] / mod / genprocessor / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
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>
6
7   <groupId>org.onap.dcaegen2.platform.mod</groupId>
8   <artifactId>genprocessor</artifactId>
9   <version>1.0.0</version>
10
11   <name>dcaegen2-platform-mod-genprocessor</name>
12   <!-- FIXME change it to the project's website -->
13   <url>http://www.example.com</url>
14
15   <properties>
16     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17     <maven.compiler.source>1.8</maven.compiler.source>
18     <maven.compiler.target>1.8</maven.compiler.target>
19   </properties>
20
21   <dependencies>
22     <!--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
23          Maven Central -->
24     <dependency>
25         <groupId>org.apache.nifi</groupId>
26         <artifactId>nifi-api</artifactId>
27         <version>1.9.2</version>
28     </dependency>
29     <dependency>
30         <groupId>org.apache.nifi</groupId>
31         <artifactId>nifi-record-serialization-service-api</artifactId>
32         <version>1.9.2</version>
33     </dependency>
34     <dependency>
35         <groupId>org.apache.nifi</groupId>
36         <artifactId>nifi-record</artifactId>
37         <version>1.9.2</version>
38     </dependency>
39     <dependency>
40         <groupId>org.apache.nifi</groupId>
41         <artifactId>nifi-processor-utils</artifactId>
42         <version>1.9.2</version>
43     </dependency>
44     <dependency>
45         <groupId>org.apache.nifi</groupId>
46         <artifactId>nifi-utils</artifactId>
47         <version>1.9.2</version>
48     </dependency>
49     <dependency>
50       <groupId>junit</groupId>
51       <artifactId>junit</artifactId>
52       <version>4.11</version>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.javassist</groupId>
57       <artifactId>javassist</artifactId>
58       <version>3.25.0-GA</version>
59     </dependency>
60     <dependency>
61         <groupId>ch.qos.logback</groupId>
62         <artifactId>logback-classic</artifactId>
63         <version>1.2.3</version>
64     </dependency>
65     <dependency>
66         <groupId>com.fasterxml.jackson.core</groupId>
67         <artifactId>jackson-core</artifactId>
68         <version>2.10.0.pr1</version>
69     </dependency>
70     <dependency>
71         <groupId>com.fasterxml.jackson.core</groupId>
72         <artifactId>jackson-databind</artifactId>
73         <version>2.10.0.pr1</version>
74     </dependency>
75     <dependency>
76       <groupId>org.apache.commons</groupId>
77       <artifactId>commons-text</artifactId>
78       <version>1.7</version>
79     </dependency>
80   </dependencies>
81
82   <build>
83     <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
84       <plugins>
85         <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
86         <plugin>
87           <artifactId>maven-clean-plugin</artifactId>
88           <version>3.1.0</version>
89         </plugin>
90         <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
91         <plugin>
92           <artifactId>maven-resources-plugin</artifactId>
93           <version>3.0.2</version>
94         </plugin>
95         <plugin>
96           <artifactId>maven-compiler-plugin</artifactId>
97           <version>3.8.0</version>
98         </plugin>
99         <plugin>
100           <artifactId>maven-surefire-plugin</artifactId>
101           <version>2.22.1</version>
102         </plugin>
103         <plugin>
104           <artifactId>maven-jar-plugin</artifactId>
105           <version>3.0.2</version>
106           <configuration>
107             <archive>
108               <manifest>
109                 <addClasspath>true</addClasspath>
110                 <classpathPrefix>lib/</classpathPrefix>
111                 <mainClass>org.onap.dcae.genprocessor.App</mainClass>
112               </manifest>
113             </archive>
114           </configuration>
115         </plugin>
116         <plugin>
117           <artifactId>maven-install-plugin</artifactId>
118           <version>2.5.2</version>
119         </plugin>
120         <plugin>
121           <artifactId>maven-deploy-plugin</artifactId>
122           <version>2.8.2</version>
123         </plugin>
124         <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
125         <plugin>
126           <artifactId>maven-site-plugin</artifactId>
127           <version>3.7.1</version>
128         </plugin>
129         <plugin>
130           <artifactId>maven-project-info-reports-plugin</artifactId>
131           <version>3.0.0</version>
132         </plugin>
133         <plugin>
134           <artifactId>maven-assembly-plugin</artifactId>
135           <executions>
136             <execution>
137               <phase>package</phase>
138               <goals>
139                 <goal>single</goal>
140               </goals>
141             </execution>
142           </executions>
143           <configuration>
144             <descriptorRefs>
145               <descriptorRef>jar-with-dependencies</descriptorRef>
146             </descriptorRefs>
147             <archive>
148               <manifest>
149                 <addClasspath>true</addClasspath>
150                 <classpathPrefix>lib/</classpathPrefix>
151                 <mainClass>org.onap.dcae.genprocessor.App</mainClass>
152               </manifest>
153             </archive>
154           </configuration>
155         </plugin>
156         <!-- THIS DOES NOT RUN-->
157         <plugin>
158           <artifactId>maven-dependency-plugin</artifactId>
159           <executions>
160             <execution>
161               <phase>package</phase>
162               <goals>
163                 <goal>copy-dependencies</goal>
164               </goals>
165               <configuration>
166                 <outputDirectory>${project.build.directory}/lib</outputDirectory>
167               </configuration>
168             </execution>
169           </executions>
170          </plugin>
171       </plugins>
172     </pluginManagement>
173   </build>
174 </project>