I am developing my own custom Maven plugin and I want to archive the files. I
followd that example:
http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html
and could archive the elements with zip format. However I want to use other
formats too(user will indicate it
How can I get the default project builder configuration of my maven project
when I implement my custom maven plugin?
I will get execution properties from it (I think I can get the maven
variables values from it i.e. project.version, bamboo.build.number etc.) I
am searching for a way i.e. I will sa
I need something like that. When Maven checks the pom.xml if it sees
variables it gets their value. I need something like that:
String version = something.getProperty("project.version") // to get
${project.version}
String revision = something.getProperty("svn.revision.number") // to get
${svn.revi
I am developing a Maven plugin. It will search for given token and inject
values at given files. Everything is OK but there is only one thing that I
am struggling with. I have some tokens and variables and I want to read them
from a properties file. For example:
project.version = ${project.version
copy resources requires an output directory that is what I don't want.
However I didn't check to implement a custom filter, do I need copy
resources plugin to it. I don't want to use copy resources plugin because I
am developing a plugin myself that has lightweights of some plugins. Is
there any ex
I am developing a Maven plugin. It will search for given token and inject
values at given files. Everything is OK but there is only one thing that I
am struggling with. I have some tokens and variables and I want to read them
from a properties file. For example:
project.version = ${project.version