[jboss-jira] [JBoss JIRA] Created: (JBBUILD-522) Set properties related to the build environment in jar.

Paul Gier (JIRA) jira-events at lists.jboss.org
Wed Mar 25 18:35:22 EDT 2009


Set properties related to the build environment in jar.
-------------------------------------------------------

                 Key: JBBUILD-522
                 URL: https://jira.jboss.org/jira/browse/JBBUILD-522
             Project: JBoss Build System
          Issue Type: Task
          Components: Maven
            Reporter: Paul Gier
             Fix For: Maven Build - Maint 2009


It is useful to have details about the build environment contained in the maven repository.  Either in a text file or inside the deployed jar.  The most practical way to do this seems to be setting properties in the manifest that contains information about java version, OS, maven version, and svn revision.

The java version and OS can be gathered from standard maven properties.  The svn revision can be set in a property using the buildnumber-maven-plugin.  There currently does not appear to be an easy way to record the version of maven that was used during the build.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list