留言板

Problem building sample ice faces portlet

Abey M,修改在8 年前。

Problem building sample ice faces portlet

New Member 帖子: 18 加入日期: 12-1-20 最近的帖子
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,修改在8 年前。

RE: Problem building sample ice faces portlet (答复)

Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
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,修改在8 年前。

RE: Problem building sample ice faces portlet (答复)

Liferay Legend 帖子: 2655 加入日期: 05-7-27 最近的帖子
The fix for FACES-2666 has been merged.