Hi Luasz,

1) Is there any chance you could send me your mojo source code and
descriptor files, I am quite new to MOJOs.

2) Using you MOJO how would you then access this value. I am trying to
think of a way of accessing the build timestamp in a
filter.properties file  e.g.

filter.properties

${build.timestamp}

Pete



On 17/07/06, Lukasz Szelag <[EMAIL PROTECTED]> wrote:

I had a similar problem (trying to access the artifact timestamp, which
includes the build number). The following is from my Mojo:

        /**
         * The project artifact.
         *
         * @parameter expression="${project.artifact}"
     * @required
     * @readonly
         */
        private Artifact artifact;


and then artifact.getVersion(). Perhaps you can do it also from POM via
${project.artifact.version}.

--
View this message in context: 
http://www.nabble.com/Accessing-the-build-number-tf1908562.html#a5361395
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to