>From 1.398 (I think) the groupId was changed to org.jenkins-ci.plugins .
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.424</version>
</parent>
You might also need to change the repository in your pom to
http://repo.jenkins-ci.org/public or maven might not be able to download all
dependencies.
Robert Sandell
Software Tools Engineer - Tools and Integration
Sony Mobile Communications
From: [email protected] [mailto:[email protected]] On
Behalf Of Angela Kim
Sent: den 4 september 2012 13:49
To: [email protected]
Subject: Re: Jenkins Synergy Plugin - Packaging error
I am running JDK 6:
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) Client VM (build 20.8-b03, mixed mode, sharing)
When you refer to the <parent> section at the top of the pom.xml, you are
referring to pom.xml for my specific plug-in, correct?
Here is the <parent> section from the pom.xml, which was downloaded from github:
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.320</version>
</parent>
I do not see versions 1.420 or 1.424 in maven central. Should I be using a
different groupId and artifactId here as well?
Thanks!
On Fri, Aug 31, 2012 at 5:01 PM, Jesse Glick
<[email protected]<mailto:[email protected]>> wrote:
On Fri, Aug 31, 2012 at 1:39 PM, Angela Kim
<[email protected]<mailto:[email protected]>> wrote:
> [ERROR] 1 error: com.sun.mirror.apt.AnnotationProcessorFactory
Probably you are using JDK 7, and the plugin is built against an old
version of Jenkins core whose tooling uses nonstandard JDK 5-6
features unsupported in 7.
You can either build using JDK 6; or simply update the core version
(see the <parent> section at the top of pom.xml) to at least 1.420.
1.424 is recommended since that was an LTS so it makes a good
baseline.