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