Issue Details (XML | Word | Printable)

Key: HUDSON-5405
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: abayer
Reporter: aheritier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hudson

Global MAVEN_OPTS doesn't work

Created: 27/Jan/10 01:39 PM   Updated: 28/Jan/10 12:51 AM   Resolved: 27/Jan/10 06:24 PM
Component/s: maven2
Affects Version/s: None
Fix Version/s: None

Environment: hudson 1.342
Issue Links:
Dependency
 


 Description  « Hide
  • I set a value in the UI, it is stored in hudson.maven.MavenModuleSet.xml, but when I restart hudson the value isn't anymore displayed in the UI
  • freestyle projects doesn't support global MAVEN_OPTS


Sort Order: Ascending order - Click to sort in descending order
abayer added a comment - 27/Jan/10 05:59 PM

Checking on part 1 now - part 2 looks like it'll require me to change the way the global MAVEN_OPTS is stored, since the freestyle projects don't have access to hudson.maven.MavenModuleSet - I'm thinking of moving that to the Maven installation.


abayer added a comment - 27/Jan/10 06:23 PM

I've fixed part 1 - it'll be in 1.343. I'm also marking this particular bug as fixed - could you open a new one as a feature request for having the global MAVEN_OPTS apply to freestyle projects as well? Like I said, that's going to take more work, so I'd like to track it separately.


scm_issue_link added a comment - 27/Jan/10 06:24 PM

Code changed in hudson
User: : abayer
Path:
trunk/hudson/main/maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
trunk/www/changelog.html
http://hudson-ci.org/commit/26620
Log:
[FIXED HUDSON-5405] Properly loading MavenModuleSet descriptor now


abayer added a comment - 27/Jan/10 06:34 PM

Oops, no, it didn't make it into the repo in time for the 1.343 RC branch - it'll be in 1.344.


aheritier added a comment - 28/Jan/10 12:51 AM

ok for 1.344. I'll wait one more week
I opened HUDSON-5409 for the other issue