Quantcast
Viewing all articles
Browse latest Browse all 5648

Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

I have a situation where it would be convenient for my pom to have two dependencies that are almost identical, only being different by the version. The makeup of the artifact is such that it would be safe (and intended) to use both of them. The Java package used in each is similar, but different. The package will vary along with the version number.

Will dependency resolution and the EAR plugin (and any other mechanism that lists dependencies) have any trouble with this?

Viewing all articles
Browse latest Browse all 5648

Trending Articles