Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame^] | 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.portal</groupId> |
| 7 | <artifactId>onap-portal-parent</artifactId> |
| 8 | <version>1.3.0-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 11 | <artifactId>ecompportal-FE-os</artifactId> |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 12 | |
| 13 | <properties> |
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
st782s | b54df0d | 2017-05-04 07:48:42 -0400 | [diff] [blame] | 15 | <skipnode>false</skipnode> |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 16 | <skipcopy>false</skipcopy> |
| 17 | </properties> |
| 18 | |
| 19 | <build> |
| 20 | <plugins> |
| 21 | <plugin> |
| 22 | <artifactId>maven-clean-plugin</artifactId> |
| 23 | <version>3.0.0</version> |
| 24 | <configuration> |
| 25 | <filesets> |
| 26 | <fileset> |
| 27 | <directory>${basedir}/client/app</directory> |
| 28 | </fileset> |
| 29 | <fileset> |
Christopher Lott (cl778h) | 52ef947 | 2017-08-30 16:09:59 -0400 | [diff] [blame] | 30 | <directory>${basedir}/dist</directory> |
| 31 | </fileset> |
| 32 | <fileset> |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 33 | <directory>${basedir}/.tmp</directory> |
| 34 | </fileset> |
Christopher Lott (cl778h) | 52ef947 | 2017-08-30 16:09:59 -0400 | [diff] [blame] | 35 | <fileset> |
| 36 | <directory>${basedir}/node</directory> |
| 37 | </fileset> |
| 38 | <fileset> |
| 39 | <directory>${basedir}/node_modules</directory> |
| 40 | </fileset> |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 41 | </filesets> |
| 42 | </configuration> |
| 43 | </plugin> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 44 | <plugin> |
| 45 | <groupId>org.jacoco</groupId> |
| 46 | <artifactId>jacoco-maven-plugin</artifactId> |
| 47 | <version>0.7.6.201602180812</version> |
| 48 | <configuration> |
| 49 | <skip>true</skip> |
| 50 | </configuration> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame^] | 51 | </plugin> |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 52 | <plugin> |
| 53 | <groupId>org.apache.maven.plugins</groupId> |
| 54 | <artifactId>maven-resources-plugin</artifactId> |
| 55 | <version>3.0.2</version> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <id>copy-src</id> |
| 59 | <phase>generate-resources</phase> |
| 60 | <goals> |
| 61 | <goal>copy-resources</goal> |
| 62 | </goals> |
| 63 | <configuration> |
| 64 | <outputDirectory>${basedir}/client/app</outputDirectory> |
| 65 | <overwrite>false</overwrite> |
| 66 | <skip>${skipcopy}</skip> |
| 67 | <resources> |
| 68 | <resource> |
| 69 | <directory>${basedir}/client/src</directory> |
| 70 | </resource> |
| 71 | </resources> |
| 72 | </configuration> |
| 73 | </execution> |
| 74 | |
| 75 | <execution> |
| 76 | <id>copy-common</id> |
| 77 | <phase>generate-resources</phase> |
| 78 | <goals> |
| 79 | <goal>copy-resources</goal> |
| 80 | </goals> |
| 81 | <configuration> |
| 82 | <outputDirectory>${basedir}/client/app</outputDirectory> |
| 83 | <overwrite>false</overwrite> |
| 84 | <skip>${skipcopy}</skip> |
| 85 | <resources> |
| 86 | <resource> |
| 87 | <directory>../ecomp-portal-FE-common/client/app</directory> |
| 88 | </resource> |
| 89 | </resources> |
| 90 | </configuration> |
| 91 | </execution> |
| 92 | |
| 93 | <execution> |
| 94 | <id>copy-bower-components-external</id> |
| 95 | <phase>generate-resources</phase> |
| 96 | <goals> |
| 97 | <goal>copy-resources</goal> |
| 98 | </goals> |
| 99 | <configuration> |
| 100 | <outputDirectory>${basedir}/client/bower_components_external</outputDirectory> |
| 101 | <overwrite>false</overwrite> |
| 102 | <skip>${skipcopy}</skip> |
| 103 | <resources> |
| 104 | <resource> |
| 105 | <directory>../ecomp-portal-FE-common/client/bower_components_external</directory> |
| 106 | </resource> |
| 107 | </resources> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | |
| 111 | </executions> |
| 112 | </plugin> |
| 113 | |
| 114 | <plugin> |
| 115 | <groupId>com.github.eirslett</groupId> |
| 116 | <artifactId>frontend-maven-plugin</artifactId> |
| 117 | <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> |
| 118 | <version>1.3</version> |
| 119 | <configuration> |
| 120 | <skip>${skipnode}</skip> |
| 121 | <nodeVersion>v7.5.0</nodeVersion> |
| 122 | <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> |
| 123 | <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot> |
| 124 | <installDirectory>./</installDirectory> |
| 125 | </configuration> |
| 126 | <executions> |
| 127 | <execution> |
| 128 | <!-- optional: you don't really need execution ids, but it looks nice |
| 129 | in your build log. --> |
| 130 | <id>install node and npm</id> |
| 131 | <goals> |
| 132 | <goal>install-node-and-npm</goal> |
| 133 | </goals> |
| 134 | <phase>generate-resources</phase> |
| 135 | </execution> |
| 136 | |
| 137 | <execution> |
| 138 | <id>npm install</id> |
| 139 | <goals> |
| 140 | <goal>npm</goal> |
| 141 | </goals> |
| 142 | |
| 143 | <phase>generate-resources</phase> |
| 144 | |
| 145 | <configuration> |
| 146 | <arguments>install</arguments> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | |
| 150 | <execution> |
| 151 | <id>npm install bower</id> |
| 152 | <goals> |
| 153 | <goal>npm</goal> |
| 154 | </goals> |
| 155 | |
| 156 | <phase>generate-resources</phase> |
| 157 | |
| 158 | <configuration> |
| 159 | <arguments>install bower</arguments> |
| 160 | </configuration> |
| 161 | </execution> |
| 162 | |
| 163 | <execution> |
| 164 | <id>npm install grunt-cli</id> |
| 165 | <goals> |
| 166 | <goal>npm</goal> |
| 167 | </goals> |
| 168 | |
| 169 | <phase>generate-resources</phase> |
| 170 | |
| 171 | <configuration> |
| 172 | <arguments>install grunt-cli</arguments> |
| 173 | </configuration> |
| 174 | </execution> |
| 175 | |
| 176 | <execution> |
| 177 | <id>bower install</id> |
| 178 | <goals> |
| 179 | <goal>bower</goal> |
| 180 | </goals> |
| 181 | |
| 182 | <configuration> |
| 183 | <arguments>install --allow-root</arguments> |
| 184 | </configuration> |
| 185 | </execution> |
| 186 | |
| 187 | <execution> |
| 188 | <id>grunt build</id> |
| 189 | <goals> |
| 190 | <goal>grunt</goal> |
| 191 | </goals> |
| 192 | |
| 193 | <phase>generate-resources</phase> |
| 194 | |
| 195 | <configuration> |
| 196 | <arguments>build --env=integ</arguments> |
| 197 | </configuration> |
| 198 | </execution> |
| 199 | |
| 200 | </executions> |
| 201 | </plugin> |
Christopher Lott (cl778h) | 31ba5d1 | 2017-07-12 14:28:05 -0400 | [diff] [blame] | 202 | <!-- No deployment step for this project --> |
| 203 | <plugin> |
| 204 | <groupId>org.apache.maven.plugins</groupId> |
| 205 | <artifactId>maven-deploy-plugin</artifactId> |
| 206 | <version>2.8</version> |
| 207 | <configuration> |
| 208 | <skip>true</skip> |
| 209 | </configuration> |
| 210 | </plugin> |
Christopher Lott (Christopher) (cl778h) | 627bada | 2017-06-12 09:49:00 -0400 | [diff] [blame] | 211 | </plugins> |
| 212 | </build> |
| 213 | </project> |