Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-11626

JIRA development kit doesn't compile plugin-customfield-sample

    XMLWordPrintable

Details

    Description

      Run maven in project directory, and after downloading the galaxy, a compile error:

      jpdk:build-examples:
      build:start:
      
      clean:clean:
          [delete] Deleting directory /home/christo/work/jira-development-kit/examples/plugin-customfield-sample/target
      
      clean:
      
      java:prepare-filesystem:
          [mkdir] Created dir: /home/christo/work/jira-development-kit/examples/plugin-customfield-sample/target/classes
      
      java:compile:
          [echo] Compiling to /home/christo/work/jira-development-kit/examples/plugin-customfield-sample/target/classes
          [javac] Compiling 4 source files to /home/christo/work/jira-development-kit/examples/plugin-customfield-sample/target/classes
      /home/christo/work/jira-development-kit/examples/plugin-customfield-sample/src/java/com/atlassian/jira/plugin/customfield/example/LastUserCommentedCFType.java:53: cannot resolve symbol
      symbol  : method getUser ()
      location: interface com.atlassian.jira.issue.comments.Comment
                  User commenter = lastComment.getUser();
                                              ^
      1 error
      
      BUILD FAILED
      File...... /home/christo/work/jira-development-kit/maven.xml
      Element... maven:reactor
      Line...... 169
      Column.... 41
      Unable to obtain goal [java:compile] -- /home/christo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac> Compile failed; see the compiler error output for details.
      Total time: 5 minutes 22 seconds
      Finished at: Wed Nov 29 13:42:28 EST 2006
      

      JIRA development kit doesn't compile plugin-customfield-sample

      Attachments

        Activity

          People

            andreask@atlassian.com Andreas Knecht (Inactive)
            chris@atlassian.com Chris Mountford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: