Bug 913120 - maven-local: mvn-rpmbuild does not pass MAVEN_OPTS to Maven
maven-local: mvn-rpmbuild does not pass MAVEN_OPTS to Maven
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: javapackages-tools (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mikolaj Izdebski
Fedora Extras Quality Assurance
: Upstream
Depends On:
Blocks: 863801 914595
  Show dependency treegraph
 
Reported: 2013-02-20 07:37 EST by Krzysztof Daniel
Modified: 2014-01-12 19:27 EST (History)
7 users (show)

See Also:
Fixed In Version: 0.12.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-20 07:52:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Krzysztof Daniel 2013-02-20 07:37:41 EST
To build Eclipse on arm it is necessary to disable JIT for certain method. This is done by:
export MAVEN_OPTS="-Xmx700m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState"

Unfortunately, after the migration to xmvn, the build starting failing again as if the exclusion would not be applied. Is it possible that the MAVEN_OPTS is lost somewhere between calling 

mvn-rpmbuild clean install \
   -Dmaven.test.skip=true -Dnative=gtk.linux.%{eclipse_arch} -DskipTychoVersionCheck \
   -Dmaven.local.mode=true -Dtycho.local.keepTarget -Dbuilddoc=$((%{bootstrap} != 1))

and the underlying maven?
Comment 1 Mikolaj Izdebski 2013-02-20 07:39:43 EST
mvn-rpmbuild is part of maven-local, not xmvn. Reassigning to javapackages-tool component.
Comment 2 Mikolaj Izdebski 2013-02-20 07:52:29 EST
I believe that this bug is fixed in javapackages-tools-0.12.2-1,
which is available in Fedora Rawhide.  I am closing the bug now,
thank you for reporting it.  A summary of changes is included below.

* Wed Feb 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.12.2-1
- Update to upstream version 0.12.2
- Resolves: rhbz#913120 (MAVEN_OPTS are not passed to Maven)
Comment 3 Michael Simacek 2013-11-13 04:52:14 EST
Testcase for mvn_build, which replaces mvn_rpmbuild, was added in commit 1f1487d.

Note You need to log in before you can comment on or make changes to this bug.