Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eskatos/artifactinfo-maven-plugin
Generate source files that contains maven artifact informations
https://github.com/eskatos/artifactinfo-maven-plugin
Last synced: about 2 months ago
JSON representation
Generate source files that contains maven artifact informations
- Host: GitHub
- URL: https://github.com/eskatos/artifactinfo-maven-plugin
- Owner: eskatos
- License: apache-2.0
- Created: 2011-06-04T13:03:09.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-01-09T09:06:37.000Z (about 10 years ago)
- Last Synced: 2024-11-01T20:06:32.310Z (3 months ago)
- Language: Java
- Homepage: http://eskatos.github.com/artifactinfo-maven-plugin/
- Size: 141 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
artifactinfo-maven-plugin
=========================[![Build Status](https://travis-ci.org/eskatos/artifactinfo-maven-plugin.svg)](https://travis-ci.org/eskatos/artifactinfo-maven-plugin)
artifactinfo-maven-plugin generate java code with constants containing maven project metadata for use in you programs.
The project is hosted in maven central.
[here](http://search.maven.org/#search%7Cga%7C1%7Cartifactinfo-maven-plugin) you'll find a quick copy/paste for the dependency.Very simple to use:
* it has only one goal : `artifactinfo`
* without configuration is use sensible defaults reusing `groupId` and `artifactId` for package and class name
* you can override default package name with the `packageName` configuration parameter
* you can override default class name with the `className` configuration parameterCode generated by default:
```java
package com.group.id;public abstract class ArtifactId
{
public final static String GROUPID = "#groupId#";
public final static String ARTIFACTID = "#artifactId#";
public final static String VERSION = "#version#";
public final static String DESCRIPTION = "#description#";
public final static String NAME = "#name#";
public final static String URL = "#url#";
public final static String INCEPTION_YEAR = "#inceptionYear#";
public final static long BUILD_TIMESTAMP = #buildTimestamp#L;
}
```