@@ -86,6 +86,11 @@ public class Dependencies {
|
||||
|
||||
public static final Dependency XML_BEAM = Dependency.of("XMLBeam", "org.xmlbeam:xmlprojector");
|
||||
|
||||
public static final Dependency HIBERNATE = Dependency.of("Hibernate", "org.hibernate.orm:hibernate-core");
|
||||
|
||||
public static final Dependency ECLIPSELINK = Dependency.of("Eclipselink",
|
||||
"org.eclipse.persistence:org.eclipse.persistence.jpa");
|
||||
|
||||
public static final Dependency MONGODB_CORE = Dependency.of("MongoDB", "org.mongodb:mongodb-driver-core");
|
||||
|
||||
public static final Dependency MONGODB_LEGACY = Dependency.of("MongoDB", "org.mongodb:mongo-java-driver");
|
||||
|
||||
@@ -476,7 +476,7 @@ public class DependencyOperations {
|
||||
Dependency dependency = projectDependency.getDependency();
|
||||
|
||||
if (!(project == Projects.MONGO_DB && projectDependency.getProperty().equals("mongo.reactivestreams")
|
||||
|| project == Projects.NEO4J || project == Projects.BUILD)) {
|
||||
|| project == Projects.NEO4J || project == Projects.BUILD || project == Projects.JPA)) {
|
||||
|
||||
if (it.getDependencyVersion(dependency.getArtifactId()) == null
|
||||
&& it.getManagedDependency(dependency.getArtifactId()) == null) {
|
||||
|
||||
@@ -70,6 +70,9 @@ public class ProjectDependencies implements Streamable<ProjectDependencies.Proje
|
||||
config.add(Projects.COMMONS, ProjectDependency.ofProperty("vavr", Dependencies.VAVR));
|
||||
config.add(Projects.COMMONS, ProjectDependency.ofProperty("xmlbeam", Dependencies.XML_BEAM));
|
||||
|
||||
config.add(Projects.JPA, ProjectDependency.ofProperty("hibernate", Dependencies.HIBERNATE));
|
||||
config.add(Projects.JPA, ProjectDependency.ofProperty("eclipselink", Dependencies.ECLIPSELINK));
|
||||
|
||||
config.add(Projects.MONGO_DB, ProjectDependency.ofProperty("mongo.reactivestreams", Dependencies.MONGODB_RS));
|
||||
config.add(Projects.MONGO_DB, ProjectDependency.ofProperty("mongo", Dependencies.MONGODB_LEGACY));
|
||||
config.add(Projects.MONGO_DB, ProjectDependency.ofProperty("mongo", Dependencies.MONGODB_CORE));
|
||||
|
||||
Reference in New Issue
Block a user