Maven dependency for javaplanner not resolving - java

I have a dependency for javaplanner in my project:
<dependency>
<groupId>javaplanner</groupId>
<artifactId>javaplanner</artifactId>
<version>1.5</version>
</dependency>
I am having an issue when building the project, giving error not able to resolve the dependency:
Failure to find javaplanner:javaplanner:jar:1.5
in https://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]
I tried to search the javaplanner dependency in the mvn repository, but its missing there.
How can I resolve this issue? Appreciated!!!!

javaplanner does not exist in Maven Central and does not appear to exist in any other public Maven repository. It has also been discontinued and is no longer downloadable from its provider if it is as I suspect "DHTMLX JavaPlanner" - see https://dhtmlx.com/blog/javaplanner-full-featured-scheduler-for-java/.
To resolve this issue you'll need to download the dependency's JAR file from a third-party site, verify that the downloaded JAR is what used to be available from dhtmlx.com and install the JAR as the javaplanner:javaplanner dependency in your local (or private shared - e.g. Nexus, Artifactory, JFrog - see https://maven.apache.org/repository-management.html) Maven repository. See DHTMLX JavaPlanner maven dependency for more on the local install process.

Related

Maven pom.xml missing dependency error: artifacts could not be resolved

This error won't go away even after many 'mvn clean install' and reimport pom.xml's
[ERROR] Failed to execute goal on project foo:
Could not resolve dependencies for project be.foo:foo:jar:2.0-SNAPSHOT:
The following artifacts could not be resolved:
org.neo4j:neo4j-spatial:jar:0.12-neo4j-2.0.4,
diff_match_patch:diff_match_patch:jar:current:
Failure to find org.neo4j:neo4j-spatial:jar:0.12-neo4j-2.0.4 in
https://repo.spring.io/libs-release was cached in the local repository,
resolution will not be reattempted until the update interval of spring-releases has elapsed or updates are forced -> [Help 1]
eventhough the pom clearly has the dependency:
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-spatial</artifactId>
<version>0.12-neo4j-2.0.4</version>
</dependency>
Weirdest thing is I don't even think I need this in my project, it just started complaining about it.
So far I'm guessing that it has to do with some sort of version mismatch?
"diff_match_patch" etc
If you go to the URL thart´s shown in your logs, you´ll see that library is not there. You probably need to change the version or set up a different repo.

"The following artifacts could not be resolved" : Maven / Android / Eclipse

I am trying to run an android application in Eclipse using Maven .
Some dependencies are unfortunately stopping the run (could not be found or resolved).
I have already checked that I have the dependencies in my repository.
Any suggestion is welcome.
Thank you for your time and consideration.
Pom.xml :
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<version>4.4.2_r2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>android.support</groupId>
<artifactId>compatibility-v4</artifactId>
<version>19.0.1</version>
</dependency>
Console's error message:
The following artifacts could not be resolved: android:android:jar:4.4.2_r2, android.support:compatibility-v4:jar:19.0.1: Failure to find android:android:jar:4.4.2_r2 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
The android:android:jar:4.4.2_r2 does not exist in your repository. Check really if it exists.
Due to legal problems, Google do not allow Android JAR files to be installed on the Maven Central repository. You need to manually install these dependencies in your local repository.
To do this you need to clone and execute the Maven Android SDK Deployer.

Maven complains about dependency to a WAR file

I am trying to build a project which has a following dependency
<dependency>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-showcase</artifactId>
<version>4.3.4.Final</version>
<classifier>jbas71</classifier>
<type>war</type>
</dependency>
While the WAR file seems to be on the right place in my local repo. Contents of .m2/repository/org/richfaces/examples/richfaces-showcase/4.3.4.Final/
richfaces-showcase-4.3.4.Final-jbas71.war
richfaces-showcase-4.3.4.Final-jbas71.war.lastUpdated
richfaces-showcase-4.3.4.Final-jbas71.war.pom
I tried to delete the *.lastUpdated file, *.war.pom seems to be ok too but I am still getting
[ERROR] Failed to execute goal on project richfaces-showcase-portlet:
Could not resolve dependencies for project org.jboss.portletbridge.examples:richfaces-showcase-portlet:war:3.3.1.Final:
Failure to find org.richfaces.examples:richfaces-showcase:war:jbas71:4.3.4.Final 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]
The dependency is imply wrong, cause a war file is not intended to be a dependency. The war file is intended to be use as an example which can be deployed into a Tomcat etc. to see how it looks like etc.
Apart from that you are trying to get richfaces from Maven Central which is not possible cause Richfaces is not in Maven Central. They have their own repository. You need to add this repository to your configuration or Repository manager.
Furthermore the message:
Failure to find org.richfaces.examples:richfaces-showcase:war:jbas71:4.3.4.Final 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]
shows that the dependency couldn't be downloaded. I assume the size of the war file is 0..

Failure to find dependency in proxies Maven repository

The Maven Error:
Failed to execute goal on project XXXXXX: Could not resolve
dependencies for project XXXXXX:XXXXXX:0.1-SNAPSHOT: Failure to find
com.oracle.ucm:idcserver:jar:11.1.1.8 in
[http://internal-proxy:8080/nexus-2.6.4/content/groups/XXXXXX] was cached
in the local repository, resolution will not be reattempted until the
update interval of internal-proxy has elapsed or updates are forced.
I have confirmed that the artifact has indeed been proxied from the external source.
Why can the local Maven build resolve the dependency in either the cloud or the intranet proxy? How can I attempt to debug such problems? I am administrator of the local Maven repository, so I can debug/change configuration suggested here.
Any insight would be welcomed.
Do you have this particular ucm jar with you ? The jar com.oracle.ucm:idcserver:jar:11.1.1.8 is not there on maven central repository and thus will never be fetched since it does not exist there on maven central.
Last I remember, you will have to manually install it in your local repository. Check this post here
Ugh, it was an improper URL in the settings.xml.
I wish the error was more transparent such as connection refused.

Java, Maven dependencies

I'm new to Maven and JSF and I have the following problem when compiling my project:
Failed to execute goal on project ViewController: Could not resolve dependencies for project com.km.eFarmer:ViewController:war:1.0.1-alpha1-SNAPSHOT: The following artifacts could not be resolved: com.sun.faces:jsf-api:jar:2.0.3-FCS, com.sun.faces:jsf-impl:jar:2.0.3-FCS, org.openfaces:openfaces:jar:3.0.2-KM, cssparser:cssparser:jar:0.9.5, it.eng.spago:sbi-utils:jar:3.3.0: Failure to find com.sun.faces:jsf-api:jar:2.0.3-FCS in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven.maven2 has elapsed or updates are forced -> [Help 1
This is means that the artifact com.sun.faces:jsf-api:jar:2.0.3-FCS is absent in repository http://repo1.maven.org/maven2/.
Indeed, there is no jsf-api.jar with version 2.0.3-FCS in this repo.
There's a list of available versions. So, you should change artifact version, or repository url
Simple delete the folder local repository com/sun/faces and and retry it.

Categories