Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies co
Date : March 29 2020, 07:55 AM
Hope that helps , I had the exact same problem. [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Failure to find org.apache.maven.plugins:maven-resources-plugin:pom:2.5 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
...
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>optional-proxyuser</username>
<password>optional-proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
telnet [proxy] [port number]
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
</plugin>
</plugins>
</pluginManagement>
</build>
The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10 is missing, no dependency information available
The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 is missing, no dependency information available
|
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its dependencies could
Date : March 29 2020, 07:55 AM
will be helpful for those in need I solved it now. However it only is solved in Netbeans. Not sure why eclipse still won't take the settings.xml that is changed. The solution is however to remove/comment the User/Password param in settings.xml Before: <proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxyserver.company.com</host>
<port>8080</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
</proxies>
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<host>proxyserver.company.com</host>
<port>8080</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
</proxies>
|
How to pass build number to maven-cucumber-reporting plugin
Date : March 29 2020, 07:55 AM
help you fix your problem In version 0.0.6 of plugin build number 1 was hardcoded. This commit fixed problem and now the build number is received from ${build.number} property or from parameter of plugin.
|
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies co
Date : March 29 2020, 07:55 AM
help you fix your problem When I am try to build the project it gives this error. , Try the following steps:
|
Share maven plugin configuration between build and reporting sections
Date : March 29 2020, 07:55 AM
I hope this helps you . I have a maven project where I use several plugins (pmd, checkstyle) in the build and in the reporting section of the pom.xml. The former for enforcing several constraints and the latter for the site report. These invocations of the plugins mostly share common elements and so far the only solution I found is to copy the respective XML fragments. Is there any way to avoid this duplication? , Is there any way to avoid this duplication?
|