Forums de discussion

Maven error while building Liferay Faces from source

thumbnail
Bernd Prager, modifié il y a 10 années.

Maven error while building Liferay Faces from source

Junior Member Publications: 42 Date d'inscription: 20/12/12 Publications récentes
I am getting repo errors when I build Liferay Faces. Please help:
[ERROR]   The project com.liferay.faces:liferay-faces-doc:3.1.3-ga4 (C:\bin\cygwin\home\bernd_prager\Projects\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: Failed to collect dependencies at org.jboss.maven.plugins:maven-jdocbook-plugin:jar:2.1.2 -> net.sf.docbook:docbook:jar:1.72.0: Failed to read artifact descriptor for net.sf.docbook:docbook:jar:1.72.0: Could not transfer artifact net.sf.docbook:docbook:pom:1.72.0 from/to jboss (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/net/sf/docbook/docbook/1.72.0/docbook-1.72.0.pom, ReasonPhrase: Forbidden. -> [Help 2]
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: Maven error while building Liferay Faces from source

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Hi Bernd,

Thanks for letting us know. We will have to investigate that. For now you can just comment out the doc module from the parent-most liferay-faces/pom.xml descriptor:

<!-- <module>doc</module> -->


Neil
thumbnail
Vernon Singleton, modifié il y a 10 années.

RE: Maven error while building Liferay Faces from source

Expert Publications: 315 Date d'inscription: 14/01/13 Publications récentes
Bernd Prager:
C:\bin\cygwin


I like folks who use cygwin! Sometimes, I do not like cygwin, but I like the folks who use it. I do not care what other people say.

.
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: Maven error while building Liferay Faces from source

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
Looks like the folks at JBoss may have moved the docbook plugin to their thirdparty repository. We might need to add this to settings.xml:

<pluginrepository>
	<id>thirdparty-repository.jboss.org</id>
	<url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
</pluginrepository>


During our next release cycle we will start with a clean $HOME/.m2 and find out for sure.
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: Maven error while building Liferay Faces from source

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
... and the jboss-el dependency might now be located in jboss-releases:

<pluginrepository>
	<id>release-repository.jboss.org</id>
	<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
</pluginrepository>
thumbnail
Bernd Prager, modifié il y a 10 années.

RE: Maven error while building Liferay Faces from source

Junior Member Publications: 42 Date d'inscription: 20/12/12 Publications récentes
Hi,

We are now able to successfully compile it.

Thank you so much Neil,

-- Bernd
thumbnail
Neil Griffin, modifié il y a 10 années.

RE: Maven error while building Liferay Faces from source

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
My pleasure -- glad to hear that it is working for you now. emoticon