Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
J S
Building the bridge
26 aprile 2012 10.05
Risposta

J S

Punteggio: Junior Member

Messaggi: 31

Data di Iscrizione: 11 aprile 2012

Messaggi recenti

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
26 aprile 2012 10.24
Risposta

Neil Griffin

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2363

Data di Iscrizione: 26 luglio 2005

Messaggi recenti

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
27 aprile 2012 3.17
Risposta

J S

Punteggio: Junior Member

Messaggi: 31

Data di Iscrizione: 11 aprile 2012

Messaggi recenti

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