bdf2 bom

unify doardo bdf versions

License

License

GroupId

GroupId

org.xobo.dorado
ArtifactId

ArtifactId

bdf2-bom
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

pom
Description

Description

bdf2 bom
unify doardo bdf versions
Project URL

Project URL

https://github.com/cnxobo/bdf2-bom
Source Code Management

Source Code Management

https://github.com/cnxobo/bdf2-bom/tree/master

Download bdf2-bom

Filename Size
bdf2-bom-0.0.2.pom 10 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.xobo.dorado/bdf2-bom/ -->
<dependency>
    <groupId>org.xobo.dorado</groupId>
    <artifactId>bdf2-bom</artifactId>
    <version>0.0.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.xobo.dorado/bdf2-bom/
implementation 'org.xobo.dorado:bdf2-bom:0.0.2'
// https://jarcasting.com/artifacts/org.xobo.dorado/bdf2-bom/
implementation ("org.xobo.dorado:bdf2-bom:0.0.2")
'org.xobo.dorado:bdf2-bom:pom:0.0.2'
<dependency org="org.xobo.dorado" name="bdf2-bom" rev="0.0.2">
  <artifact name="bdf2-bom" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.xobo.dorado', module='bdf2-bom', version='0.0.2')
)
libraryDependencies += "org.xobo.dorado" % "bdf2-bom" % "0.0.2"
[org.xobo.dorado/bdf2-bom "0.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

bdf2-bom

管理 BDF2 项目版本 BDF2 本身Jar包版本管理混乱,所以我使用该项目统一管理 bdf 及 dorado 依赖。 目前只添加了部分更新频率相对较高的 jar 包,可以根据自己项目的实际需要自由的 fork。 在 maven 项目里添加如下代码,跟 dependencies 节点并行,然后删除掉 dependencies 下被标识为 "Duplicating managed version" 的 version 节点。 项目即可升级到最新的 BDF2、dorado、Spring 4。

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.xobo.dorado</groupId>
      <artifactId>bdf2-bom</artifactId>
      <version>0.0.1</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

示例 pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.bstek.bdf2</groupId>
  <version>1.0.0</version>
  <artifactId>bdf2-project</artifactId>
  <packaging>war</packaging>
  <dependencies>
    <dependency>
      <groupId>com.bstek.bdf2</groupId>
      <artifactId>bdf2-core</artifactId>
	  <!-- 应该删除的 version 节点 -->
	  <!--  <version>2.0.9</version> -->
    </dependency>
    <dependency>
      <groupId>org.hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>2.0.0</version>
    </dependency>
  </dependencies>
  <dependencyManagement>
    <dependencies>
	  <!-- bdf2 版本管理 -->
      <dependency>
        <groupId>org.xobo.dorado</groupId>
        <artifactId>bdf2-bom</artifactId>
        <version>0.0.1</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <repositories>
    <repository>
      <id>bsdn-maven-repository</id>
      <url>http://nexus.bsdn.org/content/groups/public/</url>
    </repository>
  </repositories>
</project>

Versions

Version
0.0.2
0.0.1