blob: d02ede1fd316084d8acd11467d916ced1b363dcd [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.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 -->
20
21<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">
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
25 <groupId>org.onap.policy.common</groupId>
26 <artifactId>common-modules</artifactId>
27 <version>1.4.0-SNAPSHOT</version>
28 </parent>
29
30 <artifactId>gson</artifactId>
31 <description>Common Utilities</description>
32 <packaging>jar</packaging>
33
Jim Hahn4ec725e2019-02-06 13:14:57 -050034 <dependencies>
35 <dependency>
Jim Hahn2917a672019-02-15 17:43:45 -050036 <groupId>org.slf4j</groupId>
37 <artifactId>slf4j-api</artifactId>
38 <scope>provided</scope>
39 </dependency>
40 <dependency>
Jim Hahn4ec725e2019-02-06 13:14:57 -050041 <groupId>org.glassfish.jersey.core</groupId>
42 <artifactId>jersey-server</artifactId>
43 <version>${jersey.version}</version>
44 </dependency>
45 <dependency>
46 <groupId>com.google.code.gson</groupId>
47 <artifactId>gson</artifactId>
48 </dependency>
49 <dependency>
Jim Hahn4ec725e2019-02-06 13:14:57 -050050 <groupId>org.assertj</groupId>
51 <artifactId>assertj-core</artifactId>
Jim Hahn4ec725e2019-02-06 13:14:57 -050052 <scope>test</scope>
53 </dependency>
54 <dependency>
55 <groupId>junit</groupId>
56 <artifactId>junit</artifactId>
57 <scope>test</scope>
58 </dependency>
59 </dependencies>
60
61 <build>
62 <pluginManagement>
63 <plugins>
64 <!--This plugin's configuration is used to store Eclipse m2e settings
65 only. It has no influence on the Maven build itself. -->
66 <plugin>
67 <groupId>org.eclipse.m2e</groupId>
68 <artifactId>lifecycle-mapping</artifactId>
69 <version>1.0.0</version>
70 <configuration>
71 <lifecycleMappingMetadata>
72 <pluginExecutions>
73 <pluginExecution>
74 <pluginExecutionFilter>
75 <groupId>org.jacoco</groupId>
76 <artifactId>
77 jacoco-maven-plugin
78 </artifactId>
79 <versionRange>
80 [0.7.1.201405082137,)
81 </versionRange>
82 <goals>
83 <goal>prepare-agent</goal>
84 </goals>
85 </pluginExecutionFilter>
86 <action>
87 <ignore />
88 </action>
89 </pluginExecution>
90 </pluginExecutions>
91 </lifecycleMappingMetadata>
92 </configuration>
93 </plugin>
94 </plugins>
95 </pluginManagement>
96 <plugins>
97 <plugin>
98 <artifactId>maven-checkstyle-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>onap-java-style</id>
102 <goals>
103 <goal>check</goal>
104 </goals>
105 <phase>process-sources</phase>
106 <configuration>
107 <!-- Use Google Java Style Guide:
108 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
109 with minor changes -->
110 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
111 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
112 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
113 <includeResources>true</includeResources>
114 <includeTestSourceDirectory>true</includeTestSourceDirectory>
115 <includeTestResources>true</includeTestResources>
116 <excludes>
117 </excludes>
118 <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
119 <consoleOutput>true</consoleOutput>
120 <failsOnViolation>true</failsOnViolation>
121 <violationSeverity>warning</violationSeverity>
122 </configuration>
123 </execution>
124 </executions>
125 <dependencies>
126 <dependency>
127 <groupId>org.onap.oparent</groupId>
128 <artifactId>checkstyle</artifactId>
129 <version>${oparent.version}</version>
130 <scope>compile</scope>
131 </dependency>
132 </dependencies>
133 </plugin>
134 </plugins>
135 </build>
136</project>