blob: 6d38fa4897b1cd15e25efe2c091b00cb3113b961 [file] [log] [blame]
Magnusen, Drew (dm741q)ca5aaf02017-08-25 10:20:46 -05001<!--
2 ============LICENSE_START=======================================================
3 feature-test-transaction
4 ================================================================================
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -06005 Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
Magnusen, Drew (dm741q)ca5aaf02017-08-25 10:20:46 -05006 ================================================================================
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 Dragoshfd307be2018-08-28 18:10:51 -040020
liamfallon99200202018-10-31 16:00:08 +000021<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 Dragoshfd307be2018-08-28 18:10:51 -040022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.policy.drools-pdp</groupId>
25 <artifactId>drools-pdp</artifactId>
Taka Cho633fbb72020-07-10 15:09:52 -040026 <version>1.7.1-SNAPSHOT</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040027 </parent>
28 <artifactId>feature-test-transaction</artifactId>
29
Magnusen, Drew (dm741q)ca5aaf02017-08-25 10:20:46 -050030 <name>feature-test-transaction</name>
31 <description>Separately loadable module which sends test transaction through system</description>
32
Pamela Dragoshfd307be2018-08-28 18:10:51 -040033 <properties>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040034 </properties>
Magnusen, Drew (dm741q)ca5aaf02017-08-25 10:20:46 -050035
Pamela Dragoshfd307be2018-08-28 18:10:51 -040036 <build>
37 <plugins>
38 <plugin>
39 <artifactId>maven-assembly-plugin</artifactId>
40 <executions>
41 <execution>
42 <id>zipfile</id>
43 <goals>
44 <goal>single</goal>
45 </goals>
46 <phase>package</phase>
47 <configuration>
48 <attach>true</attach>
49 <finalName>${project.artifactId}-${project.version}</finalName>
50 <descriptors>
51 <descriptor>src/assembly/assemble_zip.xml</descriptor>
52 </descriptors>
53 <appendAssemblyId>false</appendAssemblyId>
54 </configuration>
55 </execution>
56 </executions>
57 </plugin>
58 <plugin>
59 <groupId>org.apache.maven.plugins</groupId>
60 <artifactId>maven-dependency-plugin</artifactId>
61 <executions>
62 <execution>
63 <id>copy-dependencies</id>
64 <goals>
65 <goal>copy-dependencies</goal>
66 </goals>
67 <phase>prepare-package</phase>
68 <configuration>
69 <transitive>false</transitive>
70 <outputDirectory>${project.build.directory}/assembly/lib</outputDirectory>
71 <overWriteReleases>false</overWriteReleases>
72 <overWriteSnapshots>true</overWriteSnapshots>
73 <overWriteIfNewer>true</overWriteIfNewer>
74 <useRepositoryLayout>false</useRepositoryLayout>
75 <addParentPoms>false</addParentPoms>
76 <copyPom>false</copyPom>
77 <includeScope>runtime</includeScope>
78 <excludeTransitive>true</excludeTransitive>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
Pamela Dragosha0e0c782018-09-28 04:58:26 -040083 <plugin>
84 <artifactId>maven-checkstyle-plugin</artifactId>
85 <executions>
86 <execution>
87 <id>onap-java-style</id>
88 <goals>
89 <goal>check</goal>
90 </goals>
91 <phase>process-sources</phase>
92 <configuration>
93 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
94 with minor changes -->
95 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
96 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -060097 <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
Pamela Dragosha0e0c782018-09-28 04:58:26 -040098 <includeResources>true</includeResources>
99 <includeTestSourceDirectory>true</includeTestSourceDirectory>
100 <includeTestResources>true</includeTestResources>
101 <excludes>
102 </excludes>
Pamela Dragosha0e0c782018-09-28 04:58:26 -0400103 <consoleOutput>true</consoleOutput>
104 <failsOnViolation>true</failsOnViolation>
105 <violationSeverity>warning</violationSeverity>
106 </configuration>
107 </execution>
108 </executions>
109 <dependencies>
110 <dependency>
111 <groupId>org.onap.oparent</groupId>
112 <artifactId>checkstyle</artifactId>
113 <version>${oparent.version}</version>
114 <scope>compile</scope>
115 </dependency>
116 </dependencies>
117 </plugin>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400118 </plugins>
119 </build>
120 <dependencies>
121 <dependency>
122 <groupId>org.onap.policy.drools-pdp</groupId>
123 <artifactId>policy-management</artifactId>
124 <version>${project.version}</version>
125 <scope>provided</scope>
126 </dependency>
127 <dependency>
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 <scope>test</scope>
131 </dependency>
Jim Hahneac53de2018-10-01 13:52:03 -0400132 <dependency>
133 <groupId>org.powermock</groupId>
Hockla, Ali (ah999m)956a7b52020-01-13 14:11:46 -0600134 <artifactId>powermock-api-mockito2</artifactId>
Jim Hahneac53de2018-10-01 13:52:03 -0400135 <scope>test</scope>
136 </dependency>
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400137 </dependencies>
138</project>