[
https://jira.jboss.org/browse/EMBJOPR-299?page=com.atlassian.jira.plugin....
]
Ian Springer resolved EMBJOPR-299.
----------------------------------
Fix Version/s: 1.4.0
Resolution: Done
This is fixed via the previously mentioned workaround. I've created
https://bugzilla.redhat.com/show_bug.cgi?id=613767 to track the suggested improvement to
the rhq root pom.
rhq-parent 3.0.0 breaks EmbJopr build: Maven's
"generate-build-number-properties" execution
---------------------------------------------------------------------------------------------
Key: EMBJOPR-299
URL:
https://jira.jboss.org/browse/EMBJOPR-299
Project: Embedded Jopr
Issue Type: Bug
Affects Versions: 1.3.2
Reporter: Ondrej Žižka
Assignee: Ian Springer
Fix For: 1.4.0
Attachments: generate-build-number-only-if-git.patch
This
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-build-number-properties</id>
<phase>generate-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>git</executable>
<arguments>
<argument>log</argument>
<argument>--pretty=format:buildNumber =
%h</argument>
<argument>-n1</argument>
</arguments>
<outputFile>${project.build.directory}/build-number.properties</outputFile>
</configuration>
</execution>
</executions>
</plugin>
breaks EmbJopr build:
[INFO] [exec:exec {execution: generate-build-number-properties}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Result of /bin/sh -c cd /mnt/hudson_workspace/workspace/EmbJopr-noajax/embjopr
&& git log '--pretty=format:buildNumber = %h' -n1 execution is:
'128'.
[INFO] ------------------------------------------------------------------------
I need it to be moved to some profile or anything I can disable conditionally.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira