Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleoparent master (GuilinHonolulu) JDK 11
    <!-- NOT RELEASED YET - TARGET WILL ISBE M1 -->


	<parent>
        <groupId>org.onap.oparent</groupId>
        <artifactId>oparent</artifactId>
        <version>3.12.0-SNAPSHOT</version>
        <relativePath/>
    </parent>

Formatting Plugin Now Available Starting in guilin 

Oparent now has a formatting plugin available for projects that need to get their source code formatted to meet checkstyle guidelines. Instructions are in the pom.xml on how to use it.

...

Code Block
languagebash
# Clone oparent somewhere local
> git clone https://github.com/onap/oparent.git 

# 1st - your project should be inheriting from this oparent java dependency
> cd <my-repo>
> vi pom.xml

# ensure pom.xml is pointing to 3.1.0-SNAPSHOT or later

# 2nd - go into your project's source directory you wish to reformat
> cd <my-repo-to-reformat>

# 3rd - type in the following and make sure you set the path to where you have oparent cloned and its
              onap-java-formatter.xml file

> mvn formatter:format spotless:apply process-sources -Dproject.parent.basedir=<oparent-clone-location>

# formatter will re-format your source files

# check that the source compiles
> mvn clean install

# the source changes can now be uploaded via git review process

CVE Profile Now Available starting in guilin 

This profile can be used offline to check a repository for CVE issues in the codebase. Useful for contributors to check a new dependency without waiting for code to be merged and a CLM report job to be run.

...

Previous Versions of Oparent


Code Block
titleoparent Frankfurt Branch Guilin branch - JDK 11 (Please migrate to 3.1.0-SNAPSHOT)
    <!-- LATESTRELEASED RELEASEVERSION -->
    
	<parent>
        <groupId>org.onap.oparent</groupId>
        <artifactId>oparent</artifactId>
        <version>3.01.2<0</version>
        <relativePath/>
    </parent>

    <!-- CurrentAVAILABLE SNAPSHOT -->
    
	<parent>
        <groupId>org.onap.oparent</groupId>
        <artifactId>oparent</artifactId>
        <version>3.01.31-SNAPSHOT</version>
        <relativePath/>
    </parent>



Code Block
titleoparent El Alto branch JDK 8Frankfurt Branch - JDK 11 (Please migrate to master)
    <!-- LAST LATESTAVAILABLE RELEASE -->
    <parent>
        <groupId>org.onap.oparent</groupId>
        <artifactId>oparent</artifactId>
        <version>2<version>3.10.0<2</version>
        <relativePath/>
    </parent>


Code Block
titleoparent El Alto branch JDK 8 - NO LONGER SUPPORTED

    <!-- CurrentLAST AVAILABLE SNAPSHOTRELEASE -->
    <parent>
        <groupId>org.onap.oparent</groupId>
        <artifactId>oparent</artifactId>
        <version>2.21.0-SNAPSHOT<0</version>
        <relativePath/>
    </parent>


Remove redundant configuration items

...