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

Cant build jenkins from source on debian squeeze

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cli, git-plugin, maven-plugin
    • None
    • Debian 6
      java6 v26
      maven 2.2.1

      Im trying to build jenkins from source, getting an error on jenkins-core with stapler i think.

      ====

      [INFO] Compiling 757 source files to /home/ir/jenkins/core/target/classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      error: Could not create declaration for annotation type AncestorInPath
      error: Could not create declaration for annotation type JavaScriptMethod

      [INFO] ------------------------------------------------------------------------
      [DEBUG] Trace
      org.apache.maven.BuildFailureException: Compilation failure
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
      at org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508)
      at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111)
      at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      ... 17 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 16 seconds
      [INFO] Finished at: Mon Jun 27 14:39:29 BST 2011
      [INFO] Final Memory: 56M/979M
      [INFO] ------------------------------------------------------------------------
      ====

      Im trying to build jenkins from source to add jenkins cli support for authentication when using the pam unix realm.

          [JENKINS-10119] Cant build jenkins from source on debian squeeze

          Ian Roberts created issue -
          Ian Roberts made changes -
          Component/s New: cli [ 15624 ]
          Component/s New: maven2 [ 15487 ]
          Kohsuke Kawaguchi made changes -
          Assignee Original: Andrew Bayer [ abayer ] New: Kohsuke Kawaguchi [ kohsuke ]
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Ian Roberts made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          kutzi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 140307 ] New: JNJira + In-Review [ 188968 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            kohsuke Kohsuke Kawaguchi
            iantopanto1 Ian Roberts
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: