Arakhnê.org / Java Tools / Arakhnê Foundation Classes / Maven Tag Replacer Plugin

Maven TagReplacer Plugin: Maven plugin to replace macros

Maven Tag Replacer Plugin is a Maven plugin that is replacing several macros inside Java source code and corresponding javadoc.

Maven Tag Replacer Plugin is a part of the Arakhnê Foundation Classes.

This library is distributed under the GNU Lesser General Public License.

You are welcome to contribute.

Supported Macros

Name (case-sensitive)Description
$ArtifactId$The artifact id of the Maven module
$Author: id$The name and link to the author with the given id. The id is the identifier of the author or contributor defined the pom.xml file; or it is the email address of the author.
$Date$The date of the last compilation of the Maven module
$Filename$The name of file
$FullVersion$The name, version, revision and date of the Maven module. It is equivalent to
$Version$ (rev:$Revision$) - $Date$
$GroupId$The group id of the Maven module
$Id$The id of file
$Name$The name of the Maven module
$Organization$The name of organization that publishs the Maven module
$Revision$The SCM/SVN revision number of the Maven module
$Version$The version of the Maven module
$Website$The link to the website of the Maven module

Supported Mojos

mvn tag-replacer:generatesrc permits to generate the source code with the macros expanded.

mvn tag-replacer:replaceresource permits to process the macro expansion into the resource files.

Parameters of common to all the mojos

Parameter NameDefault ValueExplanation
<baseDirectory />$project.basedirthe root directory of the Maven module
<classDirectory />$project.build.outputDirectorythe directory where the compiled Java classes are put
<encoding />$project.build.sourceEncodingthe default encoding of the files
<generatedSourceDirectory />$project.build.directory/generated-sourcesthe directory where the generated source files are located
<siteDirectory />$project.build.directory/sitethe directory where the generated site are located
outputDirectory$project.build.directorythe directory where any comilation result is generated
<overrideArtifactGroup />trueindicates if the parameters projectGroupIdprojectArtifactId should be used in place of the groupId and artifactId of the Maven module
<projectArtifactId />$project.artifactIdthe artifactId to use in macro replacement
<projectGroupId />$project.groupIdthe groupId to use in macro replacement
<sourceDirectory />$project.basedir/srcthe directory where the Java source files are located

Parameters dedicated to the Mojo 'generatesrc'

Parameter NameDefault ValueExplanation
outputLocation$project.build.directory/generated-sources/javathe directory where the generated Java source code are located
<sources><param /></sources>src/main/javathe directories where the original source codes may be found. Each param tag is a path to a directory

Parameters dedicated to the Mojo 'replaceresource'

Parameter NameDefault ValueExplanation
<sources><param /></sources>target/classesthe directories where the original property files may be found. Each param tag is a path to a directory
AuthorsStéphane GALLAND
Licenses
Operating SystemsOS Independent
ImplementationJava - Sun® JVM
SVN directoryafc/tag-replacer
Maven Group Idorg.arakhne.afc
Maven Artifact Idtag-replacer

RssRecent releases

PackageStable VersionDevelopment Version
tag-replacer2.3-SNAPSHOT

No-screenshot

Project Spotlight

TeX-UPmethodology

A LaTeX style which permits to create Unified Process methodology (UP or RUP) based documents (document version, history, authors, validators, specification, task management, helping tools...).

No-screenshot

Project Spotlight

tinyMAS

A very small platform which permits to implement and run agent-based systems.