Comments (8)
See also https://issues.apache.org/jira/browse/RANGER-1186
from build-helper-maven-plugin.
This should be done with the next release.
from build-helper-maven-plugin.
May be you can test during the vote if your issue has fixed or not?
from build-helper-maven-plugin.
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.
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.
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.
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.
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)
- add-resource for prepare-package phase doesn't add to jar HOT 1
- Allow one to specify majorVersion and minorVersion when using released-version mojo
- Allow port ranges on reserve-network-port mojo
- released-version does not detect version if maven repository is not configured to look for snapshot
- The plugin does not execute with command line "mvn compile" as in the Maven Handbook. HOT 4
- Use `bsh-property` property for profile activation HOT 5
- Plugin does not honour the skip directive HOT 2
- timestamp-property setting pattern has no effect HOT 1
- Using parse-version with effective-pom generates invalid XML, adds <?xml...?> tag twice
- [RFE] attach-artifact: Add a ignoreIfMissing property to Artifact
- Quiet option for `regex-property` goal. HOT 2
- Please provide a `<skip>` option for each goal. HOT 1
- Feature request: Add version limits to released-version goal
- `regex-property` goal doesn't interpret `<replacement>` correctly, corrupting output
- Request: Capability to use goal "add-source" from the command line
- Option to override nextIncrementalVersion
- Fails the build when running using Maven 3.9.0 HOT 18
- Wrong encoding of pom file in maven central HOT 4
- Plugin should declare these Maven artifacts in `provided` scope HOT 2
- nextBuildNumber HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-helper-maven-plugin.