initial logging project structure
[logging-analytics.git] / reference / logging-demo / pom.xml
1 <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">
2   <modelVersion>4.0.0</modelVersion>
3   <parent>
4       <groupId>org.onap.logging</groupId>
5       <artifactId>logging-reference</artifactId>
6       <version>1.2.0-SNAPSHOT</version>
7   </parent>
8   
9   <artifactId>logging-demo</artifactId>
10   <packaging>war</packaging>
11   <!-- version>1.2.0-SNAPSHOT</version-->
12   <name>logging-demo</name>
13   
14   <properties>
15        <jackson-2-version>2.5.1</jackson-2-version>
16        <spring.version>4.3.6.RELEASE</spring.version>          
17   </properties>
18   <build>
19       <plugins>
20                     <!-- Checkstyle plugin - used to report on compliance with -->
21               <!-- the Google style guide. -->
22               <plugin>
23                   <groupId>org.apache.maven.plugins</groupId>
24                   <artifactId>maven-site-plugin</artifactId>
25                   <version>3.6</version>
26               </plugin>
27       <plugin>
28         <groupId>org.apache.maven.plugins</groupId>
29         <artifactId>maven-compiler-plugin</artifactId>
30         <version>3.2</version>
31         <configuration>
32           <source>1.8</source>
33           <target>1.8</target>
34         </configuration>
35       </plugin>
36     </plugins>
37       <pluginManagement>
38         <plugins>
39                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
40                 <plugin>
41                         <groupId>org.eclipse.m2e</groupId>
42                         <artifactId>lifecycle-mapping</artifactId>
43                         <version>1.0.0</version>
44                         <configuration>
45                                 <lifecycleMappingMetadata>
46                                         <pluginExecutions>
47                                                 <pluginExecution>
48                                                         <pluginExecutionFilter>
49                                                                 <groupId>
50                                                                         org.apache.maven.plugins
51                                                                 </groupId>
52                                                                 <artifactId>
53                                                                         maven-compiler-plugin
54                                                                 </artifactId>
55                                                                 <versionRange>
56                                                                         [3.2,)
57                                                                 </versionRange>
58                                                                 <goals>
59                                                                         <goal>testCompile</goal>
60                                                                 </goals>
61                                                         </pluginExecutionFilter>
62                                                         <action>
63                                                                 <ignore></ignore>
64                                                         </action>
65                                                 </pluginExecution>
66                                         </pluginExecutions>
67                                 </lifecycleMappingMetadata>
68                         </configuration>
69                 </plugin>
70         </plugins>
71       </pluginManagement>
72   </build>
73     <dependencies>
74         <dependency>
75             <groupId>org.onap.logging</groupId>
76             <artifactId>logging-library</artifactId>
77             <version>1.2.0-SNAPSHOT</version>
78         </dependency>
79         <dependency>
80             <groupId>org.onap.logging</groupId>
81             <artifactId>logging-mock-service</artifactId>
82             <version>1.2.0-SNAPSHOT</version>
83         </dependency>
84         
85         
86             <!-- https://jersey.java.net/documentation/latest/modules-and-dependencies.html -->
87     <dependency>
88         <groupId>javax.ws.rs</groupId>
89         <artifactId>javax.ws.rs-api</artifactId>
90         <version>2.0.1</version>
91     </dependency>
92     <dependency>
93         <groupId>org.glassfish.jersey.containers</groupId>
94         <artifactId>jersey-container-servlet</artifactId>
95         <version>2.23</version>
96     </dependency>
97     <dependency>
98         <groupId>org.glassfish.jersey.core</groupId>
99         <artifactId>jersey-server</artifactId>
100         <version>2.23</version>
101     </dependency>
102     <dependency>
103         <groupId>org.glassfish.jersey.core</groupId>
104         <artifactId>jersey-client</artifactId>
105         <version>2.23</version>
106     </dependency>
107     <dependency>
108         <groupId>org.glassfish.jersey.media</groupId>
109         <artifactId>jersey-media-multipart</artifactId>
110         <version>2.23</version>
111     </dependency>
112     <!-- fixes http://stackoverflow.com/questions/23442440/messagebodyreader-not-found-for-media-type-application-json -->
113     <dependency>
114         <groupId>org.glassfish.jersey.media</groupId>
115         <artifactId>jersey-media-json-jackson</artifactId>
116         <version>2.23</version>
117     </dependency>
118     <!-- for spring injection in rest -->
119     <dependency>
120         <groupId>org.glassfish.jersey.ext</groupId>
121         <artifactId>jersey-spring3</artifactId>
122         <version>2.23</version>
123         <!-- for https://github.com/JakubStas/SpringWithSwagger/issues/2 -->
124         <exclusions>
125                 <exclusion>
126                     <artifactId>spring-context</artifactId>
127                     <groupId>org.springframework</groupId>
128                 </exclusion>
129                 <exclusion>
130                     <artifactId>spring-core</artifactId>
131                     <groupId>org.springframework</groupId>
132                 </exclusion>
133                 <exclusion>
134                     <artifactId>spring-web</artifactId>
135                     <groupId>org.springframework</groupId>
136                 </exclusion>
137                 <exclusion>
138                     <artifactId>spring-beans</artifactId>
139                     <groupId>org.springframework</groupId>
140                 </exclusion>
141             </exclusions>
142     </dependency>
143
144         <!-- json parsing -->
145 <!-- the core, which includes Streaming API, shared low-level abstractions (but NOT data-binding) -->
146  <dependency>
147    <groupId>com.fasterxml.jackson.core</groupId>
148    <artifactId>jackson-core</artifactId>
149    <version>${jackson-2-version}</version>
150  </dependency>
151
152  <!-- Just the annotations; use this dependency if you want to attach annotations
153       to classes without connecting them to the code. -->
154  <dependency>
155    <groupId>com.fasterxml.jackson.core</groupId>
156    <artifactId>jackson-annotations</artifactId>
157    <version>${jackson-2-version}</version>
158 </dependency>
159
160 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
161 <dependency>
162   <groupId>com.fasterxml.jackson.core</groupId>
163   <artifactId>jackson-databind</artifactId>
164   <version>${jackson-2-version}</version>
165 </dependency>
166
167 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
168 <dependency>
169   <groupId>com.fasterxml.jackson.dataformat</groupId>
170   <artifactId>jackson-dataformat-smile</artifactId>
171   <version>${jackson-2-version}</version>
172 </dependency>
173 <!-- JAX-RS provider -->
174 <dependency>
175    <groupId>com.fasterxml.jackson.jaxrs</groupId>
176    <artifactId>jackson-jaxrs-json-provider</artifactId>
177    <version>${jackson-2-version}</version>
178 </dependency>
179 <!-- Support for JAX-B annotations as additional configuration -->
180 <dependency>
181   <groupId>com.fasterxml.jackson.module</groupId>
182   <artifactId>jackson-module-jaxb-annotations</artifactId>
183   <version>${jackson-2-version}</version>
184 </dependency>
185     <dependency>
186         <groupId>com.owlike</groupId>
187         <artifactId>genson</artifactId>
188         <version>1.1</version>
189     </dependency>
190     <!-- dependency>
191         <groupId>org.eclipse.persistence</groupId>
192         <artifactId>javax.persistence</artifactId>
193         <version>2.0.0</version>
194     </dependency-->
195
196     <dependency>
197         <groupId>javax.servlet</groupId>
198         <artifactId>javax.servlet-api</artifactId>
199         <version>3.0.1</version>
200         <scope>provided</scope>
201     </dependency>
202    
203        <dependency>
204             <groupId>org.springframework</groupId>
205             <artifactId>spring-aop</artifactId>
206             <version>${spring.version}</version>
207         </dependency>
208         <dependency>
209             <groupId>org.springframework</groupId>
210             <artifactId>spring-context</artifactId>
211             <version>${spring.version}</version>
212         </dependency>
213         <dependency>
214             <groupId>org.springframework</groupId>
215             <artifactId>spring-core</artifactId>
216             <version>${spring.version}</version>
217         </dependency>
218         <dependency>
219             <groupId>org.springframework</groupId>
220             <artifactId>spring-orm</artifactId>
221             <version>${spring.version}</version>
222         </dependency>
223         <dependency>
224             <groupId>org.springframework</groupId>
225             <artifactId>spring-oxm</artifactId>
226             <version>${spring.version}</version>
227         </dependency>
228         <dependency>
229             <groupId>org.springframework</groupId>
230             <artifactId>spring-test</artifactId>
231             <version>${spring.version}</version>
232             <!--scope>test</scope-->
233         </dependency>
234         <dependency> 
235      <groupId>org.springframework</groupId> 
236      <artifactId>spring-aspects</artifactId> 
237      <version>${spring.version}</version> 
238         </dependency>
239         <dependency>
240             <groupId>org.aspectj</groupId>
241             <artifactId>aspectjrt</artifactId>
242             <version>1.8.1</version>
243         </dependency>
244         <dependency>
245             <groupId>org.springframework</groupId>
246             <artifactId>spring-tx</artifactId>
247             <version>${spring.version}</version>
248         </dependency>
249         <dependency>
250             <groupId>org.springframework</groupId>
251             <artifactId>spring-web</artifactId>
252             <version>${spring.version}</version>
253         </dependency>
254         <dependency>
255             <groupId>org.springframework</groupId>
256             <artifactId>spring-webmvc</artifactId>
257             <version>${spring.version}</version>
258         </dependency> 
259         <!--dependency>
260             <groupId>org.springframework.security</groupId>
261             <artifactId>spring-security-web</artifactId>
262             <version>${spring.security.version}</version>
263         </dependency-->        
264         <!--  dependency>
265             <groupId>org.springframework.boot</groupId>
266             <artifactId>spring-boot-starter-web</artifactId>
267             <version>${spring.boot.version}</version>
268         </dependency-->   
269     </dependencies>
270 </project>