mirror of
https://github.com/TeamNewPipe/nanojson
synced 2024-09-07 20:23:53 -04:00
247 lines
9.4 KiB
XML
247 lines
9.4 KiB
XML
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
|
|
<groupId>com.grack</groupId>
|
|
<artifactId>nanojson</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>nanojson</name>
|
|
<version>1.8-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
</properties>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<id>html</id>
|
|
<configuration>
|
|
<doctitle>${project.name} ${project.version}</doctitle>
|
|
<windowtitle>${project.name} ${project.version}
|
|
</windowtitle>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
</configuration>
|
|
<reports>
|
|
<report>javadoc</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<configuration>
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
<propertyExpansion>basedir=${basedir}</propertyExpansion>
|
|
<linkXRef>false</linkXRef>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>checkstyle</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<!--<plugin>-->
|
|
<!--<groupId>org.codehaus.mojo</groupId>-->
|
|
<!--<artifactId>findbugs-maven-plugin</artifactId>-->
|
|
<!--<version>2.5.5-SNAPSHOT</version>-->
|
|
<!--</plugin>-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>2.22.2</version>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>report-only</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.13.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<configuration>
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
<propertyExpansion>basedir=${basedir}</propertyExpansion>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<phase>test</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>3.0.5</version>
|
|
<configuration>
|
|
<effort>Max</effort>
|
|
<threshold>Low</threshold>
|
|
<includeFilterFile>whizbang/lib-filter.xml</includeFilterFile>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
|
|
<configuration>
|
|
<executable>java</executable>
|
|
<arguments>
|
|
<argument>-classpath</argument>
|
|
<classpath />
|
|
<argument>com.grack.nanojson.perf.Perf$Parse</argument>
|
|
<argument>--time-limit</argument>
|
|
<argument>120s</argument>
|
|
<arguments>--instrument</arguments>
|
|
<argument>micro</argument>
|
|
<arguments>-Cwarmup=20s</arguments>
|
|
</arguments>
|
|
<classpathScope>test</classpathScope>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<debug>true</debug>
|
|
<debuglevel>none</debuglevel>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<archive>
|
|
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
<compilerArgument>-Xlint:all</compilerArgument>
|
|
<compilerArguments>
|
|
<Werror />
|
|
</compilerArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>3.9.1</version>
|
|
<configuration>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Automatic-Module-Name>com.grack.nanojson</Automatic-Module-Name>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<!-- Profile for release to sonatype -->
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>1.6.8</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<serverId>sonatype-nexus-staging</serverId>
|
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:mmastrac/nanojson.git</connection>
|
|
<developerConnection>scm:git:git@github.com:mmastrac/nanojson.git</developerConnection>
|
|
<url>scm:git:git@github.com:mmastrac/nanojson.git</url>
|
|
</scm>
|
|
|
|
</project>
|