Roll version to recreate release artifacts
[ccsdk/features.git] / sdnr / wt / helpserver / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3         <modelVersion>4.0.0</modelVersion>
4
5         <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
6         <artifactId>sdnr-wt-helpserver-installer</artifactId>
7         <version>0.5.1-SNAPSHOT</version>
8         <packaging>pom</packaging>
9         <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
10
11         <parent>
12                 <groupId>org.onap.ccsdk.parent</groupId>
13                 <artifactId>odlparent-lite</artifactId>
14                 <version>1.3.2</version>
15                 <relativePath/>
16         </parent>
17
18         <properties>
19                 <application.name>sdnr-wt-helpserver</application.name>
20                 <include.transitive.dependencies>false</include.transitive.dependencies>
21         </properties>
22
23         <dependencies>
24
25                 <dependency>
26                         <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
27                         <artifactId>${application.name}-feature</artifactId>
28                         <version>${project.version}</version>
29                         <type>xml</type>
30                         <classifier>features</classifier>
31                         <exclusions>
32                                 <exclusion>
33                                         <groupId>*</groupId>
34                                         <artifactId>*</artifactId>
35                                 </exclusion>
36                         </exclusions>
37                 </dependency>
38                 <dependency>
39                         <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
40                         <artifactId>${application.name}-provider</artifactId>
41                         <version>${project.version}</version>
42                 </dependency>
43                 </dependencies>
44
45         <build>
46                 <plugins>
47                         <plugin>
48                                 <artifactId>maven-assembly-plugin</artifactId>
49                                 <executions>
50                                         <execution>
51                                                 <id>maven-repo-zip</id>
52                                                 <goals>
53                                                         <goal>single</goal>
54                                                 </goals>
55                                                 <phase>package</phase>
56                                                 <configuration>
57                                                         <attach>true</attach>
58                                                         <finalName>stage/${application.name}-${project.version}</finalName>
59                                                         <descriptors>
60                                                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
61                                                         </descriptors>
62                                                         <appendAssemblyId>true</appendAssemblyId>
63                                                 </configuration>
64                                         </execution>
65                                 </executions>
66                         </plugin>
67                         <plugin>
68                                 <groupId>org.apache.maven.plugins</groupId>
69                                 <artifactId>maven-dependency-plugin</artifactId>
70                                 <executions>
71                                         <!-- <execution> -->
72                                         <!-- <id>copy-dependencies</id> -->
73                                         <!-- <goals> -->
74                                         <!-- <goal>copy-dependencies</goal> -->
75                                         <!-- </goals> -->
76                                         <!-- <phase>prepare-package</phase> -->
77                                         <!-- <configuration> -->
78                                         <!-- <transitive>true</transitive> -->
79                                         <!-- <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
80                                         <!-- <overWriteReleases>false</overWriteReleases> -->
81                                         <!-- <overWriteSnapshots>true</overWriteSnapshots> -->
82                                         <!-- <overWriteIfNewer>true</overWriteIfNewer> -->
83                                         <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
84                                         <!-- <addParentPoms>false</addParentPoms> -->
85                                         <!-- <copyPom>false</copyPom> -->
86                                         <!-- <includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
87                                         <!-- <scope>provided</scope> -->
88                                         <!-- </configuration> -->
89                                         <!-- </execution> -->
90                                         <execution>
91                                                 <id>copy-nested-dependencies</id>
92                                                 <goals>
93                                                         <goal>copy-dependencies</goal>
94                                                 </goals>
95                                                 <phase>prepare-package</phase>
96                                                 <configuration>
97                                                         <transitive>true</transitive>
98                                                         <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
99                                                         <overWriteReleases>false</overWriteReleases>
100                                                         <overWriteSnapshots>true</overWriteSnapshots>
101                                                         <overWriteIfNewer>true</overWriteIfNewer>
102                                                         <useRepositoryLayout>true</useRepositoryLayout>
103                                                         <addParentPoms>false</addParentPoms>
104                                                         <copyPom>false</copyPom>
105                                                         <!--<includeArtifactIds>sdnr-wt-apigateway-provider,${application.name}</includeArtifactIds> -->
106                                                         <!--<scope>provided</scope> -->
107                                                 </configuration>
108                                         </execution>
109                                 </executions>
110                         </plugin>
111                 </plugins>
112         </build>
113 </project>