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>
5 <groupId>org.openecomp.sdc</groupId>
6 <artifactId>sdc-pubsub</artifactId>
7 <version>1.0.20</version>
8 <packaging>pom</packaging>
9 <name>SDC Plugin Pubsub</name>
12 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
13 <staging.profile.id>176c31dfe190a</staging.profile.id>
19 <artifactId>maven-clean-plugin</artifactId>
20 <version>3.1.0</version>
23 <id>clean dist folder and compiled files</id>
31 <directory>${basedir}</directory>
33 <include>index.d.ts</include>
34 <include>index.js</include>
35 <include>index.js.map</include>
39 <directory>${basedir}/dist</directory>
42 <directory>${basedir}/lib</directory>
44 <include>*.d.ts</include>
45 <include>*.js</include>
46 <include>*.js.map</include>
55 <groupId>com.github.eirslett</groupId>
56 <artifactId>frontend-maven-plugin</artifactId>
57 <version>1.6</version>
59 <installDirectory>${project.basedir}</installDirectory>
63 <id>install node and npm</id>
65 <goal>install-node-and-npm</goal>
68 <nodeVersion>v6.9.5</nodeVersion>
69 <npmVersion>3.10.10</npmVersion>
74 <id>npm set progress off</id>
79 <arguments>set progress=false</arguments>
89 <arguments>install</arguments>
94 <id>npm run build</id>
99 <arguments>run build</arguments>
105 <!-- Staging Plugin -->
107 <groupId>org.sonatype.plugins</groupId>
108 <artifactId>nexus-staging-maven-plugin</artifactId>
109 <version>1.6.7</version>
110 <extensions>true</extensions>
112 <nexusUrl>${nexus.proxy}</nexusUrl>
113 <stagingProfileId>${staging.profile.id}</stagingProfileId>
114 <serverId>ecomp-staging</serverId>
121 <distributionManagement>
123 <id>ecomp-releases</id>
124 <name>Release Repository</name>
125 <url>${nexus.proxy}/content/repositories/releases/</url>
128 <id>ecomp-snapshots</id>
129 <name>Snapshot Repository</name>
130 <url>${nexus.proxy}/content/repositories/snapshots/</url>
131 </snapshotRepository>
134 <url>dav:${nexus.proxy}${sitePath}</url>
136 </distributionManagement>