-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
119 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<?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> | ||
<groupId>org.spdx</groupId> | ||
<artifactId>spdx-java-model-3_0</artifactId> | ||
<version>1.0.0-RC1</version> | ||
<version>1.0.0-RC0</version> | ||
<name>spdx-java-model-3</name> | ||
<description>Generated java model source code</description> | ||
<url>https://github.com/spdx/spdx-java-model-3_0</url> | ||
<url>https://github.com/spdx/spdx-java-model-3_0</url> | ||
<organization> | ||
<name>SPDX</name> | ||
<url>http://spdx.org</url> | ||
</organization> | ||
<licenses> | ||
<license> | ||
<name>The Apache Software License, Version 2.0</name> | ||
|
@@ -22,124 +28,51 @@ | |
<organizationUrl>http://spdx.org</organizationUrl> | ||
</developer> | ||
</developers> | ||
<organization> | ||
<name>SPDX</name> | ||
<url>http://spdx.org</url> | ||
</organization> | ||
<scm> | ||
<connection>scm:git:git://github.com/spdx/spdx-java-model-3_0.git</connection> | ||
<developerConnection>scm:git:[email protected]:spdx/spdx-java-model-3_0.git</developerConnection> | ||
<url>https://github.com/spdx/spdx-java-model-3_0</url> | ||
</scm> | ||
<distributionManagement> | ||
<repository> | ||
<id>ossrh</id> | ||
<name>spdx-spdx-tools</name> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
<scm> | ||
<url>https://github.com/spdx/spdx-java-model-3_0</url> | ||
<connection>scm:git:git://github.com/spdx/spdx-java-model-3_0.git</connection> | ||
<developerConnection>scm:git:[email protected]:spdx/spdx-java-model-3_0.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>8</maven.compiler.source> | ||
<maven.compiler.target>8</maven.compiler.target> | ||
<maven.compiler.source>8</maven.compiler.source> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<dependency-check-maven.version>8.0.1</dependency-check-maven.version> | ||
</properties> | ||
<profiles> | ||
<profile> | ||
<id>doclint-java8-disable</id> | ||
<activation> | ||
<jdk>[1.8,)</jdk> | ||
</activation> | ||
<properties> | ||
<javadoc.opts>-Xdoclint:none</javadoc.opts> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>test</id> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-slf4j2-impl</artifactId> | ||
<version>2.20.0</version> | ||
<scope>test</scope> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>release</id> | ||
<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> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
<configuration> | ||
<keyname>${gpg.keyname}</keyname> | ||
<passphraseServerId>${gpg.keyname}</passphraseServerId> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.spdx</groupId> | ||
<artifactId>spdx-java-core</artifactId> | ||
<version>0.1.0-Alpha</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>2.0.7</version> | ||
</dependency> | ||
<dependency> | ||
<dependency> | ||
<groupId>org.spdx</groupId> | ||
<artifactId>spdx-java-core</artifactId> | ||
<version>1.0.0-RC1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>2.0.7</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.mifmif</groupId> | ||
<artifactId>generex</artifactId> | ||
<version>1.0.2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.mifmif</groupId> | ||
<artifactId>generex</artifactId> | ||
<version>1.0.2</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.11.0</version> | ||
<configuration> | ||
|
@@ -155,47 +88,44 @@ | |
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<id>add-source</id> | ||
<phase>generate-sources</phase> | ||
<goals> | ||
<goal>add-source</goal> | ||
</goals> | ||
<configuration> | ||
<sources> | ||
<source>generated/src/main/java</source> | ||
</sources> | ||
</configuration> | ||
<id>add-source</id> | ||
<phase>generate-sources</phase> | ||
<goals> | ||
<goal>add-source</goal> | ||
</goals> | ||
<configuration> | ||
<sources> | ||
<source>generated/src/main/java</source> | ||
</sources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<configuration> | ||
<quiet>true</quiet> | ||
<notimestamp>true</notimestamp> | ||
<additionalOptions>-Xdoclint:none</additionalOptions> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<configuration> | ||
<additionalparam>${javadoc.opts}</additionalparam> | ||
</configuration> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
<configuration> | ||
<additionalparam>${javadoc.opts}</additionalparam> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<quiet>true</quiet> | ||
<notimestamp>true</notimestamp> | ||
<additionalOptions>-Xdoclint:none</additionalOptions> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.3.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.3.0</version> | ||
<executions> | ||
|
@@ -249,7 +179,6 @@ | |
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>3.0.1</version> | ||
<configuration> | ||
|
@@ -263,6 +192,71 @@ | |
<artifactId>dependency-check-maven</artifactId> | ||
<version>${dependency-check-maven.version}</version> | ||
</plugin> | ||
</plugins> | ||
</plugins> | ||
</build> | ||
</project> | ||
<profiles> | ||
<profile> | ||
<id>doclint-java8-disable</id> | ||
<activation> | ||
<jdk>[1.8,)</jdk> | ||
</activation> | ||
<properties> | ||
<javadoc.opts>-Xdoclint:none</javadoc.opts> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>test</id> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.logging.log4j</groupId> | ||
<artifactId>log4j-slf4j2-impl</artifactId> | ||
<version>2.20.0</version> | ||
<scope>test</scope> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.2.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
<configuration> | ||
<keyname>${gpg.keyname}</keyname> | ||
<passphraseServerId>${gpg.keyname}</passphraseServerId> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |