1

In Eclipse, I have two projects. One is a Web-Project which should be exported as a WAR-File. The second one is a Java-project which exists only to bundle several dependency-jars. (Since it's a lot of jars and they don't exist in maven repo, having a project for them seemed the easiest solution to bundle them together)

Now the Web-Project depends on having the JARs from the dependency-project in WEB-INF/lib-Folder. I already performed the following steps:

  • Include JARs in Build-Path of Dependency-Project
  • Export all the JARs from Dependency-Project (using Order and Export tab)
  • Include Dependency-Project in Web-Projects Build-Path
  • Add Dependency-Project to Deployment Assembly of Web-Project using Deploy Path WEB-INF/lib/dependencies.jar (suggested here)

But even though the Dependency-Project is included in Deployment Assembly, it is not exported in the WAR-File. Am I missing a step?

Community
  • 1
  • 1
SilverNak
  • 3,283
  • 4
  • 28
  • 44

1 Answers1

1

You could install the jars as maven dependencies by phantasy groupid, phantasy artifactid and phantasy version.

Grim
  • 1,938
  • 10
  • 56
  • 123