org.fuin.srcgen4j:srcgen4j-maven-parent

Source code generation for Java (Maven Plugin)

Лицензия

Лицензия

Категории

Категории

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

Группа

org.fuin.srcgen4j
Идентификатор

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

srcgen4j-maven-parent
Последняя версия

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

0.4.2
Дата

Дата

Тип

Тип

pom
Описание

Описание

Source code generation for Java (Maven Plugin)
Организация-разработчик

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

fuin.org (Germany)
Система контроля версий

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

https://github.com/fuinorg/srcgen4j-maven/

Скачать srcgen4j-maven-parent

Имя Файла Размер
srcgen4j-maven-parent-0.4.2.pom 1 KB
Обзор

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

<!-- https://jarcasting.com/artifacts/org.fuin.srcgen4j/srcgen4j-maven-parent/ -->
<dependency>
    <groupId>org.fuin.srcgen4j</groupId>
    <artifactId>srcgen4j-maven-parent</artifactId>
    <version>0.4.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.fuin.srcgen4j/srcgen4j-maven-parent/
implementation 'org.fuin.srcgen4j:srcgen4j-maven-parent:0.4.2'
// https://jarcasting.com/artifacts/org.fuin.srcgen4j/srcgen4j-maven-parent/
implementation ("org.fuin.srcgen4j:srcgen4j-maven-parent:0.4.2")
'org.fuin.srcgen4j:srcgen4j-maven-parent:pom:0.4.2'
<dependency org="org.fuin.srcgen4j" name="srcgen4j-maven-parent" rev="0.4.2">
  <artifact name="srcgen4j-maven-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.fuin.srcgen4j', module='srcgen4j-maven-parent', version='0.4.2')
)
libraryDependencies += "org.fuin.srcgen4j" % "srcgen4j-maven-parent" % "0.4.2"
[org.fuin.srcgen4j/srcgen4j-maven-parent "0.4.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

  • srcgen4j-maven-plugin
  • srcgen4j-maven-test

srcgen4j-maven

Source code generation for Java (Maven Plugin)

Build Status Coverage Status Maven Central LGPLv3 License Java Development Kit 1.8

What is this?

The project provides a Maven plugin that executes a parse/generate workflow based on the srcgen4j-common/srcgen4j-core projects.

Usage

Simply add the plugin to your project's Maven POM and add configuration an dependencies.

<plugin>
    <groupId>org.fuin.srcgen4j</groupId>
    <artifactId>srcgen4j-maven-plugin</artifactId>
    <version>0.4.2</version>
    <configuration>
        <!-- Default XML config file name can be changed by adding the following:
        <configFile>srcgen4j-config.xml<configFile>
        -->
        <jaxbClassesToBeBound>
          <!-- JAX enabled configuration classes used in "srcgen4j-config.xml" -->
          <param>org.fuin.srcgen4j.core.velocity.VelocityGeneratorConfig</param>
          <param>org.fuin.srcgen4j.core.velocity.ParameterizedTemplateParserConfig</param>
          <param>org.fuin.srcgen4j.core.velocity.ParameterizedTemplateGeneratorConfig</param>
        </jaxbClassesToBeBound>
    </configuration>
    <dependencies>
        <!-- Libraries used for parsing or code generation that are 
             referenced in "srcgen4j-config.xml"-->    
        <dependency>
            <groupId>org.apache.velocity</groupId>
            <artifactId>velocity</artifactId>
            <version>1.7</version>
        </dependency>
    </dependencies>
</plugin>

Example

You can also find an example project here: test-project.

Debugging

To start the generation process in debug mode you can checkout the srcgen4j-maven-app project.

Snapshots

Snapshots can be found on the OSS Sonatype Snapshots Repository.

Add the following to your .m2/settings.xml (section "repositories") to enable snapshots in your Maven build:

<repository>
    <id>sonatype.oss.snapshots</id>
    <name>Sonatype OSS Snapshot Repository</name>
    <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

An additional entry to the "pluginRepositories" section is also required:

<pluginRepository>
    <id>sonatype.oss.snapshots</id>
    <name>Sonatype OSS Snapshot Repository</name>
    <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</pluginRepository>
org.fuin.srcgen4j

fuin.org

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

Версия
0.4.2
0.4.0