Do you have a stack trace for the failure? You can run gradle with -s to get this.
Is this failure happening in the first 'bootstrap' version of Gradle? Or the second version of Gradle that is built with this?
Gradle doesn't use 'maven' as such. It uses the maven ant tasks. Which version of these are you providing?
|
hi
thanks for your interest
i use the available maven amt task (which provides only the ant task classes)
in fedora exist the version 2.1.1 (not the version 2.1.3 as required by this release of gradle)
this is the request stack trace
+ gradle -debug -stacktrace -g /home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/gradlehome -b /home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/build.gradle
10:39:26.625 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1242b11, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@1878144, org.gradle.logging.internal.JavaUtilLoggingConfigurer@137d090]
10:39:27.125 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1242b11, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@1878144, org.gradle.logging.internal.JavaUtilLoggingConfigurer@137d090]
10:39:27.126 [INFO] [org.gradle.BuildLogger] Starting Build
10:39:27.129 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/gradlehome
10:39:27.129 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9
10:39:27.130 [DEBUG] [org.gradle.BuildLogger] Settings file: null
10:39:27.131 [DEBUG] [org.gradle.BuildLogger] Build file: /home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/build.gradle
10:39:27.142 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
10:39:27.144 [INFO] [org.gradle.initialization.BuildSourceBuilder] ================================================ Start building buildSrc
10:39:27.207 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on cache directory buildSrc (/home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/buildSrc/.gradle/noVersion/buildSrc).
10:39:27.213 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
10:39:27.215 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryCache] Invalidating cache directory buildSrc (/home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/buildSrc/.gradle/noVersion/buildSrc) as it was not closed cleanly.
10:39:27.223 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1242b11, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@1878144, org.gradle.logging.internal.JavaUtilLoggingConfigurer@137d090]
10:39:27.225 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
10:39:27.226 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave.
10:39:27.228 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
10:39:27.229 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
10:39:27.341 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1242b11, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@1878144, org.gradle.logging.internal.JavaUtilLoggingConfigurer@137d090]
10:39:27.346 [ERROR] [org.gradle.BuildExceptionReporter]
10:39:27.348 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
10:39:27.350 [ERROR] [org.gradle.BuildExceptionReporter]
10:39:27.354 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
10:39:27.364 [ERROR] [org.gradle.BuildExceptionReporter] Build aborted because of an internal error.
10:39:27.365 [ERROR] [org.gradle.BuildExceptionReporter]
10:39:27.366 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
10:39:27.367 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleException: Build aborted because of an internal error.
10:39:27.368 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.BuildResult.rethrowFailure(BuildResult.java:49)
10:39:27.369 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.BuildSourceBuilder.createBuildSourceClasspath(BuildSourceBuilder.java:92)
10:39:27.370 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.BuildSourceBuilder.buildAndCreateClassLoader(BuildSourceBuilder.java:57)
10:39:27.370 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:90)
10:39:27.371 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
10:39:27.372 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:131)
10:39:27.373 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
10:39:27.374 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
10:39:27.375 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42)
10:39:27.375 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28)
10:39:27.376 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:32)
10:39:27.377 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:21)
10:39:27.378 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:302)
10:39:27.378 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:286)
10:39:27.379 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:48)
10:39:27.380 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:53)
10:39:27.381 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:51)
10:39:27.381 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.Execution.execute(Execution.java:28)
10:39:27.382 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:39)
10:39:27.383 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:39)
10:39:27.384 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:51)
10:39:27.384 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:33)
10:39:27.385 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
10:39:27.386 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.internal.artifacts.mvnsettings.CannotLocateLocalMavenRepositoryException: java.lang.NoSuchFieldException: userSettingsFile
10:39:27.386 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.buildSettings(DefaultLocalMavenRepositoryLocator.java:75)
10:39:27.387 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.getLocalMavenRepository(DefaultLocalMavenRepositoryLocator.java:49)
10:39:27.388 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.ivyservice.filestore.ExternalArtifactCacheBuilder.addMavenLocal(ExternalArtifactCacheBuilder.java:51)
10:39:27.388 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices.createRepositoryTransportFactory(DefaultDependencyManagementServices.java:221)
10:39:27.389 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry.invoke(DefaultServiceRegistry.java:179)
10:39:27.389 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry.access$200(DefaultServiceRegistry.java:47)
10:39:27.390 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.create(DefaultServiceRegistry.java:351)
10:39:27.391 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:244)
10:39:27.391 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.getService(DefaultServiceRegistry.java:290)
10:39:27.392 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$OwnServices.getService(DefaultServiceRegistry.java:219)
10:39:27.393 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:145)
10:39:27.393 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices.createRepositoryHandler(DefaultDependencyManagementServices.java:253)
10:39:27.394 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices.getResolveRepositoryHandler(DefaultDependencyManagementServices.java:246)
10:39:27.395 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices.getResolveRepositoryHandler(DefaultDependencyManagementServices.java:225)
10:39:27.395 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.initialization.DefaultScriptHandlerFactory.create(DefaultScriptHandlerFactory.java:63)
10:39:27.396 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.initialization.DefaultScriptHandlerFactory.create(DefaultScriptHandlerFactory.java:58)
10:39:27.396 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:101)
10:39:27.397 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:68)
10:39:27.398 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:59)
10:39:27.398 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:38)
10:39:27.399 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:101)
10:39:27.403 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:92)
10:39:27.404 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
10:39:27.405 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:131)
10:39:27.405 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
10:39:27.406 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
10:39:27.406 [ERROR] [org.gradle.BuildExceptionReporter] ... 22 more
10:39:27.407 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoSuchFieldException: userSettingsFile
10:39:27.408 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.createSettingsBuilder(DefaultLocalMavenRepositoryLocator.java:83)
10:39:27.408 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.buildSettings(DefaultLocalMavenRepositoryLocator.java:73)
10:39:27.409 [ERROR] [org.gradle.BuildExceptionReporter] ... 47 more
10:39:27.410 [ERROR] [org.gradle.BuildExceptionReporter]
10:39:27.410 [LIFECYCLE] [org.gradle.BuildResultLogger]
10:39:27.411 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
10:39:27.412 [LIFECYCLE] [org.gradle.BuildResultLogger]
10:39:27.413 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 1.181 secs
10:39:27.413 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory buildSrc (/home/gil/rpmbuild/BUILD/gradle-1.0-milestone-9/buildSrc/.gradle/noVersion/buildSrc).
10:39:27.415 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1242b11, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@1878144, org.gradle.logging.internal.JavaUtilLoggingConfigurer@137d090]
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.JKrSOa (%build)
|
In this particular case Gradle is using directly maven classes:
https://github.com/gradle/gradle/blob/master/subprojects/core-impl/src/main/groovy/org/gradle/api/internal/artifacts/mvnsettings/DefaultLocalMavenRepositoryLocator.java
|
If it helps, the way I do this in the "maven upload auth" plugin is old school:
public static final String SETTINGS_LOCATION_OVERRIDE = "maven.settings";
private static String normalizePath(String path) {
if ( path.startsWith( "~" ) ) {
path = System.getProperty( "user.home" ) + path.substring( 1 );
}
return path;
}
private File determineSettingsFileLocation() {
final String defaultLocation = "~/.m2/settings.xml";
final String location = System.getProperty( SETTINGS_LOCATION_OVERRIDE, defaultLocation );
return new File( normalizePath( location ) );
}
|
<shamelessPlug>More info about the above-mentioned "maven upload auth" plugin can be found at GRADLE-2053</shamelessPlug>
|
@Gil, normally, the maven ant tasks bundle all the core maven classes into maven-ant-tasks.jar along with maven ant classes. Do you mean that on Fedora, maven-ant-tasks.jar includes only the maven ant classes, and not the core maven classes? If so, do you know which version of maven-settings is being used?
|
gradle ant build file
|
@Adam Murdoch
in fedora is not possible to duplicate the classes, as you well described maven-ant-tasks does not contain the core maven classes.
we are currently using maven-setting 3.0.3, but will be available shortly 3.0.4, maven 2.2.1 in fedora only supplies some libraries*
in the attached build file (hand written by me) there are all the deps which i used for build gradle
thanks
*maven 2.2.1
maven-artifact-manager.jar
maven-error-diagnostics.jar
maven-model.jar
maven-monitor.jar
maven-plugin-descriptor.jar
maven-plugin-registry.jar
maven-profile.jar
maven-project.jar
maven-toolchain.jar
|
+ gradle --debug --full-stacktrace assemble -g /home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/gradlehome -b /home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/build.gradle
19:02:10.232 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@12cc460, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@10ad7e, org.gradle.logging.internal.JavaUtilLoggingConfigurer@ee336f]
19:02:10.906 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@12cc460, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@10ad7e, org.gradle.logging.internal.JavaUtilLoggingConfigurer@ee336f]
19:02:10.907 [INFO] [org.gradle.BuildLogger] Starting Build
19:02:10.910 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/gradlehome
19:02:10.911 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/gil/rpmbuild/BUILD/gradle-1.0-rc-1
19:02:10.912 [DEBUG] [org.gradle.BuildLogger] Settings file: null
19:02:10.912 [DEBUG] [org.gradle.BuildLogger] Build file: /home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/build.gradle
19:02:10.925 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
19:02:10.927 [INFO] [org.gradle.initialization.BuildSourceBuilder] ================================================ Start building buildSrc
19:02:10.936 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on cache directory buildSrc (/home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/buildSrc/.gradle/noVersion/buildSrc).
19:02:10.941 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
19:02:10.943 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryCache] Invalidating cache directory buildSrc (/home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/buildSrc/.gradle/noVersion/buildSrc) as it was not closed cleanly.
19:02:10.952 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@12cc460, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@10ad7e, org.gradle.logging.internal.JavaUtilLoggingConfigurer@ee336f]
19:02:10.954 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
19:02:10.955 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave.
19:02:10.957 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
19:02:10.958 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
19:02:11.021 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@12cc460, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@10ad7e, org.gradle.logging.internal.JavaUtilLoggingConfigurer@ee336f]
19:02:11.025 [ERROR] [org.gradle.BuildExceptionReporter]
19:02:11.028 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
19:02:11.029 [ERROR] [org.gradle.BuildExceptionReporter]
19:02:11.030 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
19:02:11.032 [ERROR] [org.gradle.BuildExceptionReporter] Build aborted because of an internal error.
19:02:11.032 [ERROR] [org.gradle.BuildExceptionReporter]
19:02:11.033 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
19:02:11.035 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleException: Build aborted because of an internal error.
19:02:11.036 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.BuildResult.rethrowFailure(BuildResult.java:49)
19:02:11.037 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.BuildSourceBuilder.createBuildSourceClasspath(BuildSourceBuilder.java:92)
19:02:11.038 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.BuildSourceBuilder.buildAndCreateClassLoader(BuildSourceBuilder.java:57)
19:02:11.039 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:90)
19:02:11.039 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
19:02:11.040 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:131)
19:02:11.041 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
19:02:11.042 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
19:02:11.042 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42)
19:02:11.043 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28)
19:02:11.044 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
19:02:11.045 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
19:02:11.046 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
19:02:11.046 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
19:02:11.047 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:31)
19:02:11.048 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionReportingAction.java:20)
19:02:11.049 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:48)
19:02:11.049 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:45)
19:02:11.050 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:39)
19:02:11.051 [ERROR] [org.gradle.BuildExceptionReporter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:02:11.051 [ERROR] [org.gradle.BuildExceptionReporter] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
19:02:11.052 [ERROR] [org.gradle.BuildExceptionReporter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
19:02:11.053 [ERROR] [org.gradle.BuildExceptionReporter] at java.lang.reflect.Method.invoke(Method.java:601)
19:02:11.053 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
19:02:11.054 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:32)
19:02:11.055 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
19:02:11.056 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.internal.artifacts.mvnsettings.CannotLocateLocalMavenRepositoryException: java.lang.NoSuchFieldException: userSettingsFile
19:02:11.056 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.buildSettings(DefaultLocalMavenRepositoryLocator.java:75)
19:02:11.057 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.getLocalMavenRepository(DefaultLocalMavenRepositoryLocator.java:49)
19:02:11.058 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.externalresource.local.ivy.LocallyAvailableResourceFinderFactory.create(LocallyAvailableResourceFinderFactory.java:65)
19:02:11.058 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices.createArtifactRevisionIdLocallyAvailableResourceFinder(DefaultDependencyManagementServices.java:235)
19:02:11.059 [ERROR] [org.gradle.BuildExceptionReporter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:02:11.060 [ERROR] [org.gradle.BuildExceptionReporter] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
19:02:11.060 [ERROR] [org.gradle.BuildExceptionReporter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
19:02:11.061 [ERROR] [org.gradle.BuildExceptionReporter] at java.lang.reflect.Method.invoke(Method.java:601)
19:02:11.061 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry.invoke(DefaultServiceRegistry.java:179)
19:02:11.062 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry.access$300(DefaultServiceRegistry.java:47)
19:02:11.063 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.create(DefaultServiceRegistry.java:340)
19:02:11.063 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:244)
19:02:11.064 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$SingletonService.getService(DefaultServiceRegistry.java:279)
19:02:11.064 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry$OwnServices.getService(DefaultServiceRegistry.java:219)
19:02:11.065 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:145)
19:02:11.066 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices.createRepositoryHandler(DefaultDependencyManagementServices.java:271)
19:02:11.066 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices.getResolveRepositoryHandler(DefaultDependencyManagementServices.java:264)
19:02:11.067 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.DefaultDependencyManagementServices$DefaultDependencyResolutionServices.getResolveRepositoryHandler(DefaultDependencyManagementServices.java:243)
19:02:11.068 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.initialization.DefaultScriptHandlerFactory.create(DefaultScriptHandlerFactory.java:63)
19:02:11.068 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.initialization.DefaultScriptHandlerFactory.create(DefaultScriptHandlerFactory.java:58)
19:02:11.069 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:101)
19:02:11.070 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:68)
19:02:11.070 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:59)
19:02:11.071 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:38)
19:02:11.071 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.loadSettings(SettingsHandler.java:101)
19:02:11.072 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findSettingsAndLoadIfAppropriate(SettingsHandler.java:92)
19:02:11.073 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.SettingsHandler.findAndLoadSettings(SettingsHandler.java:45)
19:02:11.073 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:131)
19:02:11.074 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
19:02:11.074 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
19:02:11.075 [ERROR] [org.gradle.BuildExceptionReporter] ... 25 more
19:02:11.076 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.NoSuchFieldException: userSettingsFile
19:02:11.076 [ERROR] [org.gradle.BuildExceptionReporter] at java.lang.Class.getDeclaredField(Class.java:1899)
19:02:11.077 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.createSettingsBuilder(DefaultLocalMavenRepositoryLocator.java:83)
19:02:11.078 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.artifacts.mvnsettings.DefaultLocalMavenRepositoryLocator.buildSettings(DefaultLocalMavenRepositoryLocator.java:73)
19:02:11.078 [ERROR] [org.gradle.BuildExceptionReporter] ... 54 more
19:02:11.079 [ERROR] [org.gradle.BuildExceptionReporter]
19:02:11.079 [LIFECYCLE] [org.gradle.BuildResultLogger]
19:02:11.080 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
19:02:11.081 [LIFECYCLE] [org.gradle.BuildResultLogger]
19:02:11.081 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 1.196 secs
19:02:11.082 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory buildSrc (/home/gil/rpmbuild/BUILD/gradle-1.0-rc-1/buildSrc/.gradle/noVersion/buildSrc).
19:02:11.085 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@12cc460, org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer@10ad7e, org.gradle.logging.internal.JavaUtilLoggingConfigurer@ee336f]
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.YpuSUU (%build)
|
gradle 1.0-rc-1 ant build file
|
Is this still valid? Didn't we move to m3 a while ago?
|
It's a work in progress. Maven publishing still uses the maven ant tasks, the MavenResolver API still exposes the Maven 2 model classes, and we're using shaded versions of Maven 3. To close this we need to be using unshaded Maven 3 everywhere and no Maven 2 classes.
|
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.
We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.
Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
- Checking that your issues contain requisite context, impact, behaviors, and examples as described in our published guidelines.
- Leave a comment on the JIRA issue or open a new GitHub issue confirming that the above is complete.
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!
|
Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved.
|
Generated at Wed Jun 30 12:15:43 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.