Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Ingo Schildmann
Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT
21. Dezember 2011 05:20
Antwort

Ingo Schildmann

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 21. Dezember 2011

Neue 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?
Sharana Basavaraj Ballari
RE: Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT
22. Dezember 2011 02:55
Antwort

Sharana Basavaraj Ballari

Rang: Regular Member

Nachrichten: 136

Eintrittsdatum: 9. September 2007

Neue 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
RE: Missing com.liferay.portal:util-taglib:jar:6.1.0-SNAPSHOT
22. Dezember 2011 04:13
Antwort

Ingo Schildmann

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 21. Dezember 2011

Neue 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