Foren

PluginSDK Liferay7 and Ivy problems

thumbnail
Armaz Mellati, geändert vor 7 Jahren.

PluginSDK Liferay7 and Ivy problems

Junior Member Beiträge: 96 Beitrittsdatum: 30.10.09 Neueste Beiträge
Hi

I just downloaded the Liferay 7 ga2 SDK from this URL
https://sourceforge.net/projects/lportal/files/Liferay%20Portal/7.0.1%20GA2/com.liferay.portal.plugins.sdk-7.0-ga2-20160610113014153.zip/download

-Packed it up
- created build.[username].prop
- cd com.liferay.portal.plugins.sdk-7.0/portlets/
- ./create.sh FOFO FOFO

It takes a while, then comes up with a lot of [ivy.resolve] Warnings .

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: javax.activation#activation;1.1: several problems occurred while resolving dependency: javax.activation#activation;1.1 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for javax/activation#activation;1.1: res=/javax/activation/activation/1.1/activation-1.1-javadoc.jar: java.net.MalformedURLException: no protocol: /javax/activation/activation/1.1/activation-1.1-javadoc.jar
[ivy:resolve] liferay-private: unable to get resource for javax/activation#activation;1.1: res=/javax/activation/activation/1.1/activation-1.1-javadoc.jar: java.net.MalformedURLException: no protocol: /javax/activation/activation/1.1/activation-1.1-javadoc.jar
[ivy:resolve] liferay-private: unable to get resource for javax/activation#activation;1.1: res=/javax/activation/activation/1.1/activation-1.1.pom: java.net.MalformedURLException: no protocol: /javax/activation/activation/1.1/activation-1.1.pom
[ivy:resolve] :: org.apache.ant#ant-apache-bsf;1.8.3: several problems occurred while resolving dependency: org.apache.ant#ant-apache-bsf;1.8.3 {default=[default]}:
...... cut ....
BUILD FAILED
/Users/aa/Downloads/com.liferay.portal.plugins.sdk-7.0/portlets/build.xml:5: The following error occurred while executing this line:
/Users/aa/Downloads/com.liferay.portal.plugins.sdk-7.0/build-common-plugins.xml:5: The following error occurred while executing this line:
/Users/aa/Downloads/com.liferay.portal.plugins.sdk-7.0/build-common.xml:57: The following error occurred while executing this line:
/Users/aa/Downloads/com.liferay.portal.plugins.sdk-7.0/build-common-ivy.xml:570: The following error occurred while executing this line:
/Users/aa/Downloads/com.liferay.portal.plugins.sdk-7.0/build-common-ivy.xml:173: The following error occurred while executing this line:
/Users/aa/Downloads/com.liferay.portal.plugins.sdk-7.0/build-common-ivy.xml:202: impossible to resolve dependencies:
resolve failed - see output for details

Hope someone can help with that.

I need that to work to be able to port-my old portlets fra lfr6.2