Giter VIP home page Giter VIP logo

Comments (8)

planetf1 avatar planetf1 commented on August 15, 2024

See also https://issues.apache.org/jira/browse/RANGER-1186

from build-helper-maven-plugin.

khmarbaise avatar khmarbaise commented on August 15, 2024

This should be done with the next release.

from build-helper-maven-plugin.

khmarbaise avatar khmarbaise commented on August 15, 2024

May be you can test during the vote if your issue has fixed or not?

from build-helper-maven-plugin.

planetf1 avatar planetf1 commented on August 15, 2024

I'd be delighted to. However I'm rather new to Maven (and this plugin). I'm currently just pulling in version 1.12 from the standard repo. Could you point me to info as to what to change in the pom.xml to pull in this milestone version of the plugin? Many thanks!

from build-helper-maven-plugin.

khmarbaise avatar khmarbaise commented on August 15, 2024

Ah Ok...unfortunately you need to change your configuration for using repository (may in your repository manager) or in your settings.xml file...The staging repository is: https://oss.sonatype.org/content/repositories/orgcodehausmojo-1087
You can simply use groupId/artifactId of the plugin but the version has been changed to 3.0.0..

from build-helper-maven-plugin.

planetf1 avatar planetf1 commented on August 15, 2024

Thanks. I tried the following fragments in the pom

 <pluginRepositories>
<pluginRepository>
  <id>central</id>
  <name>Staging Repository</name>
  <url>https://oss.sonatype.org/content/repositories/ordcodehausmojo-1087</url>
  <layout>default</layout>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
  <releases>
    <updatePolicy>never</updatePolicy>
  </releases>
</pluginRepository>

....

and in my list of plugins:

          <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>3.0.0</version>
            </plugin>

it looks as if 3.0.0 is getting used, but the same error occurs :

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:3.0.0:reserve-network-port (execution: reserve-network-port, phase: initialize)
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:3.0.0:reserve-network-port (execution: reserve-network-port, phase: initialize)

from build-helper-maven-plugin.

planetf1 avatar planetf1 commented on August 15, 2024

I then tried the quickfix/search for m2e connector and was prompted to install
m2e connector for build-helper-maven-plugin 0.15.0.201207090124

I don't remember seeing this before.... but I could have missed it (being new to maven/m2e)

Restarted eclipse and it looks like in fact the updated plugin could not be found:

Could not calculate build plan: Plugin org.codehaus.mojo:build-helper-maven-plugin:3.0.0 or one of its dependencies could not be resolved: Failure to find org.codehaus.mojo:build-helper-maven-plugin:jar:3.0.0 in https://oss.sonatype.org/content/repositories/ordcodehausmojo-1087 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
Plugin org.codehaus.mojo:build-helper-maven-plugin:3.0.0 or one of its dependencies could not be resolved: Failure to find org.codehaus.mojo:build-helper-maven-plugin:jar:3.0.0 in https://oss.sonatype.org/content/repositories/ordcodehausmojo-1087 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

Ah so i made a typo in the repo name.....
I also changed updatePolicy to daily

With those changes I now have no errors from the build-helper maven plugin

Given my error, and install of another plugin I'm not certain if your specific fix fixed my issue, perhaps you could identify if that makes sense from the process I went through? Looks positive though.

many thanks!

from build-helper-maven-plugin.

khmarbaise avatar khmarbaise commented on August 15, 2024

Yeah first M2e connectors are vital for using it in Eclipse ...simple solution for such issues is to delete the folder from the local repo..and redo the start in Eclipse...I've checked another time in My eclipse Oxygen M3 and the issue went away with the update. With 1.12 I see the warning message Plugin execution not covered by lifecycle but using 3.0.0 there is no message anymore...

But nevertheless thanks for giving feedback and testing...and within the next few days it will be made available from Maven Central...I will write an announcement for this...

from build-helper-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.