diff options
author | Idan Amit <ia096e@intl.att.com> | 2018-09-06 16:02:00 +0300 |
---|---|---|
committer | Idan Amit <ia096e@intl.att.com> | 2018-09-09 09:50:41 +0300 |
commit | 35948898119ccb694dd5f89ca48f8c790bb65819 (patch) | |
tree | 3ba44a225995e6aedba998cf38ec527b261fd5ae | |
parent | f1b34777626835c74baf77028c8a4dee8265dd11 (diff) |
Adding jjb for onap-ui
Added pom.xml file to the project
Defined maven clean install stages for the project
Change-Id: I460d7c36f891339a73dc3197d7e886ace17b4b6b
Issue-ID: SDC-1617
Signed-off-by: Idan Amit <ia096e@intl.att.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | pom.xml | 140 |
2 files changed, 141 insertions, 0 deletions
@@ -5,6 +5,7 @@ /node_modules npm-debug.log* Thumbs.db +/node/ # IDEA files .idea @@ -0,0 +1,140 @@ +<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> + + <groupId>org.openecomp.sdc</groupId> + <artifactId>onap-ui-common</artifactId> + <version>1.0.57</version> + <packaging>pom</packaging> + <name>ONAP UI Common</name> + + <properties> + <nexus.proxy>https://nexus.onap.org</nexus.proxy> + <staging.profile.id>176c31dfe190a</staging.profile.id> + </properties> + + <build> + <plugins> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <id>clean dist folder</id> + <phase>clean</phase> + <goals> + <goal>clean</goal> + </goals> + <configuration> + <filesets> + <fileset> + <directory>${project.basedir}/lib</directory> + </fileset> + </filesets> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>com.github.eirslett</groupId> + <artifactId>frontend-maven-plugin</artifactId> + <version>1.6</version> + <configuration> + <installDirectory>${project.basedir}</installDirectory> + </configuration> + <executions> + <execution> + <id>install node and npm</id> + <goals> + <goal>install-node-and-npm</goal> + </goals> + <configuration> + <nodeVersion>v8.11.4</nodeVersion> + <npmVersion>5.6.0</npmVersion> + </configuration> + </execution> + + <execution> + <id>npm set progress off</id> + <goals> + <goal>npm</goal> + </goals> + <configuration> + <arguments>set progress=false</arguments> + </configuration> + </execution> + + <execution> + <id>npm install</id> + <goals> + <goal>npm</goal> + </goals> + <configuration> + <arguments>install</arguments> + </configuration> + </execution> + + <!--<execution> + <id>npm tslint src</id> + <goals> + <goal>npm</goal> + </goals> + <configuration> + <arguments>run lint:src</arguments> + </configuration> + </execution> + + <execution> + <id>npm tslint storybook</id> + <goals> + <goal>npm</goal> + </goals> + <configuration> + <arguments>run lint:stories</arguments> + </configuration> + </execution>--> + + <execution> + <id>npm run src build</id> + <goals> + <goal>npm</goal> + </goals> + <configuration> + <arguments>run build</arguments> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <nexusUrl>${nexus.proxy}</nexusUrl> + <stagingProfileId>${staging.profile.id}</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + + </plugins> + </build> + + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>Release Repository</name> + <url>${nexus.proxy}/content/repositories/releases/</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>Snapshot Repository</name> + <url>${nexus.proxy}/content/repositories/snapshots/</url> + </snapshotRepository> + <site> + <id>ecomp-site</id> + <url>dav:${nexus.proxy}${sitePath}</url> + </site> + </distributionManagement> +</project> |