Use latest released parent pom
[ccsdk/features.git] / sdnr / wt / readthedocs / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~ Licensed under the Apache License, Version 2.0 (the "License");
9   ~ you may not use this file except in compliance with the License.
10   ~ You may obtain a copy of the License at
11   ~
12   ~     http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~ Unless required by applicable law or agreed to in writing, software
15   ~ distributed under the License is distributed on an "AS IS" BASIS,
16   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~ See the License for the specific language governing permissions and
18   ~ limitations under the License.
19   ~ ============LICENSE_END=======================================================
20   ~
21   -->
22
23 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <parent>
27         <groupId>org.onap.ccsdk.parent</groupId>
28         <artifactId>odlparent-lite</artifactId>
29         <version>2.4.4</version>
30         <relativePath/>
31     </parent>
32
33     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
34     <artifactId>sdnr-wt-readthedocs-installer</artifactId>
35     <version>1.4.0-SNAPSHOT</version>
36     <packaging>pom</packaging>
37
38     <name>ccsdk-features :: ${project.artifactId}</name>
39
40     <properties>
41         <application.name>sdnr-wt-readthedocs-installer</application.name>
42         <include.transitive.dependencies>false</include.transitive.dependencies>
43     </properties>
44
45     <build>
46         <plugins>
47             <plugin>
48                 <artifactId>exec-maven-plugin</artifactId>
49                 <groupId>org.codehaus.mojo</groupId>
50                 <executions>
51                     <execution><!-- Run our version calculation script -->
52                         <id>generate readthedocs files from helpserver markdowns</id>
53                         <phase>generate-resources</phase>
54                         <goals>
55                             <goal>exec</goal>
56                         </goals>
57                         <configuration>
58                             <executable>convert.sh</executable>
59                         </configuration>
60                     </execution>
61                 </executions>
62             </plugin>
63             <plugin>
64                 <artifactId>maven-assembly-plugin</artifactId>
65                 <executions>
66                     <execution>
67                         <id>maven-repo-zip</id>
68                         <goals>
69                             <goal>single</goal>
70                         </goals>
71                         <phase>package</phase>
72                         <configuration>
73                             <attach>true</attach>
74                             <finalName>stage/${application.name}-${project.version}</finalName>
75                             <descriptors>
76                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
77                             </descriptors>
78                             <appendAssemblyId>true</appendAssemblyId>
79                         </configuration>
80                     </execution>
81                 </executions>
82             </plugin>
83             <plugin>
84                 <artifactId>maven-resources-plugin</artifactId>
85                 <version>3.1.0</version>
86                 <executions>
87                     <execution>
88                         <id>copy-resources</id>
89                         <!-- here the phase you need -->
90                         <!-- <phase>validate</phase> -->
91                         <phase>prepare-package</phase>
92                         <goals>
93                             <goal>copy-resources</goal>
94                         </goals>
95                         <configuration>
96                             <outputDirectory>${project.build.directory}/assembly/docs/</outputDirectory>
97                             <resources>
98                                 <resource>
99                                     <directory>../../../docs/</directory>
100                                     <filtering>true</filtering>
101                                 </resource>
102                             </resources>
103                         </configuration>
104                     </execution>
105                 </executions>
106             </plugin>
107         </plugins>
108     </build>
109 </project>