monsoon-api
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.github.groupon.monsoon</groupId>
<artifactId>monsoon-api</artifactId>
<version>2.3.1</version>
</dependency><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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.groupon.monsoon</groupId>
<artifactId>monsoon-basepom</artifactId>
<version>2.3.1</version>
</parent>
<artifactId>monsoon-api</artifactId>
<packaging>jar</packaging>
<name>Mon-soon api server</name>
<url>https://github.com/groupon/monsoon</url>
<scm>
<connection>scm:git:github.com:groupon/monsoon.git</connection>
<developerConnection>scm:git:github.com:groupon/monsoon.git</developerConnection>
<url>https://github.com/groupon/monsoon</url>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.targetJdk>1.8</project.build.targetJdk>
</properties>
<dependencies>
<dependency>
<groupId>com.github.groupon.monsoon</groupId>
<artifactId>monsoon-collector-base</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.github.groupon.monsoon</groupId>
<artifactId>monsoon-lib</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.github.groupon.monsoon</groupId>
<artifactId>monsoon-expr</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.github.groupon.monsoon</groupId>
<artifactId>monsoon-impl-intf</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.8</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.4</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>target/npm-src</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>target/npm</directory>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<source>1.8</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<index>true</index>
</archive>
</configuration>
</plugin>
<!-- Copy NPM sources pre-compilation. -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<executions>
<execution>
<id>copy-npm-package-json</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target/npm/www</outputDirectory>
<resources>
<resource>
<directory>src/main/frontend</directory>
<filtering>false</filtering>
<includes>
<include>package.json</include>
<include>**/*.ts</include>
<include>**/*.json</include>
<include>**/*.js.map</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-npm-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target/npm-src/www</outputDirectory>
<resources>
<resource>
<directory>src/main/frontend/src</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/*.ts</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.js.map</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>exec-npm-install</id>
<phase>generate-sources</phase>
<configuration>
<executable>npm</executable>
<workingDirectory>target/npm/www</workingDirectory>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
<execution>
<id>exec-npm-build</id>
<phase>generate-sources</phase>
<configuration>
<executable>npm</executable>
<workingDirectory>target/npm/www</workingDirectory>
<arguments>
<argument>run</argument>
<argument>build</argument>
<argument>--</argument>
<argument>--outDir</argument>
<argument>app</argument>
</arguments>
</configuration>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>