Foren

Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT

Ingo Schildmann, geändert vor 12 Jahren.

Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT

New Member Beiträge: 14 Beitrittsdatum: 21.12.11 Neueste Beiträge
Hi,

I've used liferay-maven-incubation to create a new portlet project with liferay version 6.1.0-SNAPSHOT
For this version all com.liferay.portal artifacts can be found but util-taglib

Is util-taglib just temporarily missing
or do I have to use 6.0.6
or should I remove the dependency?
thumbnail
Sharana Basavaraj Ballari, geändert vor 12 Jahren.

RE: Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT

Regular Member Beiträge: 139 Beitrittsdatum: 10.09.07 Neueste Beiträge
Hi There,

util-taglib.jar is added to the portlet during the course of deployment by Liferay.

are you facing any errors/exceptions ?

Since you are using Maven, you may need to check tour repository for its existance and change your POM to add this jar to the portlet's lib directory.

HTH,
Sharan
Ingo Schildmann, geändert vor 12 Jahren.

RE: Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT

New Member Beiträge: 14 Beitrittsdatum: 21.12.11 Neueste Beiträge
Hi Sharan,

the pom that the liferay-portlet-archetype created contained the (provided) dependency to util-taglib.
For unknown reasons Maven couldn't find that jar only, so it wasn't added to my repository.

But now I downloaded the last build directly from https://oss.sonatype.org/content/repositories/snapshots/com/liferay/portal/util-taglib/6.1.0-SNAPSHOT/
and added it manually to my repository.

It's a provided dependency anyway, after deployment the portlet uses the util-taglib.jar from the liferay installation, like you wrote.

Regards,
Ingo