Skip to content

com.mailjet:mailjet-client:jar should not point at files within the project directory, #186

Closed
@tswast

Description

@tswast

We are getting this warning in our builds. Maven threatens that "future Maven versions might no longer support building such malformed projects." so we should address this.

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.example.appengine:appengine-mailjet:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.mailjet:mailjet-client:jar should not point at files within the project directory, ${project.basedir}/src/main/webapp/WEB-INF/lib/client-3.1.1-jar-with-dependencies.jar will be unresolvable by dependent projects @ line 34, column 19
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.example.managedvms:managed-vms-mailjet:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.mailjet:mailjet-client:jar should not point at files within the project directory, ${project.basedir}/src/main/webapp/WEB-INF/lib/client-3.1.1-jar-with-dependencies.jar will be unresolvable by dependent projects @ line 35, column 19
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 

https://travis-ci.org/GoogleCloudPlatform/java-docs-samples/builds/125684562

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions