-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
- <modelVersion>4.0.0</modelVersion>\r
- <groupId>org.openecomp.portal</groupId>\r
- <artifactId>ecompportal-FE-os</artifactId>\r
- <version>1.1</version>\r
-\r
- <properties>\r
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
+<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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.onap.portal</groupId>
+ <artifactId>onap-portal-parent</artifactId>
+ <version>2.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>portal-FE-os</artifactId>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skipnode>false</skipnode>
- <skipcopy>false</skipcopy>\r
- </properties>\r
-\r
- <build>\r
- <plugins>\r
- <plugin>\r
- <artifactId>maven-clean-plugin</artifactId>\r
- <version>3.0.0</version>\r
- <configuration>\r
- <filesets>\r
- <fileset>\r
- <directory>${basedir}/client/app</directory>\r
- </fileset>\r
- <fileset>\r
- <directory>${basedir}/.tmp</directory>\r
- </fileset>\r
- </filesets>\r
- </configuration>\r
- </plugin>\r
-\r
- <plugin>\r
- <groupId>org.apache.maven.plugins</groupId>\r
- <artifactId>maven-resources-plugin</artifactId>\r
- <version>3.0.2</version>\r
- <executions>\r
- <execution>\r
- <id>copy-src</id>\r
- <phase>generate-resources</phase>\r
- <goals>\r
- <goal>copy-resources</goal>\r
- </goals>\r
- <configuration>\r
- <outputDirectory>${basedir}/client/app</outputDirectory>\r
- <overwrite>false</overwrite>\r
- <skip>${skipcopy}</skip>\r
- <resources>\r
- <resource>\r
- <directory>${basedir}/client/src</directory>\r
- </resource>\r
- </resources>\r
- </configuration>\r
- </execution>\r
-\r
- <execution>\r
- <id>copy-common</id>\r
- <phase>generate-resources</phase>\r
- <goals>\r
- <goal>copy-resources</goal>\r
- </goals>\r
- <configuration>\r
- <outputDirectory>${basedir}/client/app</outputDirectory>\r
- <overwrite>false</overwrite>\r
- <skip>${skipcopy}</skip>\r
- <resources>\r
- <resource>\r
- <directory>../ecomp-portal-FE-common/client/app</directory>\r
- </resource>\r
- </resources>\r
- </configuration>\r
- </execution>\r
-\r
- <!-- copy b2b library into att template -->\r
- <execution>\r
- <id>copy-bower-components-external</id>\r
- <phase>generate-resources</phase>\r
- <goals>\r
- <goal>copy-resources</goal>\r
- </goals>\r
- <configuration>\r
- <outputDirectory>${basedir}/client/bower_components_external</outputDirectory>\r
- <overwrite>false</overwrite>\r
- <skip>${skipcopy}</skip>\r
- <resources>\r
- <resource>\r
- <directory>../ecomp-portal-FE-common/client/bower_components_external</directory>\r
- </resource>\r
- </resources>\r
- </configuration>\r
- </execution>\r
-\r
- </executions>\r
- </plugin>\r
-\r
- <plugin>\r
- <groupId>com.github.eirslett</groupId>\r
- <artifactId>frontend-maven-plugin</artifactId>\r
- <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->\r
- <version>1.3</version>\r
- <configuration>\r
- <skip>${skipnode}</skip>\r
- <nodeVersion>v7.5.0</nodeVersion>\r
- <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>\r
- <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>\r
- <installDirectory>./</installDirectory>\r
- </configuration>\r
- <executions>\r
- <execution>\r
- <!-- optional: you don't really need execution ids, but it looks nice \r
- in your build log. -->\r
- <id>install node and npm</id>\r
- <goals>\r
- <goal>install-node-and-npm</goal>\r
- </goals>\r
- <phase>generate-resources</phase>\r
- </execution>\r
-\r
- <execution>\r
- <id>npm install</id>\r
- <goals>\r
- <goal>npm</goal>\r
- </goals>\r
-\r
- <phase>generate-resources</phase>\r
-\r
- <configuration>\r
- <arguments>install</arguments>\r
- </configuration>\r
- </execution>\r
-\r
- <execution>\r
- <id>npm install bower</id>\r
- <goals>\r
- <goal>npm</goal>\r
- </goals>\r
-\r
- <phase>generate-resources</phase>\r
-\r
- <configuration>\r
- <arguments>install bower</arguments>\r
- </configuration>\r
- </execution>\r
-\r
- <execution>\r
- <id>npm install grunt-cli</id>\r
- <goals>\r
- <goal>npm</goal>\r
- </goals>\r
-\r
- <phase>generate-resources</phase>\r
-\r
- <configuration>\r
- <arguments>install grunt-cli</arguments>\r
- </configuration>\r
- </execution>\r
-\r
- <execution>\r
- <id>bower install</id>\r
- <goals>\r
- <goal>bower</goal>\r
- </goals>\r
-\r
- <configuration>\r
- <arguments>install --allow-root</arguments>\r
- </configuration>\r
- </execution>\r
-\r
- <execution>\r
- <id>grunt build</id>\r
- <goals>\r
- <goal>grunt</goal>\r
- </goals>\r
-\r
- <phase>generate-resources</phase>\r
-\r
- <configuration>\r
- <arguments>build --env=integ</arguments>\r
- </configuration>\r
- </execution>\r
-\r
- </executions>\r
- </plugin>\r
- <!-- \r
- <plugin>\r
- <groupId>org.codehaus.mojo</groupId>\r
- <artifactId>license-maven-plugin</artifactId>\r
- <version>1.10</version>\r
- <configuration>\r
- <encoding>UTF-8</encoding>\r
- <licenseName>my_license</licenseName>\r
- <licenseResolver>${project.baseUri}/license</licenseResolver>\r
- <inceptionYear>2017</inceptionYear>\r
- <organizationName>AT&T Intellectual Property</organizationName>\r
- <projectName>ECOMP Portal</projectName> \r
- <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> \r
- <processStartTag>================================================================================</processStartTag>\r
- <sectionDelimiter>================================================================================</sectionDelimiter>\r
- <processEndTag>================================================================================</processEndTag> \r
- <roots>\r
- <root>client/src</root>\r
- </roots>\r
- <excludes>\r
- <exclude>*.png</exclude>\r
- <exclude>*.drl</exclude>\r
- <exclude>*.gif</exclude>\r
- <exclude>*.jpeg</exclude>\r
- <exclude>*.jpg</exclude>\r
- <exclude>*.bmp</exclude>\r
- <exclude>*.ico</exclude>\r
- <exclude>*.svg</exclude>\r
- </excludes>\r
- </configuration>\r
- <executions>\r
- <execution>\r
- <id>first</id>\r
- <goals>\r
- <goal>update-file-header</goal>\r
- </goals>\r
- <phase>process-sources</phase>\r
- </execution>\r
- </executions>\r
- </plugin>\r
- -->\r
- </plugins>\r
- </build>\r
-</project>
\ No newline at end of file
+ <skipcopy>false</skipcopy>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.0.0</version>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${basedir}/client/app</directory>
+ </fileset>
+ <fileset>
+ <directory>${basedir}/dist</directory>
+ </fileset>
+ <fileset>
+ <directory>${basedir}/.tmp</directory>
+ </fileset>
+ <fileset>
+ <directory>${basedir}/node</directory>
+ </fileset>
+ <fileset>
+ <directory>${basedir}/node_modules</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.0.2</version>
+ <executions>
+ <execution>
+ <id>copy-src</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/client/app</outputDirectory>
+ <overwrite>false</overwrite>
+ <skip>${skipcopy}</skip>
+ <resources>
+ <resource>
+ <directory>${basedir}/client/src</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>copy-common</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/client/app</outputDirectory>
+ <overwrite>false</overwrite>
+ <skip>${skipcopy}</skip>
+ <resources>
+ <resource>
+ <directory>../ecomp-portal-FE-common/client/app</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>copy-bower-components-external</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/client/bower_components_external</outputDirectory>
+ <overwrite>false</overwrite>
+ <skip>${skipcopy}</skip>
+ <resources>
+ <resource>
+ <directory>../ecomp-portal-FE-common/client/bower_components_external</directory>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>com.github.eirslett</groupId>
+ <artifactId>frontend-maven-plugin</artifactId>
+ <!-- Use the latest released version: https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ -->
+ <version>1.3</version>
+ <configuration>
+ <skip>${skipnode}</skip>
+ <nodeVersion>v7.5.0</nodeVersion>
+ <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
+ <npmDownloadRoot>https://nodejs.org/dist/npm/</npmDownloadRoot>
+ <installDirectory>./</installDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <!-- optional: you don't really need execution ids, but it looks nice
+ in your build log. -->
+ <id>install node and npm</id>
+ <goals>
+ <goal>install-node-and-npm</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+
+ <execution>
+ <id>npm install</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>install</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>npm install bower</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>install bower</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>npm install grunt-cli</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>install grunt-cli</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>bower install</id>
+ <goals>
+ <goal>bower</goal>
+ </goals>
+
+ <configuration>
+ <arguments>install --allow-root</arguments>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>grunt build</id>
+ <goals>
+ <goal>grunt</goal>
+ </goals>
+
+ <phase>generate-resources</phase>
+
+ <configuration>
+ <arguments>build --env=integ</arguments>
+ </configuration>
+ </execution>
+
+ </executions>
+ </plugin>
+ <!-- No deployment step for this project -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.8</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>