You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROBLEM:
When compiling, maven complains about libraries distributed within the project sources:
[WARNING] Some problems were encountered while building the effective model
[WARNING] 'dependencies.dependency.systemPath' should not point at files within the project directory, xxx.jar will be unresolvable by dependent projects
The culprits include synthetica.jar , syntheticaAddons.jar , syntheticaBlueMoon.jar , syntheticaBlueMoonAddon.jar , scanner.jar , Shell.jar , jodconverter-3.0-beta-2.jar
PROPOSED SOLUTION:
Create a local repository contained within the sources, and add it to the main pom. So create a 'repo' dir that contains private jars. It is referenced as a repository in the pom. Place the jars in this directory via the following command:
PROBLEM:
When compiling, maven complains about libraries distributed within the project sources:
[WARNING] Some problems were encountered while building the effective model
[WARNING] 'dependencies.dependency.systemPath' should not point at files within the project directory, xxx.jar will be unresolvable by dependent projects
The culprits include synthetica.jar , syntheticaAddons.jar , syntheticaBlueMoon.jar , syntheticaBlueMoonAddon.jar , scanner.jar , Shell.jar , jodconverter-3.0-beta-2.jar
PROPOSED SOLUTION:
Create a local repository contained within the sources, and add it to the main pom. So create a 'repo' dir that contains private jars. It is referenced as a repository in the pom. Place the jars in this directory via the following command:
mvn install:install-file -DlocalRepositoryPath=repo -DcreateChecksum=true -Dpackaging=jar -Dfile=synthetica.jar -DgroupId=synthetica -DartifactId=synthetica -Dversion=1.0
In the pom.xml, add:
...
repo
file://${project.basedir}/repo
The text was updated successfully, but these errors were encountered: