JVCN Maven Plugin

vChain Code Notary Dependency verification

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

us.vchain
Идентификатор

Идентификатор

jvcn-maven-plugin
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

JVCN Maven Plugin
vChain Code Notary Dependency verification
Ссылка на сайт

Ссылка на сайт

https://www.codenotary.io
Организация-разработчик

Организация-разработчик

vChain
Система контроля версий

Система контроля версий

https://github.com/vchain-us/jvcn-maven-plugin/tree/master

Скачать jvcn-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>us.vchain</groupId>
    <artifactId>jvcn-maven-plugin</artifactId>
    <version>0.0.1</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
us.vchain : jvcn jar 0.0.1
org.apache.maven.shared : maven-dependency-tree jar 3.0.1

provided (4)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.3.9
org.apache.maven : maven-core jar 3.3.9
org.apache.maven : maven-artifact jar 3.3.9
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.apache.maven : maven-compat jar 3.3.9
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0

Модули Проекта

Данный проект не имеет модулей.

JVCN Maven Plugin

Maven dependency verification & enforcement via the vChain Code Notary platform.

This package provides a maven plugin for verifying the integrity of your project dependencies through code notary.

License

This software is released under GPL3.

Usage

Add the plugin dependency to your maven project

<build>
   ...
   <plugins>
      ...
      <plugin>
         <groupId>us.vchain</groupId>
         <artifactId>jvcn-maven-plugin</artifactId>
         <version>0.0.1</version>
         <executions>
            <execution>
               <id>audit</id>
               <phase>validate</phase>
               <goals>
                  <goal>audit</goal>
               </goals>
            </execution>
         </executions>
      </plugin>
      ... 
   </plugins>
   ...
</build>

Notarize your dependencies

If the build fails stating that some (or all) dependencies could not be verified, perform the following steps to notarize them:

  1. Download the dependencies JARs from the Maven repository to your machine
  2. Navigate to the CodeNotary dashboard, create an account if you don't already have one and sign each JAR.
  3. Re-run the build. This time all dependencies should be reported as trusted and the build should succeed again.

Plugin configuration

The plugin provides some configuration options:

failOnError (default: true)

Fails the maven build if a single dependency is not signed with the status TRUSTED on the code notary platform.

transitive (default: false)

Analyses the entire dependency graph of your project. By default, only direct dependencies are analysed.

requiredSigner (default: none)

Enforces that all checked dependencies must be signed by the provided signer.

Requirements

The library requires a Java 8 JVM.

us.vchain

CodeNotary Inc

Версии библиотеки

Версия
0.0.1