blob: 9450cd800b94be178069f41d46d687df1cd41a56 [file] [log] [blame]
sai-neetha96a53312019-08-08 12:46:00 +02001<?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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
7 <artifactId>sdnr-wt-readthedocs-installer</artifactId>
8 <version>0.5.1-SNAPSHOT</version>
9 <packaging>pom</packaging>
10 <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
11
12 <parent>
13 <groupId>org.onap.ccsdk.parent</groupId>
14 <artifactId>odlparent-lite</artifactId>
15 <version>1.3.2</version>
16 <relativePath />
17 </parent>
18
19 <properties>
20 <application.name>sdnr-wt-apigateway</application.name>
21 <include.transitive.dependencies>false</include.transitive.dependencies>
22 </properties>
23 <build>
24 <plugins>
25 <plugin>
26 <artifactId>exec-maven-plugin</artifactId>
27 <groupId>org.codehaus.mojo</groupId>
28 <executions>
29 <execution><!-- Run our version calculation script -->
30 <id>generate readthedocs files from helpserver markdowns</id>
31 <phase>generate-resources</phase>
32 <goals>
33 <goal>exec</goal>
34 </goals>
35 <configuration>
36 <executable>convert.sh</executable>
37 </configuration>
38 </execution>
39 </executions>
40 </plugin>
41 <plugin>
42 <artifactId>maven-assembly-plugin</artifactId>
43 <executions>
44 <execution>
45 <id>maven-repo-zip</id>
46 <goals>
47 <goal>single</goal>
48 </goals>
49 <phase>package</phase>
50 <configuration>
51 <attach>true</attach>
52 <finalName>stage/${application.name}-${project.version}</finalName>
53 <descriptors>
54 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
55 </descriptors>
56 <appendAssemblyId>true</appendAssemblyId>
57 </configuration>
58 </execution>
59 </executions>
60 </plugin>
61 <plugin>
62 <artifactId>maven-resources-plugin</artifactId>
63 <version>3.1.0</version>
64 <executions>
65 <execution>
66 <id>copy-resources</id>
67 <!-- here the phase you need -->
68 <!-- <phase>validate</phase> -->
69 <phase>prepare-package</phase>
70 <goals>
71 <goal>copy-resources</goal>
72 </goals>
73 <configuration>
74 <outputDirectory>${project.build.directory}/assembly/docs/</outputDirectory>
75 <resources>
76 <resource>
77 <directory>../../../docs/</directory>
78 <filtering>true</filtering>
79 </resource>
80 </resources>
81 </configuration>
82 </execution>
83 </executions>
84 </plugin>
85 </plugins>
86 </build>
87</project>