|
|
|
@ -1,4 +1,21 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!--
|
|
|
|
|
~ Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
|
|
|
~
|
|
|
|
|
~ WSO2 Inc. licenses this file to you under the Apache License,
|
|
|
|
|
~ Version 2.0 (the "License"); you may not use this file except
|
|
|
|
|
~ in compliance with the License.
|
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
|
~
|
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
~
|
|
|
|
|
~ Unless required by applicable law or agreed to in writing,
|
|
|
|
|
~ software distributed under the License is distributed on an
|
|
|
|
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
|
~ KIND, either express or implied. See the License for the
|
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
|
~ under the License.
|
|
|
|
|
-->
|
|
|
|
|
<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">
|
|
|
|
@ -13,11 +30,6 @@
|
|
|
|
|
<version>3.0.46-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!--<dependency>-->
|
|
|
|
|
<!--<groupId>org.wso2.carbon.apimgt</groupId>-->
|
|
|
|
|
<!--<artifactId>org.wso2.carbon.apimgt.publisher.feature</artifactId>-->
|
|
|
|
|
<!--<type>zip</type>-->
|
|
|
|
|
<!--</dependency>-->
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
@ -44,15 +56,6 @@
|
|
|
|
|
</propertyDef>
|
|
|
|
|
</properties>
|
|
|
|
|
</adviceFile>
|
|
|
|
|
<bundles>
|
|
|
|
|
|
|
|
|
|
</bundles>
|
|
|
|
|
<importFeatures>
|
|
|
|
|
|
|
|
|
|
</importFeatures>
|
|
|
|
|
<importBundles>
|
|
|
|
|
|
|
|
|
|
</importBundles>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
@ -76,36 +79,6 @@
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<!-- 'npm run clean' which is run in clean lifecycle needs 'rimraf' node module.
|
|
|
|
|
Make sure it is installed -->
|
|
|
|
|
<!--<execution>
|
|
|
|
|
<id>npm install rimraf (clean)</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>exec</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>pre-clean</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<executable>${npm.executable}</executable>
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>install</argument>
|
|
|
|
|
<argument>rimraf</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>-->
|
|
|
|
|
<!--<execution>
|
|
|
|
|
<id>npm run clean (clean)</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>exec</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>clean</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<executable>${npm.executable}</executable>
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>run</argument>
|
|
|
|
|
<argument>clean</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>-->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>npm run build (compile)</id>
|
|
|
|
|
<goals>
|
|
|
|
@ -121,21 +94,6 @@
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<!--<execution>-->
|
|
|
|
|
<!--<id>npm run test (test)</id>-->
|
|
|
|
|
<!--<goals>-->
|
|
|
|
|
<!--<goal>exec</goal>-->
|
|
|
|
|
<!--</goals>-->
|
|
|
|
|
<!--<phase>test</phase>-->
|
|
|
|
|
<!--<configuration>-->
|
|
|
|
|
<!--<workingDirectory>${basedir}/src/main/resources/publisher</workingDirectory>-->
|
|
|
|
|
<!--<skip>${maven.test.skip}</skip>-->
|
|
|
|
|
<!--<executable>${npm.executable}</executable>-->
|
|
|
|
|
<!--<arguments>-->
|
|
|
|
|
<!--<argument>test</argument>-->
|
|
|
|
|
<!--</arguments>-->
|
|
|
|
|
<!--</configuration>-->
|
|
|
|
|
<!--</execution>-->
|
|
|
|
|
</executions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<workingDirectory>${npm.working.dir}</workingDirectory>
|
|
|
|
|