cnorris
(Chris Norris)
July 13, 2015, 11:34pm
1
I am getting errors that seem to be resolved by downgrading Maven 3.0 to 2. I do not know how to downgrade Maven on Windows 8.1 using gradle. I use Eclipse Luna, and Java FX.
Someone please help? I would greatly appreciate it.
When I run gradle it gives error:
Failed to notify task execution graph listener.
org/gradle/mvn3/org/sonatype/aether/resolution/ArtifactResolutionException
Thanks,
Chris
Not enough detail to go on. It’s not clear what you are doing.
What steps could someone take to reproduce this problem?
cnorris
(Chris Norris)
July 14, 2015, 2:08pm
3
I am trying to do the JavaFX Android sample:
I will post my build.gradle file.
indent preformatted text by 4 spaces
task wrapper(type: Wrapper) {
gradleVersion = ‘2.3’
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.0.0-b5'
}
}
apply plugin: ‘org.javafxports.jfxmobile’
mainClassName = ‘java.Main’
repositories {
jcenter()
}
jfxmobile {
ios {
forceLinkClasses = [‘java.**.*’]
}
android {
applicationPackage = ‘application’
}
}
here is my build.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<property environment="env"/>
<property name="ECLIPSE_HOME" value="../../eclipse/"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.8"/>
<property name="source" value="1.8"/>
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<path id="JavaFX SDK.libraryclasspath">
<pathelement location="${ECLIPSE_HOME}plugins/org.eclipse.fx.ide.css.jfx8_2.0.0.201506111511.jar"/>
</path>
<path id="javafx_example.classpath">
<pathelement location="bin"/>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
<copy todir="${ant.library.dir}">
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</copy>
<unzip dest="${ant.library.dir}">
<patternset includes="jdtCompilerAdapter.jar"/>
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
</unzip>
</target>
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<antcall target="build"/>
</target>
cnorris
(Chris Norris)
July 14, 2015, 3:10pm
4
ok I found out if I downgrade maven plugins to specific versions:
https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound , it will fix my problem.
How do I tell Gradle to download specific versions of Maven Plugins.
Any help would be greatly appreciated,
Thanks,
Chris
cnorris
(Chris Norris)
July 14, 2015, 4:08pm
5
I found out how to download versions, however still same error.