Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

maven-replacer-plugin is a build plugin to replace tokens within a file with a given value. February 26th, 2010: Version 1.3 uploaded to central Maven repository. February 9th, 2010: Version 1.3 has been released. (see Release Notes) This plugin is typically used to change database or ... [More] network configuration within a project during a maven build. It also can perform some advanced text replacement functions, such as providing a separate token/value file to keep your build script concise, writing resulting text after replacement to a separate file and token matching with regular expressions. (See Usage Guide for more). Please read the Installation guide and Usage Guide on how to integrate maven-replacer-plugin into your build. Simple example usage: ... com.google.code.maven-replacer-plugin maven-replacer-plugin 1.3 prepare-package replace target/${project.artifactId}/somefile.txt SOME TOKEN SOME VALUE If you have suggestions or edge cases you would like included, please submit an enhancement (Issue) for consideration. [Less]

0
 
  0 reviews  |  1 user  |  3,024 lines of code  |  2 current contributors  |  Analyzed 11 days ago
 
 

Again: sorry for late! But is here now. Maven Replacer PluginThis plugin replace some values indicated in pom.xml for others. It's a copy of http://code.google.com/p/maven-replacer-plugin, to improve some limitations. Default Substitutes REPLACER Mean @PROJECT_VERSION@ Project pom.xml ... [More] version (same as ${project.version}) @VERSION_SCM@ Project last scm version @DATE_TIME@ Timestamp with default java format Put in configuration section plugin to modify the format of @DATE_TIME@. Custom SubstitutesYou may put any string to be replaced. You may have to substitute for any project maven variable, like ${project.inceptionYear}. See in section "Cool Things". RepoYeah!!! We have repo things. Put in your project: Google Code Maven Substitute Repository http://maven-substitute-plugin.googlecode.com/svn/release-repo false true Cool ThingsYou do cool thinks like that: com.google.maven-substitute-plugin maven-substitute-plugin 0.2 replace /target/**/*_jsp.java /target/**/Invoice*.java @NAME@ ${project.name} false Fast ResumeAs you can see, put included and excluded files like ant wildcards to substitute words in your project. Some Words AboutThis typical usage in codehaus jspc mojo compiler includes any file in directory "target" finished by "jsp.java" and excludes any file in same directory initiating by "Invoice" and terminating in ".java". Note which the process don't fail when no file is found, because the directive "fail" is set to "false". Note which this is not a default behavior, which is "true". More "BLAH BLAH"The default phase attached is "process-sources", because when jspc compile, generate sources (servlets) and then compile to final classes. This behavior is convenient to others environments too. Final ThinksIf you like, put in this configuration and you will have this convenience attached to another phase. If the author of the plugin like contact me to unify both! :) [Less]

0
 
  0 reviews  |  0 users  |  563 lines of code  |  0 current contributors  |  Analyzed 6 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.