kandi background
Explore Kits

jgit-buildnumber | Git buildnumber for Maven and Ant without Git CLI | Build Tool library

 by   alx3apps Java Version: Current License: No License

 by   alx3apps Java Version: Current License: No License

Download this library from

kandi X-RAY | jgit-buildnumber Summary

jgit-buildnumber is a Java library typically used in Utilities, Build Tool, Maven applications. jgit-buildnumber has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub, Maven.
Allows to get git buildnumbers, while building java projects, in pure Java without Git command-line tool. Note: Maven already has ubiquitous [buildnumber-maven-plugin](http://mojo.codehaus.org/buildnumber-maven-plugin/) , this project is NIH substitution for it with Git support only. Plugin was added to [Maven central](http://repo1.maven.org/maven2/ru/concerteza/buildnumber/maven-jgit-buildnumber-plugin/). Maven-generated site is available [here](http://alx3apps.github.com/jgit-buildnumber).
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • jgit-buildnumber has a low active ecosystem.
  • It has 48 star(s) with 25 fork(s). There are 9 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 8 open issues and 9 have been closed. On average issues are closed in 135 days. There are 4 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of jgit-buildnumber is current.
jgit-buildnumber Support
Best in #Build Tool
Average in #Build Tool
jgit-buildnumber Support
Best in #Build Tool
Average in #Build Tool

quality kandi Quality

  • jgit-buildnumber has 0 bugs and 4 code smells.
jgit-buildnumber Quality
Best in #Build Tool
Average in #Build Tool
jgit-buildnumber Quality
Best in #Build Tool
Average in #Build Tool

securitySecurity

  • jgit-buildnumber has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • jgit-buildnumber code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
jgit-buildnumber Security
Best in #Build Tool
Average in #Build Tool
jgit-buildnumber Security
Best in #Build Tool
Average in #Build Tool

license License

  • jgit-buildnumber does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
jgit-buildnumber License
Best in #Build Tool
Average in #Build Tool
jgit-buildnumber License
Best in #Build Tool
Average in #Build Tool

buildReuse

  • jgit-buildnumber releases are not available. You will need to build from source code and install.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
  • Installation instructions, examples and code snippets are available.
  • It has 566 lines of code, 25 functions and 8 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
jgit-buildnumber Reuse
Best in #Build Tool
Average in #Build Tool
jgit-buildnumber Reuse
Best in #Build Tool
Average in #Build Tool
Top functions reviewed by kandi - BETA

kandi has reviewed jgit-buildnumber and discovered the below as its top functions. This is intended to give you an instant insight into jgit-buildnumber implemented functionality, and help decide if they suit your requirements.

  • Extracts the build number from the given repository directory .
  • Read and return the current list of parents from the given revision .
  • Returns a map of tag names to hash .
  • Evaluates the build number
  • Returns a string representation of this build .
  • Executes the Git build .
  • fill properties .
  • Returns the default build number .
  • Returns the revision of the document .
  • Creates the build number for the given build .

jgit-buildnumber Key Features

Git buildnumber for Maven and Ant without Git CLI

Build number

copy iconCopydownload iconDownload
git describe --exact-match --tags HEAD # tag name
git symbolic-ref -q HEAD # branch name

Usage in Maven 3

copy iconCopydownload iconDownload
<!-- enable JGit plugin -->
<plugin>
    <groupId>ru.concerteza.buildnumber</groupId>
    <artifactId>maven-jgit-buildnumber-plugin</artifactId>
    <version>1.2.9</version>
    <executions>
        <execution>
            <id>git-buildnumber</id>
            <goals>
                <goal>extract-buildnumber</goal>
            </goals>
            <phase>prepare-package</phase>
        </execution>
    </executions>
</plugin>
<!-- specify manifest fields -->
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
        <archive>
            <manifestEntries>
                <Specification-Title>${project.name}</Specification-Title>
                <Specification-Version>${project.version}</Specification-Version>
                <Specification-Vendor>${project.specification_vendor}</Specification-Vendor>
                <Implementation-Title>${project.groupId}.${project.artifactId}</Implementation-Title>
                <Implementation-Version>${git.revision}</Implementation-Version>
                <Implementation-Vendor>${project.implementation_vendor}</Implementation-Vendor>
                <X-Git-Branch>${git.branch}</X-Git-Branch>
                <X-Git-Tag>${git.tag}</X-Git-Tag>
                <X-Git-Commits-Count>${git.commitsCount}</X-Git-Commits-Count>
            </manifestEntries>
        </archive>
    </configuration>
</plugin>

Usage in Ant

copy iconCopydownload iconDownload
<target name="git-revision">
    <taskdef name="jgit-buildnumber" classname="ru.concerteza.util.buildnumber.JGitBuildNumberAntTask" classpathref="lib.static.classpath"/>
    <jgit-buildnumber/>
    <echo>Git version extracted ${git.commitsCount} (${git.shortRevision})</echo>
</target>

Common errors

copy iconCopydownload iconDownload
java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be called

Maven Plugin Signature Check Error

copy iconCopydownload iconDownload
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.apache.jena</groupId>
  <artifactId>jena-examples</artifactId>
    <version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Apache Jena - Code Examples</name>
  <description>A collection of example code illustrating uses of Apache Jena</description>
  <url>http://jena.apache.org/</url>

<properties>
  <ver.jena>[3.1.0,)</ver.jena>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<organization>
  <name>Apache Software Foundation</name>
  <url>http://apache.org</url>
</organization>

<dependencies>
  <dependency>
    <groupId>org.apache.jena</groupId>
    <artifactId>apache-jena-libs</artifactId>
    <version>${ver.jena}</version>
    <type>pom</type>
  </dependency>
  <dependency>
    <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <type>jar</type>
    <scope>compile</scope>
  </dependency>
  <dependency>
    <groupId>commons-cli</groupId>
    <artifactId>commons-cli</artifactId>
    <version>1.2</version>
  </dependency>
</dependencies>

<repositories>
  <repository>
    <id>apache-repo-snapshots</id>
    <url>http://repository.apache.org/content/repositories/snapshots/</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>

  <repository>
    <id>apache-repo-releases</id>
    <url>http://repository.apache.org/content/repositories/releases/</url>
    <releases>
     <enabled>true</enabled>
    </releases>
  </repository>
</repositories>

Community Discussions

Trending Discussions on jgit-buildnumber
  • Maven Plugin Signature Check Error
Trending Discussions on jgit-buildnumber

QUESTION

Maven Plugin Signature Check Error

Asked 2017-Mar-06 at 16:16

I am using the following library as dependency:

<dependency>
            <groupId>org.apache.jena</groupId>
            <artifactId>apache-jena-libs</artifactId>
            <type>pom</type>
            <version>3.2.0</version> <!-- Set version -->
        </dependency>

when doing a mvn clean install, it is failing and generating the following error:

[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check (signature-check) on project frontend-core: Execution signature-check of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check failed. IllegalArgumentException -> [Help 1]

Any idea about why this error and how to solve it ? Thanks

Here goes the whole output of mvn clean install with the error:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ESWC 2015 Tutorial
[INFO] ESWC 2015 Tutorial :: Frontend
[INFO] ESWC 2015 Tutorial :: Frontend :: Core
[INFO] ESWC 2015 Tutorial :: Frontend :: Distributable
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ESWC 2015 Tutorial 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ eswc-2015 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ eswc-2015 ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) @ eswc-2015 ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] Unpacking /home/bakerally/.m2/repository/org/ldp4j/ldp4j-config/1.0.0-SNAPSHOT/ldp4j-config-1.0.0-SNAPSHOT.jar to /home/bakerally/Documents/repositories/github/LDPTest3/target/config with includes "" and excludes ""
[INFO] 
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) @ eswc-2015 ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) @ eswc-2015 ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample@2699b4d)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) @ eswc-2015 ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:timestamp-property (timestamp-property) @ eswc-2015 ---
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO] 
[INFO] --- license-maven-plugin:2.6:format (update-licenses) @ eswc-2015 ---
[INFO] Updating license headers...
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/dist/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/pom.xml
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-legal-files) @ eswc-2015 ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-test-legal-files) @ eswc-2015 ---
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ eswc-2015 ---
[INFO] No tests to run.
[INFO] 
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ eswc-2015 >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ eswc-2015 ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) @ eswc-2015 ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] ldp4j-config-1.0.0-SNAPSHOT.jar already unpacked.
[INFO] 
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) @ eswc-2015 ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) @ eswc-2015 ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample@2699b4d)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) @ eswc-2015 ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ eswc-2015 <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ eswc-2015 ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ eswc-2015 ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- truezip-maven-plugin:1.1:copy (update-sources) @ eswc-2015 ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) @ eswc-2015 ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- license-maven-plugin:2.6:check (check-licenses) @ eswc-2015 ---
[INFO] Checking licenses...
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.11:check (signature-check) @ eswc-2015 ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ eswc-2015 ---
[INFO] Installing /home/bakerally/Documents/repositories/github/LDPTest3/pom.xml to /home/bakerally/.m2/repository/org/ldp4j/tutorial/eswc-2015/1.0.0-SNAPSHOT/eswc-2015-1.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ESWC 2015 Tutorial :: Frontend 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) @ eswc-2015-frontend ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] Unpacking /home/bakerally/.m2/repository/org/ldp4j/ldp4j-config/1.0.0-SNAPSHOT/ldp4j-config-1.0.0-SNAPSHOT.jar to /home/bakerally/Documents/repositories/github/LDPTest3/frontend/target/config with includes "" and excludes ""
[INFO] 
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) @ eswc-2015-frontend ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) @ eswc-2015-frontend ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample@2699b4d)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) @ eswc-2015-frontend ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:timestamp-property (timestamp-property) @ eswc-2015-frontend ---
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO] 
[INFO] --- license-maven-plugin:2.6:format (update-licenses) @ eswc-2015-frontend ---
[INFO] Updating license headers...
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/pom.xml
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/dist/pom.xml
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-legal-files) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-test-legal-files) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ eswc-2015-frontend ---
[INFO] No tests to run.
[INFO] 
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ eswc-2015-frontend >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) @ eswc-2015-frontend ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] ldp4j-config-1.0.0-SNAPSHOT.jar already unpacked.
[INFO] 
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) @ eswc-2015-frontend ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) @ eswc-2015-frontend ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample@2699b4d)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) @ eswc-2015-frontend ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ eswc-2015-frontend <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ eswc-2015-frontend ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- truezip-maven-plugin:1.1:copy (update-sources) @ eswc-2015-frontend ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) @ eswc-2015-frontend ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- license-maven-plugin:2.6:check (check-licenses) @ eswc-2015-frontend ---
[INFO] Checking licenses...
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.11:check (signature-check) @ eswc-2015-frontend ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ eswc-2015-frontend ---
[INFO] Installing /home/bakerally/Documents/repositories/github/LDPTest3/frontend/pom.xml to /home/bakerally/.m2/repository/org/ldp4j/tutorial/frontend/eswc-2015-frontend/1.0.0-SNAPSHOT/eswc-2015-frontend-1.0.0-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ESWC 2015 Tutorial :: Frontend :: Core 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ frontend-core ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ frontend-core ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) @ frontend-core ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] Unpacking /home/bakerally/.m2/repository/org/ldp4j/ldp4j-config/1.0.0-SNAPSHOT/ldp4j-config-1.0.0-SNAPSHOT.jar to /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/config with includes "" and excludes ""
[INFO] 
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) @ frontend-core ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) @ frontend-core ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample@2699b4d)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) @ frontend-core ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:timestamp-property (timestamp-property) @ frontend-core ---
[WARNING] Using platform locale (en_US actually) to format date/time, i.e. build is platform dependent!
[INFO] 
[INFO] --- license-maven-plugin:2.6:format (update-licenses) @ frontend-core ---
[INFO] Updating license headers...
[INFO] Updating license header in: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/pom.xml
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-legal-files) @ frontend-core ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-resource (install-test-legal-files) @ frontend-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ frontend-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/src/main/resources
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ frontend-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ frontend-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ frontend-core ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ frontend-core ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ frontend-core ---
[INFO] Building jar: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/frontend-core-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ frontend-core >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ frontend-core ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.5.1:unpack (unpack) @ frontend-core ---
[INFO] Configured Artifact: org.ldp4j:ldp4j-config:1.0.0-SNAPSHOT:jar
[INFO] ldp4j-config-1.0.0-SNAPSHOT.jar already unpacked.
[INFO] 
[INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber (git-buildnumber) @ frontend-core ---
[INFO] Git info extracted, revision: '2699b4d', branch: 'OSM_Sample', tag: '', commitsCount: '68', buildnumber: '2699b4d'
[INFO] 
[INFO] --- gmaven-plugin:1.0:execute (buildNumber) @ frontend-core ---
Build number: 1.0.0-SNAPSHOT build 68 (OSM_Sample@2699b4d)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default-prepare-agent) @ frontend-core ---
[INFO] jacoco.agent.ut.arg set to -javaagent:/home/bakerally/.m2/repository/org/jacoco/org.jacoco.agent/0.7.1.201405082137/org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=/home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/coverage-reports/jacoco-ut.exec,includes=org.ldp4j.*
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ frontend-core <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ frontend-core ---
[INFO] Building jar: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/frontend-core-1.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ frontend-core ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- truezip-maven-plugin:1.1:copy (update-sources) @ frontend-core ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.1:jar (attach-javadocs) @ frontend-core ---
[INFO] Building jar: /home/bakerally/Documents/repositories/github/LDPTest3/frontend/core/target/frontend-core-1.0.0-SNAPSHOT-javadoc.jar
[INFO] 
[INFO] --- license-maven-plugin:2.6:check (check-licenses) @ frontend-core ---
[INFO] Checking licenses...
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.11:check (signature-check) @ frontend-core ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16-sun:1.10
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ESWC 2015 Tutorial ................................. SUCCESS [  6.794 s]
[INFO] ESWC 2015 Tutorial :: Frontend ..................... SUCCESS [  1.307 s]
[INFO] ESWC 2015 Tutorial :: Frontend :: Core ............. FAILURE [  4.140 s]
[INFO] ESWC 2015 Tutorial :: Frontend :: Distributable .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.964 s
[INFO] Finished at: 2017-03-06T14:53:34+01:00
[INFO] Final Memory: 51M/476M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check (signature-check) on project frontend-core: Execution signature-check of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.11:check failed. IllegalArgumentException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :frontend-core

ANSWER

Answered 2017-Mar-06 at 16:16

You may disable checksum in maven.

This is a trick but may work.

http://www.codeoriented.com/how-to-disable-maven-checksum-validation/

Another way is download library and add manually to local repository.

Describe, how do it. http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

Next another way

In downloads libs with apache-jena-3.2 is example:

<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.apache.jena</groupId>
  <artifactId>jena-examples</artifactId>
    <version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Apache Jena - Code Examples</name>
  <description>A collection of example code illustrating uses of Apache Jena</description>
  <url>http://jena.apache.org/</url>

<properties>
  <ver.jena>[3.1.0,)</ver.jena>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<organization>
  <name>Apache Software Foundation</name>
  <url>http://apache.org</url>
</organization>

<dependencies>
  <dependency>
    <groupId>org.apache.jena</groupId>
    <artifactId>apache-jena-libs</artifactId>
    <version>${ver.jena}</version>
    <type>pom</type>
  </dependency>
  <dependency>
    <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <type>jar</type>
    <scope>compile</scope>
  </dependency>
  <dependency>
    <groupId>commons-cli</groupId>
    <artifactId>commons-cli</artifactId>
    <version>1.2</version>
  </dependency>
</dependencies>

<repositories>
  <repository>
    <id>apache-repo-snapshots</id>
    <url>http://repository.apache.org/content/repositories/snapshots/</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>

  <repository>
    <id>apache-repo-releases</id>
    <url>http://repository.apache.org/content/repositories/releases/</url>
    <releases>
     <enabled>true</enabled>
    </releases>
  </repository>
</repositories>

try set

[3.1.0,)

and add repositories

You may before delete library from local repository. In dir M2_HOME.

Source https://stackoverflow.com/questions/42626345

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install jgit-buildnumber

Build number is project-build’s id, it is generated during build process, stored in MANIFEST.MF file. On application startup it is retrived from MANIFEST.MF to be showed in -v ouput or in webpage footer.

Support

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Compare Build Tool Libraries with Highest Support
Compare Build Tool Libraries with Highest Reuse
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.