Magnusen, Drew (dm741q) | ca5aaf0 | 2017-08-25 10:20:46 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | feature-test-transaction |
| 4 | ================================================================================ |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 5 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Magnusen, Drew (dm741q) | ca5aaf0 | 2017-08-25 10:20:46 -0500 | [diff] [blame] | 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 | --> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 20 | |
liamfallon | 9920020 | 2018-10-31 16:00:08 +0000 | [diff] [blame] | 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"> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 25 | <artifactId>drools-pdp</artifactId> |
liamfallon | 9920020 | 2018-10-31 16:00:08 +0000 | [diff] [blame] | 26 | <version>1.4.0-SNAPSHOT</version> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 27 | </parent> |
| 28 | <artifactId>feature-test-transaction</artifactId> |
| 29 | |
Magnusen, Drew (dm741q) | ca5aaf0 | 2017-08-25 10:20:46 -0500 | [diff] [blame] | 30 | <name>feature-test-transaction</name> |
| 31 | <description>Separately loadable module which sends test transaction through system</description> |
| 32 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 33 | <properties> |
| 34 | <maven.compiler.source>1.8</maven.compiler.source> |
| 35 | <maven.compiler.target>1.8</maven.compiler.target> |
| 36 | </properties> |
Magnusen, Drew (dm741q) | ca5aaf0 | 2017-08-25 10:20:46 -0500 | [diff] [blame] | 37 | |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 38 | <build> |
| 39 | <plugins> |
| 40 | <plugin> |
| 41 | <artifactId>maven-assembly-plugin</artifactId> |
| 42 | <executions> |
| 43 | <execution> |
| 44 | <id>zipfile</id> |
| 45 | <goals> |
| 46 | <goal>single</goal> |
| 47 | </goals> |
| 48 | <phase>package</phase> |
| 49 | <configuration> |
| 50 | <attach>true</attach> |
| 51 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 52 | <descriptors> |
| 53 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 54 | </descriptors> |
| 55 | <appendAssemblyId>false</appendAssemblyId> |
| 56 | </configuration> |
| 57 | </execution> |
| 58 | </executions> |
| 59 | </plugin> |
| 60 | <plugin> |
| 61 | <groupId>org.apache.maven.plugins</groupId> |
| 62 | <artifactId>maven-dependency-plugin</artifactId> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <id>copy-dependencies</id> |
| 66 | <goals> |
| 67 | <goal>copy-dependencies</goal> |
| 68 | </goals> |
| 69 | <phase>prepare-package</phase> |
| 70 | <configuration> |
| 71 | <transitive>false</transitive> |
| 72 | <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory> |
| 73 | <overWriteReleases>false</overWriteReleases> |
| 74 | <overWriteSnapshots>true</overWriteSnapshots> |
| 75 | <overWriteIfNewer>true</overWriteIfNewer> |
| 76 | <useRepositoryLayout>false</useRepositoryLayout> |
| 77 | <addParentPoms>false</addParentPoms> |
| 78 | <copyPom>false</copyPom> |
| 79 | <includeScope>runtime</includeScope> |
| 80 | <excludeTransitive>true</excludeTransitive> |
| 81 | </configuration> |
| 82 | </execution> |
| 83 | </executions> |
| 84 | </plugin> |
Pamela Dragosh | a0e0c78 | 2018-09-28 04:58:26 -0400 | [diff] [blame] | 85 | <plugin> |
| 86 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 87 | <executions> |
| 88 | <execution> |
| 89 | <id>onap-java-style</id> |
| 90 | <goals> |
| 91 | <goal>check</goal> |
| 92 | </goals> |
| 93 | <phase>process-sources</phase> |
| 94 | <configuration> |
| 95 | <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 96 | with minor changes --> |
| 97 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 98 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 99 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 100 | <includeResources>true</includeResources> |
| 101 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 102 | <includeTestResources>true</includeTestResources> |
| 103 | <excludes> |
| 104 | </excludes> |
| 105 | <suppressionsLocation>${project.baseUri}checkstyle-suppressions.xml</suppressionsLocation> |
| 106 | <consoleOutput>true</consoleOutput> |
| 107 | <failsOnViolation>true</failsOnViolation> |
| 108 | <violationSeverity>warning</violationSeverity> |
| 109 | </configuration> |
| 110 | </execution> |
| 111 | </executions> |
| 112 | <dependencies> |
| 113 | <dependency> |
| 114 | <groupId>org.onap.oparent</groupId> |
| 115 | <artifactId>checkstyle</artifactId> |
| 116 | <version>${oparent.version}</version> |
| 117 | <scope>compile</scope> |
| 118 | </dependency> |
| 119 | </dependencies> |
| 120 | </plugin> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 121 | </plugins> |
| 122 | </build> |
| 123 | <dependencies> |
| 124 | <dependency> |
| 125 | <groupId>org.onap.policy.drools-pdp</groupId> |
| 126 | <artifactId>policy-management</artifactId> |
| 127 | <version>${project.version}</version> |
| 128 | <scope>provided</scope> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>junit</groupId> |
| 132 | <artifactId>junit</artifactId> |
| 133 | <scope>test</scope> |
| 134 | </dependency> |
Jim Hahn | eac53de | 2018-10-01 13:52:03 -0400 | [diff] [blame] | 135 | <dependency> |
| 136 | <groupId>org.powermock</groupId> |
| 137 | <artifactId>powermock-api-mockito</artifactId> |
| 138 | <scope>test</scope> |
| 139 | </dependency> |
Pamela Dragosh | fd307be | 2018-08-28 18:10:51 -0400 | [diff] [blame] | 140 | </dependencies> |
| 141 | </project> |