-
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.
Merge pull request #2 from deviceinsight/feature/travis-ci
Feature/travis ci
- Loading branch information
Showing
5 changed files
with
198 additions
and
14 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
dist: bionic | ||
|
||
language: java | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
|
||
env: | ||
- MAVEN_OPTS="-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true" | ||
- MAVEN_CLI_OPTS="--batch-mode --errors --fail-at-end --show-version" | ||
|
||
install: "/bin/true" | ||
|
||
script: | ||
- mvn $MAVEN_CLI_OPTS clean verify |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
- Initial version of the dependency-license-exporter | ||
|
||
[Unreleased]: https://github.com/deviceinsight/dependency-license-exporter |
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
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
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 |
---|---|---|
|
@@ -6,15 +6,142 @@ | |
|
||
<groupId>com.deviceinsight</groupId> | ||
<artifactId>dependency-license-exporter</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>Dependency License Exporter</name> | ||
<description>Generates a license list of all dependencies used in the project.</description> | ||
<url>https://github.com/deviceinsight/dependency-license-exporter</url> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>github</id> | ||
<name>GitHub DEVICEINSIGHT Apache Maven Packages</name> | ||
<url>https://maven.pkg.github.com/deviceinsight/dependency-license-exporter</url> | ||
</repository> | ||
</distributionManagement> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<gitflow-maven-plugin.version>1.14.0</gitflow-maven-plugin.version> | ||
<maven-source-plugin.version>3.0.1</maven-source-plugin.version> | ||
<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version> | ||
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> | ||
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> | ||
</properties> | ||
|
||
|
||
<organization> | ||
<name>Device Insight GmbH</name> | ||
<url>https://device-insight.com</url> | ||
</organization> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache License, Version 2.0</name> | ||
<url>https://www.apache.org/licenses/LICENSE-2.0</url> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<id>pvorb</id> | ||
<name>Paul Vorbach</name> | ||
<email>[email protected]</email> | ||
<roles> | ||
<role>Developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/deviceinsight/dependency-license-exporter.git</connection> | ||
<developerConnection>scm:git:ssh://[email protected]:deviceinsight/dependency-license-exporter.git | ||
</developerConnection> | ||
<tag>HEAD</tag> | ||
<url>https://github.com/deviceinsight/dependency-license-exporter.git</url> | ||
</scm> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.amashchenko.maven.plugin</groupId> | ||
<artifactId>gitflow-maven-plugin</artifactId> | ||
<version>${gitflow-maven-plugin.version}</version> | ||
<configuration> | ||
<pushRemote>false</pushRemote> | ||
<versionDigitToIncrement>1</versionDigitToIncrement> | ||
<useSnapshotInHotfix>true</useSnapshotInHotfix> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
|
||
<build> | ||
<plugins> | ||
<!-- To generate javadoc --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>${maven-source-plugin.version}</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-javadoc-plugin</artifactId> | ||
<version>${maven-javadoc-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- To release to Maven central --> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>${nexus-staging-maven-plugin.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>ossrh</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
<!-- To sign the artifacts --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>${maven-gpg-plugin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
</profile> | ||
</profiles> | ||
</project> |