Package: gradle
Version: 2.9-1
Severity: normal

Dear Maintainer,

While building Cascading (https://github.com/cwensel/cascading), gradle
fails to run the following task

  LC_ALL=en_US.UTF-8 gradle clean install -x test -x platformTest --stacktrace

(which works fine on Cascading's upstream CI suite), with the following
error message (abridged):

---------------------
:cascading-core:install FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cascading-core:install'.
Could not publish configuration 'archives'
   > org.codehaus.plexus.PlexusContainerException: Cycle detected in component 
graph in the system:

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
':cascading-core:install'.
        at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
        at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
        [........ ]
Caused by: 
org.codehaus.plexus.component.composition.CycleDetectedInComponentGraphException:
 Cyclic requirement detected
        at 
org.codehaus.plexus.component.composition.DefaultCompositionResolver.addComponentDescriptor(DefaultCompositionResolver.java:65)
        at 
org.codehaus.plexus.component.repository.DefaultComponentRepository.addComponentDescriptor(DefaultComponentRepository.java:229)
        at 
org.codehaus.plexus.DefaultComponentRegistry.addComponentDescriptor(DefaultComponentRegistry.java:126)
        at 
org.codehaus.plexus.DefaultPlexusContainer.addComponentDescriptor(DefaultPlexusContainer.java:514)
        at 
org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:969)
        at 
org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:941)
        at 
org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:560)
        ... 82 more
Caused by: org.codehaus.plexus.util.dag.CycleDetectedException:Edge between 'Vertex{label='org.apache.maven.plugin.version.PluginVersionResolver:default'}' and 'Vertex{label='org.apache.maven.plugin.MavenPluginManager:default'}' introduces to cycle in the graph org.apache.maven.plugin.MavenPluginManager:default --> org.apache.maven.plugin.version.PluginVersionResolver:default --> org.apache.maven.plugin.MavenPluginManager:default
        at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:143)
        at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:123)
        at 
org.codehaus.plexus.component.composition.DefaultCompositionResolver.addComponentDescriptor(DefaultCompositionResolver.java:60)
        ... 88 more


BUILD FAILED

----------------------

gradle 2.9-1 from Debian pulls in maven 3.3.9

When downloading gradle 2.10 binaries from https://www.gradle.com, the build as 
specified above proceeds fine.
Gradle.com's binaries include maven 3.0.4, whereas the Debian package 
libgradle-plugins-java requires libmaven3-core-java (>= 3.3.3).

Thanks in advance

        -- Cyrille


-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (950, 'stable'), (850, 'testing'), (800, 'unstable'), (500, 
'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gradle depends on:
ii  default-jre-headless [java7-runtime-headless]    2:1.7-52
ii  libgradle-core-java                              2.9-1
ii  libgradle-plugins-java                           2.9-1
ii  openjdk-7-jre-headless [java7-runtime-headless]  7u91-2.6.3-1~deb8u1
ii  openjdk-8-jre-headless [java7-runtime-headless]  8u72-b05-2

gradle recommends no packages.


Other packages of interest:

ii  maven                                            3.3.9-3
ii  libmaven3-core-java                              3.3.9-3



__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to