ODL版本说明

ODL版本说明

OpenDaylight 仓库管理 https://nexus.opendaylight.org
Maven setting.xml配置 https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml

碳(Carbon)

  • 开发依赖环境:

    • Maven 3.1.1 or later

    • Java 7- or Java 8-compliant JDK

    • Maven settings.xml文件:

      cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml
      
  • 构建命令:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/public/ \
-DarchetypeCatalog=https://nexus.opendaylight.org/content/repositories/public/archetype-catalog.xml

#或者直接指定1.2.0碳版本
mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeVersion=1.2.0-Carbon

氧(Oxygen)

  • 开发依赖环境:

    • Maven 3.1.1 or later

    • Java 7- or Java 8-compliant JDK

    • Maven settings.xml文件:

      cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml
      
  • 构建命令:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/<opendaylight.release | opendaylight.snapshot>/ \
-DarchetypeCatalog=remote -DarchetypeVersion=<Archetype-Version>

氖(Neon)

  • 开发依赖环境:

    • Maven 3.5.2 or later

    • Java 8-compliant JDK

    • An appropriate Maven settings.xml file. A simple way to get the default OpenDaylight settings.xml file is:

      cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml
      
  • 构建命令:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.archetypes -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeCatalog=remote -DarchetypeVersion=<VERSION>

The correct VERSION depends on desired Simultaneous Release:

OpenDaylight Simultaneous Releaseopendaylight-startup-archetype version
Neon1.1.0
Neon SR11.1.1
Neon SR21.1.2
Neon SR31.1.3

钠(Sodium)

  • 开发依赖环境:

    • Maven 3.5.2 or later

    • Java 8-compliant JDK

    • Maven settings.xml文件:

      cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml
      
  • 构建命令:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.archetypes -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeCatalog=remote -DarchetypeVersion=<VERSION>

The correct VERSION depends on desired Simultaneous Release:

OpenDaylight Simultaneous Releaseopendaylight-startup-archetype version
Sodium1.2.0
Sodium SR11.2.1
Sodium SR21.2.2
Sodium SR3 Development1.2.3-SNAPSHOT

镁(Magnesium )

  • 开发依赖环境:

    • Maven 3.5.2 or later
    • Java 11-compliant JDK
    • Maven settings.xml文件:
    cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml
    
  • 构建命令:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.archetypes -DarchetypeArtifactId=opendaylight-startup-archetype \
-DarchetypeCatalog=remote -DarchetypeVersion=<VERSION>

The correct VERSION depends on desired Simultaneous Release:

OpenDaylight Simultaneous Releaseopendaylight-startup-archetype version
Magnesium Development1.3.0-SNAPSHOT

铝(Aluminium )

  • 开发依赖环境:

    • Maven 3.5.2 or later

    • Java 11-compliant JDK

    • Maven settings.xml文件:

      cp -n ~/.m2/settings.xml{,.orig} ; wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > ~/.m2/settings.xml
      
  • 构建命令:

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.archetypes \
    -DarchetypeArtifactId=opendaylight-startup-archetype \
    -DarchetypeCatalog=remote -DarchetypeVersion=<VERSION>

The correct VERSION depends on desired Simultaneous Release:

OpenDaylight Simultaneous Releaseopendaylight-startup-archetype version
Magnesium Development1.4.0-SNAPSHOT

参考文献
Opendaylight官方文档

[1] 碳(Carbon)
[2] 氧(Oxygen)
[3] 氖(Neon)
[4] 钠(Sodium)
[5] 镁(Magnesium )
[6] 铝(Aluminium )


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值