Skip to content

[JENKINS-3850] maven installed by tool installer does not set executable flag on unix #18852

Closed

Description

@jenkins-infra-bot

If Maven 2.x.x is installed by the tool installer the file bin/mvn is not
executable on unix (I assume all unixes but tested on ubuntu). This leads to
problems with the sonar plugin since it calls mvn directly! A manual
intervention (chmod a+x mvn) is needed to make it work.


Originally reported by sannies, imported from: maven installed by tool installer does not set executable flag on unix
  • assignee: sonarteam
  • status: Closed
  • priority: Major
  • component(s): core
  • resolution: Fixed
  • resolved: 2009-06-09T22:11:47+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-11-24
Raw content of original issue

If Maven 2.x.x is installed by the tool installer the file bin/mvn is not executable on unix (I assume all unixes but tested on ubuntu). This leads to problems with the sonar plugin since it calls mvn directly! A manual intervention (chmod a+x mvn) is needed to make it work.

  • environment: Platform: All, OS: All

Activity

  1. jenkins-infra-bot commented on Jun 8, 2009

    @jenkins-infra-bot
    Author
    sannies:
    • Original comment link
    • Raw content of original comment:

      java -version shows 1.6.0_14

    java -version shows 1.6.0_14

  2. jenkins-infra-bot commented on Jun 9, 2009

    @jenkins-infra-bot
    Author
    sbrandhof:
    • Original comment link
    • Raw content of original comment:

      Do you have the problem only with sonar plugin ? Do you use this maven installation to build your project ?

    Do you have the problem only with sonar plugin ? Do you use this maven
    installation to build your project ?

  3. jenkins-infra-bot commented on Jun 9, 2009

    @jenkins-infra-bot
    Author
    sannies:
    • Original comment link
    • Raw content of original comment:

      It occured while executing sonar but it's of general nature. I tried to select the subcomponents core & sonar but it seems it only took sonar.

    It occured while executing sonar but it's of general nature. I tried to select
    the subcomponents core & sonar but it seems it only took sonar.

  4. jenkins-infra-bot commented on Jun 9, 2009

    @jenkins-infra-bot
    Author
    scm_issue_link:

    Code changed in hudson
    User: : kohsuke
    Path:
    trunk/www/changelog.html
    http://fisheye4.cenqua.com/changelog/hudson/?cs=18765
    Log:
    [FIXED JENKINS-3850] correlating the fix with the pre-existing issue. This fix will be in 1.310.

  5. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions