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