talasila | 4ad39a5 | 2017-02-07 15:03:57 -0500 | [diff] [blame] | 1 | <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"> |
| 2 | <modelVersion>4.0.0</modelVersion> |
| 3 | <groupId>org.openecomp.portal</groupId> |
| 4 | <artifactId>ecomp-portal-FE</artifactId> |
| 5 | <!-- Jenkins build process will append build number --> |
talasila | 967a54a | 2017-03-10 12:18:42 -0500 | [diff] [blame] | 6 | <version>1.1.0-SNAPSHOT</version> |
Manoop Talasila | 39d1e62 | 2017-04-06 17:27:47 -0400 | [diff] [blame^] | 7 | |
| 8 | <properties> |
| 9 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 10 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
| 11 | </properties> |
| 12 | |
| 13 | <reporting> |
| 14 | <plugins> |
| 15 | <plugin> |
| 16 | <groupId>org.apache.maven.plugins</groupId> |
| 17 | <artifactId>maven-javadoc-plugin</artifactId> |
| 18 | <version>2.10.4</version> |
| 19 | <configuration> |
| 20 | <failOnError>false</failOnError> |
| 21 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 22 | <docletArtifact> |
| 23 | <groupId>org.umlgraph</groupId> |
| 24 | <artifactId>umlgraph</artifactId> |
| 25 | <version>5.6</version> |
| 26 | </docletArtifact> |
| 27 | <additionalparam>-views</additionalparam> |
| 28 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 29 | </configuration> |
| 30 | </plugin> |
| 31 | </plugins> |
| 32 | </reporting> |
| 33 | <distributionManagement> |
| 34 | <site> |
| 35 | <id>ecomp-site</id> |
| 36 | <url>dav:${nexusproxy}${sitePath}</url> |
| 37 | </site> |
| 38 | </distributionManagement> |
| 39 | |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 40 | <build> |
| 41 | <plugins> |
talasila | e1487b0 | 2017-03-08 16:34:14 -0500 | [diff] [blame] | 42 | <plugin> |
| 43 | <groupId>org.apache.maven.plugins</groupId> |
Manoop Talasila | 39d1e62 | 2017-04-06 17:27:47 -0400 | [diff] [blame^] | 44 | <artifactId>maven-site-plugin</artifactId> |
| 45 | <version>3.6</version> |
| 46 | <dependencies> |
| 47 | <dependency> |
| 48 | <groupId>org.apache.maven.wagon</groupId> |
| 49 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 50 | <version>2.10</version> |
| 51 | </dependency> |
| 52 | </dependencies> |
| 53 | </plugin> |
| 54 | <plugin> |
| 55 | <groupId>org.apache.maven.plugins</groupId> |
talasila | e1487b0 | 2017-03-08 16:34:14 -0500 | [diff] [blame] | 56 | <artifactId>maven-deploy-plugin</artifactId> |
| 57 | <version>2.8</version> |
| 58 | <configuration> |
| 59 | <skip>true</skip> |
| 60 | </configuration> |
| 61 | </plugin> |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 62 | <plugin> |
| 63 | <groupId>com.github.eirslett</groupId> |
| 64 | <artifactId>frontend-maven-plugin</artifactId> |
| 65 | <!-- Use the latest released version: |
| 66 | https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 67 | <version>1.3</version> |
| 68 | <configuration> |
| 69 | <nodeVersion>v7.5.0</nodeVersion> |
| 70 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
| 71 | <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot> |
| 72 | <installDirectory>./</installDirectory> |
| 73 | </configuration> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <!-- optional: you don't really need execution ids, but it looks nice in your build log. --> |
| 77 | <id>install node and npm</id> |
| 78 | <goals> |
| 79 | <goal>install-node-and-npm</goal> |
| 80 | </goals> |
| 81 | <phase>generate-resources</phase> |
| 82 | </execution> |
| 83 | |
| 84 | <execution> |
| 85 | <id>npm install</id> |
| 86 | <goals> |
| 87 | <goal>npm</goal> |
| 88 | </goals> |
| 89 | |
| 90 | <phase>generate-resources</phase> |
| 91 | |
| 92 | <configuration> |
| 93 | <arguments>install</arguments> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | |
| 97 | <execution> |
| 98 | <id>npm install bower</id> |
| 99 | <goals> |
| 100 | <goal>npm</goal> |
| 101 | </goals> |
| 102 | |
| 103 | <phase>generate-resources</phase> |
| 104 | |
| 105 | <configuration> |
| 106 | <arguments>install bower</arguments> |
| 107 | </configuration> |
| 108 | </execution> |
| 109 | |
| 110 | <execution> |
| 111 | <id>npm install grunt-cli</id> |
| 112 | <goals> |
| 113 | <goal>npm</goal> |
| 114 | </goals> |
| 115 | |
| 116 | <phase>generate-resources</phase> |
| 117 | |
| 118 | <configuration> |
| 119 | <arguments>install grunt-cli</arguments> |
| 120 | </configuration> |
| 121 | </execution> |
| 122 | |
| 123 | <execution> |
| 124 | <id>bower install</id> |
| 125 | <goals> |
| 126 | <goal>bower</goal> |
| 127 | </goals> |
| 128 | |
| 129 | <configuration> |
| 130 | <arguments>install --allow-root</arguments> |
| 131 | </configuration> |
| 132 | </execution> |
| 133 | |
| 134 | <execution> |
| 135 | <id>grunt build</id> |
| 136 | <goals> |
| 137 | <goal>grunt</goal> |
| 138 | </goals> |
| 139 | |
| 140 | <phase>generate-resources</phase> |
| 141 | |
| 142 | <configuration> |
| 143 | <arguments>build --env=integ</arguments> |
| 144 | </configuration> |
| 145 | </execution> |
| 146 | |
| 147 | </executions> |
| 148 | </plugin> |
| 149 | </plugins> |
| 150 | </build> |
talasila | 4ad39a5 | 2017-02-07 15:03:57 -0500 | [diff] [blame] | 151 | </project> |