cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding third-party Java libraries into Hybris codebase

ccronquillo
Explorer
0 Likes
3,565

Hi! Does anyone know how to add third-party libraries into Hybris?

I had been using maven in previous projects before, and I got so used to just adding dependencies in the pom.xml. However, I'm not quite sure what is the "standard" way of doing this in Hybris (SAP Commerce).

Leads would be appreciated! Thank you!

View Entire Topic
fionnziegler2
Explorer
0 Likes

Hi!

simply put your libaries into \lib or \web\webroot\WEB-INF\lib. The build process will automatically look for them. You have to take care of the classpath in your IDE.

As an alternative add usemaven="true" in your extensioninfo.xml if you want to use maven.