Message Boards

Which Version of Liferay Maven Artifacts for Liferay Server 7.4.3.4

Alexander Wolf, modified 2 Years ago.

Which Version of Liferay Maven Artifacts for Liferay Server 7.4.3.4

New Member Posts: 14 Join Date: 8/18/16 Recent Posts

Hello there,

I upgrading our Liferay Portlet from Server Version 7.0.5 to Server Version 7.4.3.4

 

We are using Maven to build our Portlet and using a set of Liferay mvn Artifacts.

After looking into the Sourcecode of Portal 7.4.3.4 i saw, that for Example the Artifact

"com.liferay.portal:com.liferay.portal.impl" is used in Version 8.1.12.

 

Now the Problem is in https://mvnrepository.com/ there is no Artifact with the corresponding Version 8.1.12 the newest 8.1 Version there is 8.1.11.

 

So my Question where to find the correct artifacts to upload them into our maven repository?

 

Thanks for any Advice

thumbnail
Olaf Kock, modified 2 Years ago.

RE: Which Version of Liferay Maven Artifacts for Liferay Server 7.4.3.4

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts

Somebody would have to step in with details on Maven: I'm using Liferay Workspace (gradle based), where I just declare a target platform and don't need to worry about any version - in fact, not even about individual dependency modules: It's only necessary to give a single dependency and the build process figures out the actual dependencies and their versions. I couldn't imagine having to figure out the exact module's name first, then its version, and track the version progress over time.

I've kepy myself at distance from Maven though, so I'm not sure how to trigger the same behavior there (or if it's possible)

thumbnail
Russell Bohl, modified 2 Years ago.

RE: Which Version of Liferay Maven Artifacts for Liferay Server 7.4.3.4

Expert Posts: 291 Join Date: 2/13/13 Recent Posts

I think 8.1.11 is what you need. There's some process I don't understand that makes the version you see in the src code's declared patch level off-by-1. The src code isn't the best way to determine the artifact version you need to reference. You can see this in the tag's last commit message in portal-impl:

 artifact:ignore portal-impl 8.1.11 prep next

Edited to add: to paraphrase Hansel (from Zoolander fame): Listen to your friend Olaf. He's a cool dude.

Using Liferay Workspace's target platform will make your life easier.