Changing groupId to fix jenkins merge issue
[policy/apex-pdp.git] / model / basic-model / pom.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2018 Ericsson. All rights reserved.
4   ================================================================================
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16
17   SPDX-License-Identifier: Apache-2.0
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.onap.policy.apex-pdp.model</groupId>
27         <artifactId>model</artifactId>
28         <version>2.0.0-SNAPSHOT</version>
29     </parent>
30
31     <artifactId>basic-model</artifactId>
32     <name>${project.artifactId}</name>
33     <description>Basic Models used and model handling in Apex</description>
34
35     <dependencies>
36         <dependency>
37             <groupId>org.onap.policy.apex-pdp.model</groupId>
38             <artifactId>utilities</artifactId>
39             <version>${project.version}</version>
40         </dependency>
41         <dependency>
42             <groupId>org.eclipse.persistence</groupId>
43             <artifactId>eclipselink</artifactId>
44             <version>2.6.2</version>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.derby</groupId>
48             <artifactId>derby</artifactId>
49             <version>10.13.1.1</version>
50             <scope>test</scope>
51         </dependency>
52     </dependencies>
53
54     <build>
55         <plugins>
56             <plugin>
57                 <groupId>org.codehaus.mojo</groupId>
58                 <artifactId>exec-maven-plugin</artifactId>
59                 <executions>
60                     <execution>
61                         <id>generate-xml-schema</id>
62                         <phase>process-classes</phase>
63                         <goals>
64                             <goal>java</goal>
65                         </goals>
66                         <configuration>
67                             <mainClass>org.onap.apex.model.basicmodel.handling.ApexSchemaGenerator</mainClass>
68                             <classpathScope>compile</classpathScope>
69                             <arguments>
70                                 <argument>org.onap.apex.model.basicmodel.concepts.AxModel</argument>
71                                 <argument>${project.build.directory}/model/xml/apex-basic-model.xsd</argument>
72                             </arguments>
73                         </configuration>
74                     </execution>
75                 </executions>
76             </plugin>
77         </plugins>
78     </build>
79     <profiles>
80         <profile>
81             <!--This profile is used to store Eclipse m2e settings only. It has no 
82                 influence on the Maven build itself. -->
83             <id>only-eclipse</id>
84             <activation>
85                 <property>
86                     <name>m2e.version</name>
87                 </property>
88             </activation>
89             <build>
90                 <pluginManagement>
91                     <plugins>
92                         <plugin>
93                             <groupId>org.eclipse.m2e</groupId>
94                             <artifactId>lifecycle-mapping</artifactId>
95                             <version>1.0.0</version>
96                             <configuration>
97                                 <lifecycleMappingMetadata>
98                                     <pluginExecutions>
99                                         <pluginExecution>
100                                             <pluginExecutionFilter>
101                                                 <groupId>org.codehaus.mojo</groupId>
102                                                 <artifactId>exec-maven-plugin</artifactId>
103                                                 <versionRange>1.2.1</versionRange>
104                                                 <goals>
105                                                     <goal>java</goal>
106                                                 </goals>
107                                             </pluginExecutionFilter>
108                                             <action>
109                                                 <execute />
110                                             </action>
111                                         </pluginExecution>
112                                     </pluginExecutions>
113                                 </lifecycleMappingMetadata>
114                             </configuration>
115                         </plugin>
116                     </plugins>
117                 </pluginManagement>
118             </build>
119         </profile>
120     </profiles>
121 </project>