Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
Guo Ruijing | f8a620d | 2017-07-28 08:21:14 +0000 | [diff] [blame] | 3 | ONAP Policy Engine - Common Modules |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 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> |
Guo Ruijing | f8a620d | 2017-07-28 08:21:14 +0000 | [diff] [blame] | 26 | <groupId>org.onap.policy.common</groupId> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 27 | <artifactId>common-modules</artifactId> |
Marco Platania | d1be6da | 2018-01-13 18:17:30 -0500 | [diff] [blame] | 28 | <version>1.1.3-SNAPSHOT</version> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 29 | </parent> |
Pamela Dragosh | 1151098 | 2017-02-23 05:56:25 -0500 | [diff] [blame] | 30 | |
Guo Ruijing | f8a620d | 2017-07-28 08:21:14 +0000 | [diff] [blame] | 31 | <artifactId>ONAP-Logging</artifactId> |
| 32 | <description>ONAP Logging Framework</description> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 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 Dragosh | a972b6a | 2017-03-10 11:28:23 -0500 | [diff] [blame] | 59 | |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 60 | <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 Ruijing | f8a620d | 2017-07-28 08:21:14 +0000 | [diff] [blame] | 78 | <groupId>org.onap.policy.common</groupId> |
| 79 | <artifactId>ONAP-Logging</artifactId> |
Pamela Dragosh | a972b6a | 2017-03-10 11:28:23 -0500 | [diff] [blame] | 80 | <version>${project.version}</version> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 81 | </dependency> |
| 82 | </dependencies> |
| 83 | <configuration> |
| 84 | <outputDirectory>target/messages</outputDirectory> |
| 85 | <outputFile>messages.html</outputFile> |
| 86 | <resources> |
| 87 | <resource> |
Guo Ruijing | f8a620d | 2017-07-28 08:21:14 +0000 | [diff] [blame] | 88 | <messageClass>org.onap.policy.common.logging.eelf.MessageCodes</messageClass> |
Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame] | 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> |