Forums de discussion

Official Liferay 7 Maven artifacts

Steven Pietzsch, modifié il y a 7 années.

Official Liferay 7 Maven artifacts

New Member Publications: 18 Date d'inscription: 22/01/14 Publications récentes
Hello,

we would like to use Liferay 7 CE-GA1 maven artifacts.
Until now, we used Liferay 6.2.5 CE like this:


<properties>
  <liferay.version>6.2.5</liferay.version>
  <liferay-maven-plugin.version>6.2.5</liferay-maven-plugin.version>
</properties>


Now, when using this


<properties>
  <liferay.version>7.0.0</liferay.version>
  <liferay-maven-plugin.version>7.0.0</liferay-maven-plugin.version>
</properties>


we get some errors:
The following artifacts could not be resolved: com.liferay.portal:portal-service:jar:7.0.0, com.liferay.portal:util-bridges:jar:7.0.0, com.liferay.portal:util-taglib:jar:7.0.0, com.liferay.portal:util-java:jar:7.0.0: Could not find artifact com.liferay.portal:portal-service:jar:7.0.0

After a short research, we found out, that Liferay maven artifacts are not available at https://repository.liferay.com/nexus/content/groups/liferay-ce/, which we used before!
Furthermore, there are only nightly versions at http://search.maven.org/#search%7Cga%7C1%7Cportal-service.
Could you please tell me, where to find the official maven artifacts or how to setup up the pom.xml for Liferay 7?

Kind regards,
Steven
Steven Pietzsch, modifié il y a 7 années.

RE: Official Liferay 7 Maven artifacts

New Member Publications: 18 Date d'inscription: 22/01/14 Publications récentes
Could anyone please help me regarding this question?
Spa Movy, modifié il y a 6 années.

RE: Official Liferay 7 Maven artifacts

New Member Publications: 14 Date d'inscription: 07/04/11 Publications récentes
Bumping this thread.

Version 7.0-GA3 is here for a while, but latest maven plugins are 7.0.0-m2. Why?
thumbnail
Wouter Vernaillen, modifié il y a 6 années.

RE: Official Liferay 7 Maven artifacts

Junior Member Publications: 80 Date d'inscription: 06/06/09 Publications récentes
liferay-maven-plugin has been removed in Liferay 7.

It's documented in the Liferay documentation:

The biggest change for your project’s build plugins is the removal of the liferay-maven-plugin. Liferay now provides several individual Maven plugins that accomplish specific tasks. For example, you can configure Maven plugins for Liferay’s CSS Builder, Service Builder, Theme Builder, etc. With smaller plugins available to accomplish specific tasks in your project, you no longer have to rely on one large plugin that provides many things you may not want.
Spa Movy, modifié il y a 6 années.

RE: Official Liferay 7 Maven artifacts

New Member Publications: 14 Date d'inscription: 07/04/11 Publications récentes
Thanks, already noticed that.

Just started first project with Liferay 7 and i was used to liferay-maven-plugin with older projects.

Shame on me emoticon