106 lines
3.6 KiB
XML
106 lines
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.libreccm</groupId>
|
|
<artifactId>libreccm-parent</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.libreccm</groupId>
|
|
<artifactId>ccm-apiclient-commons</artifactId>
|
|
<version>7.0.0-SNAPSHOT</version>
|
|
|
|
<name>LibreCCM API Client Commons</name>
|
|
<description>Provides basic classes and common datatypes for RESTful API clients</description>
|
|
<url>https://www.libreccm.org/ccm-apiclient-commons</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Lesser GPL 2.1</name>
|
|
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<build>
|
|
<finalName>ccm-apiclient-commons</finalName>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/typescript</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
<installDirectory>../node</installDirectory>
|
|
</configuration>
|
|
|
|
<executions>
|
|
<execution>
|
|
<id>Install node.js and NPM</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>v12.18.2</nodeVersion>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>install</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>npm publish</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<configuration>
|
|
<arguments>publish --userconfig ../libreccm.npmrc</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|