On Tue, Jun 29, 2010 at 8:19 PM, velo <[email protected]> wrote:
> If I'm not mistaken there are some instructions at wiki, anyway use
> defines to do that.
There were instructions in the blog, but it's gone now, and they were
never brought over to the wiki.
You do something like this:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<configuration>
<definesDeclaration>
<property><name>BUILD::buildNumber</name><value>${buildNumber}</value></property>
<property><name>BUILD::timestamp</name><value>${timestamp}</value></property>
<property><name>BUILD::mavenVersion</name><value>"${project.version}"</value></property>
</definesDeclaration>
</configuration>
</plugin>
When I get a minute, I'll try and put more details in the wiki.
Logan
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/