掲示板

Problem building sample ice faces portlet

8年前 に Abey M によって更新されました。

Problem building sample ice faces portlet

New Member 投稿: 18 参加年月日: 12/01/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
8年前 に Kyle Joseph Stiemann によって更新されました。

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

Liferay Master 投稿: 760 参加年月日: 13/01/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
8年前 に Neil Griffin によって更新されました。

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

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
The fix for FACES-2666 has been merged.