[
https://issues.apache.org/jira/browse/FC-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748556#comment-16748556
]
Chris Poulsen edited comment on FC-263 at 1/22/19 9:48 AM:
-----------------------------------------------------------
A simple *build.gradle* that fails with various gradle v4 and v5 versions:
{code:java}
apply plugin: 'java'
repositories {
jcenter()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
//compile group: 'org.apache.directory.fortress', name: 'fortress-core',
version: '2.0.3'
}
task dumpDeps(type: Copy) {
into "$buildDir/deps"
from configurations.compile
}
{code}
calling *gradle dumpDeps* produces a build/deps folder with the commons
dependency.
Uncommenting the fortress dependency and calling *gradle dumpDeps* again, fails
due to the invalid xml.
was (Author: chrispoulsen):
A simple *build.gradle* that fails with various gradle v4 and v5 versions:
{code:java}
apply plugin: 'java'
repositories {
jcenter()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
//compile group: 'org.apache.directory.fortress', name: 'fortress-core',
version: '3.0.3'
}
task dumpDeps(type: Copy) {
into "$buildDir/deps"
from configurations.compile
}
{code}
calling *gradle dumpDeps* produces a build/deps folder with the commons
dependency.
Uncommenting the fortress dependency and calling *gradle dumpDeps* again, fails
due to the invalid xml.
> Unable to resolve maven dependencies for fortress-core v2.0.3
> -------------------------------------------------------------
>
> Key: FC-263
> URL: https://issues.apache.org/jira/browse/FC-263
> Project: FORTRESS
> Issue Type: Bug
> Environment: gradle
> Reporter: Chris Poulsen
> Assignee: Shawn McKinney
> Priority: Major
>
> fortress-core depends on org.openldap:accelerator-(api|impl):1.0-RC41
> which in turn has a parent: org-openldap:accelerator:1.0-RC41
> The parent pom is invalid xml, due to some crap before the <?xml?> entry
> (Content not allowed in prolog).
> Artifact link:
> [https://mvnrepository.com/artifact/org.openldap/accelerator/1.0-RC41]
> Direct pom link:
> [http://central.maven.org/maven2/org/openldap/accelerator/1.0-RC41/accelerator-1.0-RC41.pom]
> That dependency has been broken since ultimo 2015 how can that be possible,
> are no one actually compiling against the released stuff?
> It seems that the 1.0-RC40 pom is valid, but is it safe to use that as a
> replacement? The endless series of RC releases does not exactly inspire
> confidence (or indicate that fortress-core itself is mature/stable due to
> non-released dependencies)
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)