Foren

Problem building sample ice faces portlet

Abey M, geändert vor 7 Jahren.

Problem building sample ice faces portlet

New Member Beiträge: 18 Beitrittsdatum: 20.01.12 Neueste Beiträge
Hello,
I am following the link

BUILDING LIFERAY FACES FROM SOURCE - Wiki

https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-2/building-liferay-faces-from-source?_ga=1.220563408.938352274.1455464903#related-topics


I changed the local settings as mentioned

C:\Users\myuserid\.m2\settings.xml

... 		<profile>
			<id>externalLiferayFacesRepositories</id>
			<activation>
				<activebydefault>true</activebydefault>
			</activation>
			<repositories>
				<repository>
					<id>liferay-public</id>
					<url>https://repository.liferay.com/nexus/content/groups/public</url>
				</repository>
			</repositories>
			<pluginrepositories>
				<pluginrepository>
					<id>liferay-public</id>
					<url>https://repository.liferay.com/nexus/content/groups/public</url>
				</pluginrepository>
			</pluginrepositories>
		</profile>
...


I get the error

[INFO] \liferay-faces&gt;mvn clean package
.....
FACES-244-portlet integration tests ................ SKIPPED
[INFO] FACES-1470-portlet integration tests ............... SKIPPED
[INFO] FACES-1478-portlet integration tests ............... SKIPPED
[INFO] FACES-1618-portlet integration tests ............... SKIPPED
[INFO] FACES-1635 resources integration tests ............. SKIPPED
[INFO] FACES-1638-portlet integration tests ............... SKIPPED
[INFO] Liferay Faces Test Issues Portal ................... SKIPPED
[INFO] FACES-257-portlet integration tests ................ SKIPPED
[INFO] Liferay Faces Documentation ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.165 s
[INFO] Finished at: 2016-04-23T15:27:48-04:00
[INFO] Final Memory: 59M/714M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.2.1:wget (unpack-alloy) on project liferay-faces-reslib: IO Error: Could not get content -&gt; [Help 1]
[ERROR]
....



After getting this error, I tried to change the pom to build the portlet. The portlet is now building and deploying, but the screen ui doesnt show anything
The changes and result.
Gist of changes to sample jsf2-spring-portlet

Diff of modifications to repository file
Diff to commits
thumbnail
Kyle Joseph Stiemann, geändert vor 7 Jahren.

RE: Problem building sample ice faces portlet (Antwort)

Liferay Master Beiträge: 760 Beitrittsdatum: 14.01.13 Neueste Beiträge
Hi Abey,
Sorry about that, I've filed FACES-2666 to fix this. Please try my fixed repo here: https://github.com/stiemannkj1/liferay-faces/tree/fix-legacy-repo-build-FACES-2666.

Also, it's worth noting that we are moving over to more modular repos, so you could also build one of those (probably bridge-impl if you want to build the jsf2-spring portlet). Check out the new version scheme to see which branch of the new repo you should build.

- Kyle
thumbnail
Neil Griffin, geändert vor 7 Jahren.

RE: Problem building sample ice faces portlet (Antwort)

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
The fix for FACES-2666 has been merged.