フォーラム

ホーム » Liferay Faces » Liferay Faces - English

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
J S
Building the bridge
2012/04/26 10:05
答え

J S

ランク: Junior Member

投稿: 31

参加年月日: 2012/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:

1[ERROR]   The project com.liferay.faces:liferay-faces-doc:3.0.0-BETA2-SNAPSHOT (C:\ThirdParty\liferay-faces\doc\pom.xml) has 1 error
2[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

1<dependency>
2            <groupId>net.sf.docbook</groupId>
3            <artifactId>docbook</artifactId>
4            <version>1.72.0</version>
5        </dependency>


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

Any suggestions?

Thanks,

John
Neil Griffin
RE: Building the bridge
2012/04/26 10:24
答え

Neil Griffin

LIFERAY STAFF

ランク: Liferay Legend

投稿: 2335

参加年月日: 2005/07/26

最近の投稿

The following entry in the parent pom.xml should be helping with resolution:

1        <repository>
2            <id>maven2-repository.jboss.org</id>
3            <name>JBoss Maven Repository</name>
4            <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
5        </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?
J S
RE: Building the bridge
2012/04/27 3:17
答え

J S

ランク: Junior Member

投稿: 31

参加年月日: 2012/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