Maven Javassist Plugin

Maven Javassist Plugin.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка Сеть Javassist Библиотеки уровня приложения Bytecode Manipulation Networking
Группа

Группа

com.arpnetworking.commons
Идентификатор

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

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

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

0.2.3
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven Javassist Plugin
Maven Javassist Plugin.
Ссылка на сайт

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

https://github.com/ArpNetworking/maven-javassist
Система контроля версий

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

https://github.com/arpnetworking/maven-javassist

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

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

<plugin>
    <groupId>com.arpnetworking.commons</groupId>
    <artifactId>javassist-maven-plugin</artifactId>
    <version>0.2.3</version>
</plugin>

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
org.javassist : javassist jar 3.27.0-GA
org.apache.maven : maven-core jar 3.6.3
org.apache.maven : maven-plugin-api jar 3.6.3
org.apache.maven : maven-model jar 3.6.3
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0
org.sonatype.plexus : plexus-build-api jar 0.0.7
com.google.guava : guava jar 29.0-jre
com.arpnetworking.commons : javassist-maven-core jar 0.2.3
com.google.code.findbugs : jsr305 jar 3.0.2
com.github.spotbugs : spotbugs-annotations jar 4.0.3

provided (1)

Идентификатор библиотеки Тип Версия
com.arpnetworking.build : build-resources jar 2.0.2

test (4)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.13
org.hamcrest : hamcrest jar 2.2
org.mockito : mockito-core jar 2.23.4
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0

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

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

Maven Javassist

License: Apache 2 Travis Build Maven Artifact

Provides a Maven plugin for processing classes using Javassist by specifying transformations using the included library.

Usage

Add the plugin block to your project. Specify at least the class path to your processor.

<plugin>
  <groupId>com.arpnetworking.commons</groupId>
  <artifactId>javassist-maven-plugin<artifactId>
  <version>0.1.0</version>
  <executions>
    <execution>
      <id>javassist-process</id>
      <goals>
        <goal>process</goal>
      </goals>
      <configuration>
        <processor>${YOUR_PROCESSOR_CLASS}</processor>
      </configuration>
    </execution>
  </executions>
</plugin>

You can also process your test classes by adding an additional execution with the test-process goal:

<execution>
  <id>javassist-test-process</id>
  <goals>
    <goal>test-process</goal>
  </goals>
  <configuration>
    <processor>${YOUR_PROCESSOR_CLASS}</processor>
  </configuration>
</execution>

Additional configuration options include:

  • includes - set of path matching globs for including classes for processing; if not specified all classes are included.
  • excludes - set of path matching globs for excluding classes from processing; if not specified no classes are excluded.
  • threads - the number of threads to execute processing with or threads per core if the value ends with "C".

Development

To build the service locally you must satisfy these prerequisites:

Next, fork the repository, clone and build:

Building:

maven-javassist> ./mvnw verify

To use the local version in your project you must first install it locally:

maven-javassist> ./mvnw install

You can determine the version of the local build from the pom.xml file. Using the local version is intended only for testing or development.

You may also need to add the local repository to your build in order to pick-up the local version:

  • Maven - Included by default.
  • Gradle - Add mavenLocal() to build.gradle in the repositories block.
  • SBT - Add resolvers += Resolver.mavenLocal into project/plugins.sbt.

License

Published under Apache Software License 2.0, see LICENSE

© Inscope Metrics Inc., 2016

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

Версия
0.2.3
0.2.2
0.2.1
0.2.0
0.1.3
0.1.2