Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5405

Global MAVEN_OPTS doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • maven-plugin
    • None
    • hudson 1.342

    Description

      • 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

      Attachments

        Issue Links

          Activity

            aheritier Arnaud Héritier created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Assignee abayer [ abayer ]
            abayer Andrew Bayer added a comment -

            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 Andrew Bayer added a comment - 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 Andrew Bayer added a comment -

            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.

            abayer Andrew Bayer added a comment - 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.

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

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : abayer Path: trunk/hudson/main/maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java trunk/www/changelog.html http://jenkins-ci.org/commit/26620 Log: [FIXED JENKINS-5405] Properly loading MavenModuleSet descriptor now
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer added a comment -

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

            abayer Andrew Bayer added a comment - 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 Arnaud Héritier made changes -
            Link This issue is blocking JENKINS-5409 [ JENKINS-5409 ]

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

            aheritier Arnaud Héritier added a comment - ok for 1.344. I'll wait one more week I opened JENKINS-5409 for the other issue
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s maven-plugin [ 16033 ]
            Component/s maven2 [ 15487 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 135494 ] JNJira + In-Review [ 203516 ]
            benapgar Ben Apgar made changes -
            Link This issue relates to JENKINS-3755 [ JENKINS-3755 ]

            People

              abayer Andrew Bayer
              aheritier Arnaud Héritier
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: