掲示板

Building the bridge

12年前 に J S によって更新されました。

Building the bridge

Junior Member 投稿: 31 参加年月日: 12/04/11 最新の投稿
Hi,

I'm trying to build the 3.0.X bridge from source, I've got the code from git, but when I try and build it's failing:

[ERROR]   The project com.liferay.faces:liferay-faces-doc:3.0.0-BETA2-SNAPSHOT (C:\ThirdParty\liferay-faces\doc\pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.jboss.maven.plugins:maven-jdocbook-plugin:2.1.2 or one of its dependencies could not be resolved: Failure to find net.sf.docbook:docbook:jar:1.72.0 in http://ud-uk-build1.mercedsystems.com:8080/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 2]


It's failing to resolve this dependency

<dependency>
            <groupid>net.sf.docbook</groupid>
            <artifactid>docbook</artifactid>
            <version>1.72.0</version>
        </dependency>


But when I search for this at http://search.maven.org/ I don't find any results.

Any suggestions?

Thanks,

John
thumbnail
12年前 に Neil Griffin によって更新されました。

RE: Building the bridge

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
The following entry in the parent pom.xml should be helping with resolution:

		<repository>
			<id>maven2-repository.jboss.org</id>
			<name>JBoss Maven Repository</name>
			<url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
		</repository>

I just checked and the dependency is there in the JBoss artifact repository:
https://repository.jboss.org/nexus/content/groups/public-jboss/net/sf/docbook/docbook/1.72.0/

Not sure why it's not resolving for you?
12年前 に J S によって更新されました。

RE: Building the bridge

Junior Member 投稿: 31 参加年月日: 12/04/11 最新の投稿
It turns out we have an internal mirror which mirrors all repositories, but our nexus wasn't mirroring maven2-repository.jboss.org, I added an exclusion and it all builds now.

Thanks,

John