blob: a0a9cff12ed39ca50cce02347bb92128d5adb40a [file] [log] [blame]
Pamela Dragosha974aa02017-02-14 19:31:53 -05001<!--
2 ============LICENSE_START=======================================================
Guo Ruijingf8a620d2017-07-28 08:21:14 +00003 ONAP Policy Engine - Common Modules
Pamela Dragosha974aa02017-02-14 19:31:53 -05004 ================================================================================
5 Copyright (C) 2017 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"
22 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>
Guo Ruijingf8a620d2017-07-28 08:21:14 +000026 <groupId>org.onap.policy.common</groupId>
Pamela Dragosha974aa02017-02-14 19:31:53 -050027 <artifactId>common-modules</artifactId>
Marco Plataniad1be6da2018-01-13 18:17:30 -050028 <version>1.1.3-SNAPSHOT</version>
Pamela Dragosha974aa02017-02-14 19:31:53 -050029 </parent>
Pamela Dragosh11510982017-02-23 05:56:25 -050030
Guo Ruijingf8a620d2017-07-28 08:21:14 +000031 <artifactId>ONAP-Logging</artifactId>
32 <description>ONAP Logging Framework</description>
Pamela Dragosha974aa02017-02-14 19:31:53 -050033 <packaging>jar</packaging>
34
35 <dependencies>
36 <dependency>
37 <groupId>javax.servlet</groupId>
38 <artifactId>javax.servlet-api</artifactId>
39 <version>3.0.1</version>
40 <scope>compile</scope>
41 </dependency>
42 <dependency>
43 <groupId>org.slf4j</groupId>
44 <artifactId>slf4j-api</artifactId>
45 <version>1.7.12</version>
46 </dependency>
47 <dependency>
48 <groupId>com.att.eelf</groupId>
49 <artifactId>eelf-core</artifactId>
50 <version>0.0.1</version>
51 </dependency>
52 <dependency>
53 <groupId>log4j</groupId>
54 <artifactId>log4j</artifactId>
55 <version>1.2.17</version>
56 <scope>provided</scope>
57 </dependency>
58 </dependencies>
Pamela Dragosha972b6a2017-03-10 11:28:23 -050059
Pamela Dragosha974aa02017-02-14 19:31:53 -050060 <build>
61 <plugins>
62 <plugin>
63 <groupId>com.att.eelf</groupId>
64 <artifactId>eelf-maven-plugin</artifactId>
65 <version>0.0.1</version>
66 <executions>
67 <execution>
68 <phase>install</phase>
69 <goals>
70 <goal>WikiMsgGenerator</goal>
71 </goals>
72 </execution>
73 </executions>
74 <dependencies>
75 <!-- We need to include the dependency of the project so that its include
76 in classpath when running plugin -->
77 <dependency>
Guo Ruijingf8a620d2017-07-28 08:21:14 +000078 <groupId>org.onap.policy.common</groupId>
79 <artifactId>ONAP-Logging</artifactId>
Pamela Dragosha972b6a2017-03-10 11:28:23 -050080 <version>${project.version}</version>
Pamela Dragosha974aa02017-02-14 19:31:53 -050081 </dependency>
82 </dependencies>
83 <configuration>
84 <outputDirectory>target/messages</outputDirectory>
85 <outputFile>messages.html</outputFile>
86 <resources>
87 <resource>
Guo Ruijingf8a620d2017-07-28 08:21:14 +000088 <messageClass>org.onap.policy.common.logging.eelf.MessageCodes</messageClass>
Pamela Dragosha974aa02017-02-14 19:31:53 -050089 This needs to be replaced with your Enum class name .which
90 implements EELFResolvableErrorEnum and have your defined error
91 codes.
92 <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>
93 <p>
94 <ac:macro ac:name="anchor"> <ac:default-parameter>Application Messages</ac:default-parameter> </ac:macro> </p> <h2>Application Messages</h2>]]></header>
95 </resource>
96
97 </resources>
98 </configuration>
99 </plugin>
100 </plugins>
101 </build>
102</project>