oparent.git
6 years agoMove sonar plugin config to oparent parent pom 63/30163/1
Gary Wu [Fri, 2 Feb 2018 19:10:57 +0000 (11:10 -0800)]
Move sonar plugin config to oparent parent pom

Change-Id: I0babeb2c75ce8e46bf9ae305c3ddc2a86759605e
Issue-ID: CIMAN-126
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoVersion bump after Amsterdam branching 07/24807/1
Gary Wu [Tue, 21 Nov 2017 22:52:33 +0000 (14:52 -0800)]
Version bump after Amsterdam branching

Change-Id: I2af296b5606db3959064c52085b7664e87e5488e
Issue-ID: CIMAN-120
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoBump minor version 77/24277/3
Jessica Wagantall [Sun, 19 Nov 2017 02:32:09 +0000 (18:32 -0800)]
Bump minor version

Bump minor version in preparation for Amsterdam
branching.

Change-Id: Icaa42897a166686539db7cc242d0e4aa9af52a48
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoDisallow SNAPSHOT dependencies 49/21049/1
Gary Wu [Fri, 27 Oct 2017 17:53:27 +0000 (10:53 -0700)]
Disallow SNAPSHOT dependencies

Fail the build if SNAPSHOT dependencies are detected.

Change-Id: If2acd1ea46d013c632dcc1897e09bc853e236518
Issue-ID: INT-309
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoUpdate version in version.properties 51/20151/1
Dan Timoney [Mon, 23 Oct 2017 13:58:57 +0000 (09:58 -0400)]
Update version in version.properties

Updated version in version.properties to 1.0.0 to match SNAPSHOT
version in pom.xml

Change-Id: I1e7214bcb6833886938802e0e8e136cfbe22a81e
Issue-ID: INT-293
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoCleanup project's name in Sonar 47/18847/1
Jessica Wagantall [Fri, 13 Oct 2017 23:43:11 +0000 (16:43 -0700)]
Cleanup project's name in Sonar

The name parameter in the root pom.xml should
match the project name in gerrit to reflect consistency in Sonar.

Change-Id: I9b1d51f1986b21f24d6389b2da2c21c265399246
Issue-id: CIMAN-65
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoRevert "Update distributionManagement serverIds" 51/18351/1
Gary Wu [Wed, 11 Oct 2017 19:58:43 +0000 (12:58 -0700)]
Revert "Update distributionManagement serverIds"

This reverts commit c93675909cd9d81064d1fdd8c0c7f33ba39fc7cc.

Change-Id: Ia3d0f75785e4ba9bb25d6cdb55e32206e120c38e
Issue-ID: INT-249
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMerge "Update distributionManagement serverIds"
Gary Wu [Wed, 11 Oct 2017 19:54:14 +0000 (19:54 +0000)]
Merge "Update distributionManagement serverIds"

6 years agoUpdate distributionManagement serverIds 43/18343/1
Gary Wu [Wed, 11 Oct 2017 19:45:16 +0000 (12:45 -0700)]
Update distributionManagement serverIds

Change-Id: Iafd88030b0c9a90abbb3d92d215fc13197a67885
Issue-ID: INT-249
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoEnable staging plugin 55/17755/1
Dan Timoney [Tue, 10 Oct 2017 00:04:18 +0000 (20:04 -0400)]
Enable staging plugin

Release build for oparent-odlparent is not using staging plugin, and
so is failing trying to write to releases

Change-Id: Ie2d559cd4043566fb278a48b697731aa8d74a905
Issue-ID: INT-257
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFix version tag placement 09/17509/1
Dan Timoney [Fri, 6 Oct 2017 19:06:32 +0000 (15:06 -0400)]
Fix version tag placement

oparent-odlparent Jenkins job updates the first <version> tag in
the pom.xml, so the <parent> tag must appear after the <version>
for the pom.xml itself.

Change-Id: I3369c804a2470936c51801b5fbdd53b0052ee83c
Issue-ID: INT-257
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoFix bug for oparent-python 43/13743/1
Zhaoxing [Wed, 20 Sep 2017 07:39:02 +0000 (15:39 +0800)]
Fix bug for oparent-python

Change-Id: Ia1c49c5f3f6d629a5573aa22a7ea9816b230fa85
Issue-ID: INT-222
Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
6 years agoAdd missing license header 95/12795/1
Gary Wu [Fri, 15 Sep 2017 20:45:42 +0000 (13:45 -0700)]
Add missing license header

Change-Id: Ie7ce5da5f0baa6a77dd3bfefd523f28682fe27ba
Issue-ID: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years ago[TEST-48] create a parent for python in oparent 29/11229/2
DR695H [Fri, 8 Sep 2017 19:20:22 +0000 (15:20 -0400)]
[TEST-48] create a parent for python in oparent

This allows python projects to inherit common stuff from this

Change-Id: Ifea061e33be75237ebe459fc7481d32cdbcc2182
Signed-off-by: DR695H <dr695h@att.com>
6 years agoMove checkstyle config to plugins section 01/10901/3
Gary Wu [Thu, 7 Sep 2017 18:40:49 +0000 (11:40 -0700)]
Move checkstyle config to plugins section

Move ONAP checkstyle config from the pluginManagement
section to the plugins section to fix dependency
resolution issues.

Change-Id: I8cc359e2d2e588717eb2f7dd56b691c8ee3cdf0a
Issue-ID: INT-128
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoOParent children do not find checkstyle 51/10551/1
Anaël Closson [Wed, 6 Sep 2017 09:55:21 +0000 (11:55 +0200)]
OParent children do not find checkstyle

The checkstyle plugin cannot be found by projects inheriting by OParent.
When maven executes the check-license execution, he finds the
org.onap.oparent:checkstyle:jar:1.0.0 as dependency and tries to retreive it.
The repository section doesn't apply to plugin dependencies and so
the org.onap.oparent:checkstyle:jar cannot be found.

By adding it as dependency of the org.onap.oparent:oparent project,
the artifact is downloaded using the project repositories and is already
available when the plugin dependencies are checked.

This might be due to a maven bug.

Change-Id: I9eabea660b5fe8ceacc7299914e64ccccd7c2850
Issue-Id: INT-128
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoRelax O-Parent license check requirements 09/10409/3 1.0.0-Amsterdam 1.0.0-ONAP v0.1.1
Gary Wu [Tue, 5 Sep 2017 22:34:49 +0000 (15:34 -0700)]
Relax O-Parent license check requirements

Relax O-Parent license check formatting requirements.
At the same time, violations will now become errors and
will fail builds.

Change-Id: Ie581895796cc06a9f008d7b739583fb44673aa19
Issue-ID: INT-135
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMerge "OParent deps not downloaded by children"
Gary Wu [Tue, 5 Sep 2017 05:35:22 +0000 (05:35 +0000)]
Merge "OParent deps not downloaded by children"

6 years agoOParent deps not downloaded by children 99/9699/2
Anaël Closson [Thu, 31 Aug 2017 15:03:05 +0000 (17:03 +0200)]
OParent deps not downloaded by children

When compiling a project that use OParent as parent project, despite
the usage of ONAP nexus repositories in the project repositories
configuration, the dependencies of org.onap.oparent:oparent are only
searched on maven central which results in build failure for those
projects.

Issue-Id: INT-128
Change-Id: Iba9b92cc563685ffe9454d824191028b357bc9f1
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoAdd back ruleset.xml referred to by v0.1.0 13/10013/1
Gary Wu [Fri, 1 Sep 2017 21:54:52 +0000 (14:54 -0700)]
Add back ruleset.xml referred to by v0.1.0

Add back ruleset.xml since it's referred to
by the released v0.1.0 artifact.

Issue-ID: INT-121
Change-Id: Ifa939b7d506ef3dd7d2d4180efba1d153645d6cf
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMerge "Add parent for opendaylight vclients"
Gary Wu [Fri, 1 Sep 2017 21:50:54 +0000 (21:50 +0000)]
Merge "Add parent for opendaylight vclients"

6 years agoAdd parent for opendaylight vclients 69/9969/2
Dan Timoney [Fri, 1 Sep 2017 17:45:40 +0000 (13:45 -0400)]
Add parent for opendaylight vclients

Applications based on opendaylight need to inherit settings from the
opendaylight parent pom (odlparent).  This change adds a copy of
oparent whose parent is the odlparent pom, which will allow projects
based on opendaylight to still inherit settings from oparent.
The new odlparent-boron directory is included as module in top
level pom.xml, per review comments, to avoid release build failure.
This will have to be treated via a separate Jenkins build.

Change-Id: Icfb1f119672efc7cfd80748ee92cc331b01550a5
Issue-ID: CCSDK-43
Signed-off-by: Dan Timoney <dtimoney@att.com>
6 years agoRemove config for version-check plugin 85/9985/1
Gary Wu [Fri, 1 Sep 2017 19:55:42 +0000 (12:55 -0700)]
Remove config for version-check plugin

Change-Id: I559aa436b9a22e2490ef5c4cf9895dd4f83d6628
Issue-ID: INT-124
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMove version-check to integration repo 75/9975/1
Gary Wu [Fri, 1 Sep 2017 19:22:48 +0000 (12:22 -0700)]
Move version-check to integration repo

Change-Id: I52ae07477f68e7ae665fa1d9c1f4ee2ae486d59f
Issue-ID: INT-124
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAdd properties for raw repo, docker reg 67/9967/1
Lusheng Ji [Fri, 1 Sep 2017 17:43:02 +0000 (17:43 +0000)]
Add properties for raw repo, docker reg

Issue-Id: DCAEGEN2-60
Change-Id: I51f4ed9d7d282bf6b91d7e5c32fb1057957af003
Signed-off-by: Lusheng Ji <lji@research.att.com>
6 years agoMake SNAPSHOT dependency checks WARN only for now 17/9517/1
Gary Wu [Wed, 30 Aug 2017 19:51:01 +0000 (12:51 -0700)]
Make SNAPSHOT dependency checks WARN only for now

Change-Id: I32537204c3b75327492125c6fa888465fc06118a
Issue-ID: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMerge "Change of versioning strategy"
Gary Wu [Wed, 30 Aug 2017 18:46:54 +0000 (18:46 +0000)]
Merge "Change of versioning strategy"

6 years agoTemporarily disable version-check-maven-plugin 11/9511/1
Gary Wu [Wed, 30 Aug 2017 18:33:56 +0000 (11:33 -0700)]
Temporarily disable version-check-maven-plugin

Temporarily disable version-check-maven-plugin until we resolve
the proxy issue.

Change-Id: Idbf05d0c22388665ecc2dc321a5126493bede1c6
Issue-id: INT-125
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoRemove dependency on version-check-maven-plugin 07/9507/1
Gary Wu [Wed, 30 Aug 2017 18:16:32 +0000 (11:16 -0700)]
Remove dependency on version-check-maven-plugin

Change-Id: I66e969cd449c74cc9ea9631f4b7747a4d3acfb96
Issue-id: INT-125
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAllow SNAPSHOT dependencies on oparent for now 05/9505/2
Gary Wu [Wed, 30 Aug 2017 17:56:39 +0000 (10:56 -0700)]
Allow SNAPSHOT dependencies on oparent for now

Temporarily allow SNAPSHOT dependencies on oparent
during the transition period while the
Independent Versioning process is being rolled out.

Change-Id: I2bd023546c047da6fac5ae0dec714be9f3aaba13
Issue-id: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoChange of versioning strategy 49/9349/1
Anaël Closson [Wed, 30 Aug 2017 09:09:25 +0000 (11:09 +0200)]
Change of versioning strategy

Change-Id: I7bcce33d1ffdd1d49d25d02090313305b0ecf34f
Issue-id: INT-121
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoMove version manifest to integration repo 31/9231/2
Gary Wu [Tue, 29 Aug 2017 22:02:30 +0000 (15:02 -0700)]
Move version manifest to integration repo

Change-Id: Ie2f8f65d866a403db490efcdd84e8873c3c3bae5
Issue-id: INT-124
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMaven plugin to check dependency versions 21/9221/3
Gary Wu [Tue, 29 Aug 2017 21:21:06 +0000 (14:21 -0700)]
Maven plugin to check dependency versions

Initial draft of a custom maven plugin to check
dependency versions against the version manifest.

Change-Id: If009461f6ecbcd86e5a43004a1c5a421ec02ccca
Issue-id: INT-124
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoVersion bump oparent 01/9201/1
Gary Wu [Tue, 29 Aug 2017 19:53:33 +0000 (12:53 -0700)]
Version bump oparent

Change-Id: I81f8e0efb5953b87cfe94299078136b638734509
Issue-id: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAdd initial version manifest CSV 87/9187/1
Gary Wu [Tue, 29 Aug 2017 18:32:33 +0000 (11:32 -0700)]
Add initial version manifest CSV

Change-Id: I2d5c9320aff5d813485ff3c4bb1523f479924db9
Issue-id: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoOptional execution off versions-maven-plugin 75/9175/1 v0.1.0
Anaël Closson [Tue, 29 Aug 2017 15:18:08 +0000 (17:18 +0200)]
Optional execution off versions-maven-plugin

The maven plugin used for displaying the list of artifacts that can be
updated consumes a lot of time on each job execution on the LF infrastructure.

The execution should be optional and can be configured by assigning it
on a specific maven phase when needed using the following variable:
 versions.plugin.phase

By default, it's assigned to a non existing phase to disable it.

Change-Id: I30d38a8458e6e855ff27cf3c31678cbc373e59c9
Issue-Id: INT-121
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoUse ruleset.xml file 25/9125/1
Anaël Closson [Tue, 29 Aug 2017 14:04:45 +0000 (16:04 +0200)]
Use ruleset.xml file

The ruleset.xml file had to be online before being enabled.

Change-Id: I6f2c8367a87d5c71d2bfbe3f93223e94707e97e8
Issue-id: INT-121
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoForce oparent users to use release dependencies 23/8923/2
Anaël Closson [Mon, 28 Aug 2017 13:43:22 +0000 (15:43 +0200)]
Force oparent users to use release dependencies

This patch adds an enforcer to force users of oparent as parent to use release
versions of artifacts.

Current rules are quite loose to avoid breaking too much project.

Following options might be removed when needed :
 <failWhenParentIsSnapshot> : when at least oparent changes its version
 <onlyWhenRelease> : when most project have removed their snapshot dependencies

Change-Id: I1f9824557c5bbaae9f4a1378c3bc223edd4b5da4
Issue-id: INT-122
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoWarn project for outdated dependencies 21/8921/2
Anaël Closson [Mon, 28 Aug 2017 13:35:58 +0000 (15:35 +0200)]
Warn project for outdated dependencies

Projects using oparent as parent should have information about outdated
dependencies. This is done at validation phase.

A (template of a) list of rules is provided to ignore certain versions,
a more importantly to ignore all versions of an artifact but one.
This might be use to warn projects not using the needed dependency
of an artifact when preparing for an specific release of ONAP.

Current rule file is commented as it breaks it's not available on the
git repository.

Change-Id: I30bbbe5d14d8f297f046700963cc5a238e41901f
Issue-id:INT-121
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
6 years agoRemove distribution site from oparent 95/8495/1
Gary Wu [Wed, 23 Aug 2017 20:24:41 +0000 (13:24 -0700)]
Remove distribution site from oparent

Change-Id: I4fc1010bd7b3835d9ab6c59b1487328b8b66f7a9
Issue-id: INT-111
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAdd support for site deploy in oparent 77/8477/1
Gary Wu [Wed, 23 Aug 2017 19:03:32 +0000 (12:03 -0700)]
Add support for site deploy in oparent

Change-Id: Ib4f02e7863b09a4c9476f82fee536598aeff59fa
Issue-id: INT-111
Issue-id: INT-110
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoRefactor oparent for independent versioning 25/8225/4
Gary Wu [Mon, 21 Aug 2017 21:03:14 +0000 (14:03 -0700)]
Refactor oparent for independent versioning

Change-Id: I543f394b360b6926986f33b48bef4b3355363beb
Issue-id: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAdd version.properties to support staging build 11/7911/1
Gary Wu [Thu, 17 Aug 2017 19:04:11 +0000 (12:04 -0700)]
Add version.properties to support staging build

Change-Id: I81b7db07ed496f0a00e35ca9f68d7869eb7f674a
Issue-id: INT-103
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoAdd seed code for swagger-sdk 05/7305/1
Kanagaraj Manickam k00365106 [Fri, 11 Aug 2017 05:07:12 +0000 (10:37 +0530)]
Add seed code for swagger-sdk

Add required mvn setting for generating
swagger json and service java sdk automatically

Change-Id: I632b46ed5d234582b9cfcf9d4ff1409873d1a050
Issue-Id: MSB-14
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
6 years agoMerge "ignore Eclipse generated project files"
Gary Wu [Thu, 10 Aug 2017 17:16:30 +0000 (17:16 +0000)]
Merge "ignore Eclipse generated project files"

6 years agoremove duplicated maven property 91/6591/1
Guo Ruijing [Thu, 3 Aug 2017 10:23:29 +0000 (03:23 -0700)]
remove duplicated maven property

Change-Id: I3a4341169cb06951c4b3def0f211b559b9621c32
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
6 years agoignore Eclipse generated project files 35/6335/1
Pamela Dragosh [Fri, 28 Jul 2017 15:02:07 +0000 (11:02 -0400)]
ignore Eclipse generated project files

Change-Id: Ib1a89aebf14b7cfe98beac5e718850dace049ea0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoChange distribution repo names to ecomp 31/5731/1
Gary Wu [Mon, 10 Jul 2017 23:00:27 +0000 (16:00 -0700)]
Change distribution repo names to ecomp

Change-Id: Ic9501ecc848558992946ac4c84861e03b49f4428
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoRename openecomp properties to onap 75/5175/1
Gary Wu [Wed, 21 Jun 2017 23:50:50 +0000 (16:50 -0700)]
Rename openecomp properties to onap

Change-Id: I27ef7b6d2d32dd25cca493f46419fbe08d54b946
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoRefactoring 73/5173/1
Gary Wu [Wed, 21 Jun 2017 23:42:25 +0000 (16:42 -0700)]
Refactoring

Change-Id: I06b42408e41f03e5e0c6b8715ebfd69bf99d67a2
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoMake license check warning only for now 71/5171/1
Gary Wu [Wed, 21 Jun 2017 23:02:53 +0000 (16:02 -0700)]
Make license check warning only for now

Make license check warning only for now.
Set default java version to 8.

Change-Id: Idbbc617c739a45bbecbfdd3f8bc394e648b852a8
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoInitial commit using OPEN-O seed code 67/5167/1
Gary Wu [Wed, 21 Jun 2017 22:03:17 +0000 (15:03 -0700)]
Initial commit using OPEN-O seed code

Change-Id: I74f6c92bcc2327ad41bc997c04091e2c01fdf1da
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
6 years agoInitial empty repository
Jessica Wagantall [Wed, 21 Jun 2017 21:18:02 +0000 (21:18 +0000)]
Initial empty repository