Getting issues with parent tag in pom.xml

678 views
Skip to first unread message

phanikumar

unread,
Aug 16, 2017, 2:13:55 PM8/16/17
to jenkin...@googlegroups.com
Hello team,

I am developing a plugin where I have generated the source using maven
command

mvn hpi:create

I have imported the project to eclipse using import option. When I observe
the pom.xml it is showing error for

<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.28</version>
<relativePath/>
</parent>

Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc (execution:
default, phase: process-sources)


If I am changing the version to

<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.609</version>
<relativePath/>
</parent>

I am observing no error in the file. Can someone help me out on this?



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Getting-issues-with-parent-tag-in-pom-xml-tp4901315.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

Jesse Glick

unread,
Aug 16, 2017, 2:57:32 PM8/16/17
to Jenkins Dev
On Wed, Aug 16, 2017 at 11:18 AM, phanikumar
<phanikumar...@gmail.com> wrote:
> I have imported the project to eclipse using import option. When I observe
> the pom.xml it is showing error

Can you just ignore the error? That is some Eclipse thing.
Command-line builds should be fine, as should opening the project in
other IDEs (IDEA, NetBeans).

I know there are some Jenkins devs using Eclipse, perhaps they can
contribute a PR to `plugin-pom` to update the m2e configuration.

phanikumar

unread,
Aug 16, 2017, 4:03:56 PM8/16/17
to jenkin...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages