blob: d2384edd6ecc2df3407a6982c8be771b1592d5bc [file] [log] [blame]
Pamela Dragosha974aa02017-02-14 19:31:53 -05001<!--
2 ============LICENSE_START=======================================================
3 ECOMP Policy Engine - Common Modules
4 ================================================================================
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>
26 <groupId>org.openecomp.policy.common</groupId>
27 <artifactId>common-modules</artifactId>
Pamela Dragosha972b6a2017-03-10 11:28:23 -050028 <version>1.0.0</version>
Pamela Dragosha974aa02017-02-14 19:31:53 -050029 </parent>
Pamela Dragosh11510982017-02-23 05:56:25 -050030
Pamela Dragosha974aa02017-02-14 19:31:53 -050031 <artifactId>ECOMP-Logging</artifactId>
32 <description>ECOMP Logging Framework</description>
33 <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>
78 <groupId>org.openecomp.policy.common</groupId>
79 <artifactId>ECOMP-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>
88 <messageClass>org.openecomp.policy.common.logging.eelf.MessageCodes</messageClass>
89 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>