blob: 32fb598b0a62a6073de056cf6f84f98accad2c96 [file] [log] [blame]
Jim Hahn4ec725e2019-02-06 13:14:57 -05001<!--
2 ============LICENSE_START=======================================================
3 ONAP Policy Engine - Common Modules
4 ================================================================================
5 Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
liamfallon89b8fe52019-11-01 11:21:54 +00006 Modifications Copyright (C) 2019 Nordix Foundation.
Jim Hahn4ec725e2019-02-06 13:14:57 -05007 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
22<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.onap.policy.common</groupId>
27 <artifactId>common-modules</artifactId>
HOCKLAe20940f2019-12-06 14:29:46 -060028 <version>1.6.2-SNAPSHOT</version>
Jim Hahn4ec725e2019-02-06 13:14:57 -050029 </parent>
30
31 <artifactId>gson</artifactId>
32 <description>Common Utilities</description>
33 <packaging>jar</packaging>
34
Jim Hahn4ec725e2019-02-06 13:14:57 -050035 <dependencies>
36 <dependency>
Jim Hahn2917a672019-02-15 17:43:45 -050037 <groupId>org.slf4j</groupId>
38 <artifactId>slf4j-api</artifactId>
39 <scope>provided</scope>
40 </dependency>
41 <dependency>
Jim Hahn4ec725e2019-02-06 13:14:57 -050042 <groupId>org.glassfish.jersey.core</groupId>
43 <artifactId>jersey-server</artifactId>
Jim Hahn4ec725e2019-02-06 13:14:57 -050044 </dependency>
45 <dependency>
46 <groupId>com.google.code.gson</groupId>
47 <artifactId>gson</artifactId>
48 </dependency>
49 <dependency>
liamfallon8640a6e2019-03-14 14:24:14 +000050 <groupId>org.projectlombok</groupId>
51 <artifactId>lombok</artifactId>
52 <scope>provided</scope>
53 </dependency>
54 <dependency>
Jim Hahn4ec725e2019-02-06 13:14:57 -050055 <groupId>org.assertj</groupId>
56 <artifactId>assertj-core</artifactId>
Jim Hahn4ec725e2019-02-06 13:14:57 -050057 <scope>test</scope>
58 </dependency>
59 <dependency>
Jim Hahn7b5f7f82019-07-11 10:10:17 -040060 <groupId>org.powermock</groupId>
61 <artifactId>powermock-api-mockito</artifactId>
62 <scope>test</scope>
63 </dependency>
64 <dependency>
Jim Hahn4ec725e2019-02-06 13:14:57 -050065 <groupId>junit</groupId>
66 <artifactId>junit</artifactId>
67 <scope>test</scope>
68 </dependency>
69 </dependencies>
70
71 <build>
72 <pluginManagement>
73 <plugins>
74 <!--This plugin's configuration is used to store Eclipse m2e settings
75 only. It has no influence on the Maven build itself. -->
76 <plugin>
77 <groupId>org.eclipse.m2e</groupId>
78 <artifactId>lifecycle-mapping</artifactId>
79 <version>1.0.0</version>
80 <configuration>
81 <lifecycleMappingMetadata>
82 <pluginExecutions>
83 <pluginExecution>
84 <pluginExecutionFilter>
85 <groupId>org.jacoco</groupId>
86 <artifactId>
87 jacoco-maven-plugin
88 </artifactId>
89 <versionRange>
90 [0.7.1.201405082137,)
91 </versionRange>
92 <goals>
93 <goal>prepare-agent</goal>
94 </goals>
95 </pluginExecutionFilter>
96 <action>
97 <ignore />
98 </action>
99 </pluginExecution>
100 </pluginExecutions>
101 </lifecycleMappingMetadata>
102 </configuration>
103 </plugin>
104 </plugins>
105 </pluginManagement>
106 <plugins>
107 <plugin>
108 <artifactId>maven-checkstyle-plugin</artifactId>
109 <executions>
110 <execution>
111 <id>onap-java-style</id>
112 <goals>
113 <goal>check</goal>
114 </goals>
115 <phase>process-sources</phase>
116 <configuration>
117 <!-- Use Google Java Style Guide:
118 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
119 with minor changes -->
120 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
121 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
HOCKLA79e69312019-12-11 10:24:44 -0600122 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Jim Hahn4ec725e2019-02-06 13:14:57 -0500123 <includeResources>true</includeResources>
124 <includeTestSourceDirectory>true</includeTestSourceDirectory>
125 <includeTestResources>true</includeTestResources>
126 <excludes>
127 </excludes>
Jim Hahn4ec725e2019-02-06 13:14:57 -0500128 <consoleOutput>true</consoleOutput>
129 <failsOnViolation>true</failsOnViolation>
130 <violationSeverity>warning</violationSeverity>
131 </configuration>
132 </execution>
133 </executions>
134 <dependencies>
135 <dependency>
136 <groupId>org.onap.oparent</groupId>
137 <artifactId>checkstyle</artifactId>
138 <version>${oparent.version}</version>
139 <scope>compile</scope>
140 </dependency>
141 </dependencies>
142 </plugin>
143 </plugins>
144 </build>
145</project>