Josef Ludvicek created WFLY-7312:
------------------------------------
Summary: wildfly parent specifies *.jbossorg-1 dependency which is not
present in maven central
Key: WFLY-7312
URL:
https://issues.jboss.org/browse/WFLY-7312
Project: WildFly
Issue Type: Bug
Reporter: Josef Ludvicek
Assignee: Jason Greene
{{wildfly-parent}} BOM is present in maven central,
but it specifies certain dependencies, which were not published to central and hence
breaking the build.
For example
{code:xml}
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.fuse.qa</groupId>
<artifactId>slf4j-reproducer</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-parent</artifactId>
<version>10.1.0.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.arquillian.cube</groupId>
<artifactId>arquillian-cube-docker</artifactId>
<version>1.0.0.Alpha15</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
{code}
fails:
{code}
[ERROR] Failed to execute goal on project slf4j-reproducer:
Could not resolve dependencies for project
org.jboss.fuse.qa:slf4j-reproducer:jar:0.0.1-SNAPSHOT:
The following artifacts could not be resolved:
org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1, org.slf4j:jcl-over-slf4j:jar:1.7.7.jbossorg-1:
Could not find artifact org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in central
(
https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
{code}
There is workaround - add jboss repository
https://repository.jboss.org/nexus/content/groups/public/.
Shouldn't we publish all required artifacts to central to avoid similar problems in
future ?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)