odlparent.git
9 years agoEnable checkstyle by default 85/16285/1
Thanh Ha [Tue, 10 Mar 2015 21:04:09 +0000 (17:04 -0400)]
Enable checkstyle by default

Change-Id: I014ae79143bc0e0bc8a26fa3b827a7783f68d950
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoValidate license headers in code files 83/13983/3
Thanh Ha [Thu, 8 Jan 2015 01:17:43 +0000 (20:17 -0500)]
Validate license headers in code files

Uses checkstyle to scan the code for files that do not conform to the
license header format described on the wiki at:

https://wiki.opendaylight.org/view/ODL_Coding_Guidelines#C.2FC.2B.2B.2FJava

Change-Id: I79520de47369586071237ec9558299a4eb21200e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix indents to 4 spaces 52/15952/2
Thanh Ha [Tue, 3 Mar 2015 01:21:57 +0000 (20:21 -0500)]
Fix indents to 4 spaces

While the Google Java Style guidelines recommends 2 spaces. Most
projects on ODL actually today follow the 4 space rule for indents. If
there is agreement I think we should make 4 spaces an exception for ODL
code style instead of following Google's guidelines here.

https://google-styleguide.googlecode.com/svn/trunk/javaguide.html#s4.2-block-indentation

Change-Id: I64a4492e2f72e885c1e7373850eda382f956844a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge "Bug 2761: Disables external snapshot repositories for feature-test"
Surekha Bejgam [Mon, 2 Mar 2015 17:40:08 +0000 (17:40 +0000)]
Merge "Bug 2761: Disables external snapshot repositories for feature-test"

9 years agoBug 2761: Disables external snapshot repositories for feature-test 73/15773/1
Tony Tkacik [Thu, 26 Feb 2015 12:22:59 +0000 (13:22 +0100)]
Bug 2761: Disables external snapshot repositories for feature-test

Pax URL and Karaf by default always search for new version of snapshots
in all snapshots repository, even if that snapshots does not belong to that
repository and maven is invoked even with -nsu (no snapshot update)
or offline mode.

This is also true for OpenDaylight snapshot artefacts - pax url tries
to resolve them from third-party repositories, even if they are not present
there - this increases time which takes for features to install.

For more complex projects this actually means several HTTP GETs for each
snapshot bundle referenced, even if the bundle is already present
in local maven repository.

In order to speed-up installation and remove unnecessary network traffic,
which fails for obvious reasons, external snapshot repositories are
removed.

BGPCEP feture test (all snapshots downloaded, running with mvn clean install -o)
takes 2:16 minutes with this patch. Originally it took 12 minutes and hundreds of
 HTTP GET calls to snapshot repositories were observed.

Change-Id: I939cbfcab86eddc1ba7663e78c37bb57f2d8f0f5
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoIgnore Eclipse warning on enforcer plugin 90/15490/1
Lorand Jakab [Thu, 19 Feb 2015 10:14:54 +0000 (12:14 +0200)]
Ignore Eclipse warning on enforcer plugin

Eclipse shows the following warning 'maven-enforcer-plugin (goal
"enforce") is ignored by m2e' for all POM files.  This commit silences
that warning, since there's not much we can do about it (building in the
command line, or, at the latests, Jenkins will run the enforcer plugin).

Change-Id: Ifc9e1617fa9934f95216126b00fafd6cab5909c2
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Completely remove references to xtend"
Vaishali Mithbaokar [Sat, 14 Feb 2015 18:13:14 +0000 (18:13 +0000)]
Merge "Completely remove references to xtend"

9 years agoMerge "BUG-2680: downgrade to netty 4.0.24"
Vaishali Mithbaokar [Sat, 14 Feb 2015 18:02:37 +0000 (18:02 +0000)]
Merge "BUG-2680: downgrade to netty 4.0.24"

9 years agoBUG-2680: downgrade to netty 4.0.24 22/15322/1
Robert Varga [Sat, 14 Feb 2015 11:22:46 +0000 (12:22 +0100)]
BUG-2680: downgrade to netty 4.0.24

Netty 4.0.25 has introduced an OSGi regression, as reported in
https://github.com/netty/netty/issues/3302. Go back one version, waiting
for 4.0.26.

Change-Id: I1ab04e6b5b46d82f68b08ceac327a85d0dbe6b3b
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoCompletely remove references to xtend 13/15313/2
Robert Varga [Sat, 14 Feb 2015 08:17:47 +0000 (09:17 +0100)]
Completely remove references to xtend

The problem we have had before was that the dependencyManagement
declaration overrode the normal version when importing dependencies,
throwing feature tests off.

Change-Id: Ic7520ffafbcf8f9582dc3508a467bd4b97dfd0a7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdded the xtend version declaration and set 2.7.3. 09/15309/1
Hideyuki Tai [Sat, 14 Feb 2015 01:42:12 +0000 (20:42 -0500)]
Added the xtend version declaration and set 2.7.3.

Because yangtools project uses the version 2.7.3 and other project does
not use xtend at all, this patch set 2.7.3.

Change-Id: Ied6cbbd49fc8e8db156af1f11958a5731a074ea7
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoMerge "Use scope=provided for OSGi bundles"
Surekha Bejgam [Sat, 14 Feb 2015 00:14:49 +0000 (00:14 +0000)]
Merge "Use scope=provided for OSGi bundles"

9 years agoMerge "Unify maven jar plugin versions"
Surekha Bejgam [Sat, 14 Feb 2015 00:14:22 +0000 (00:14 +0000)]
Merge "Unify maven jar plugin versions"

9 years agoMerge "Add dependency plugin version declaration"
Surekha Bejgam [Sat, 14 Feb 2015 00:13:55 +0000 (00:13 +0000)]
Merge "Add dependency plugin version declaration"

9 years agoMerge "Unify compiler version"
Surekha Bejgam [Sat, 14 Feb 2015 00:13:18 +0000 (00:13 +0000)]
Merge "Unify compiler version"

9 years agoMerge "Unify maven release plugin version"
Surekha Bejgam [Sat, 14 Feb 2015 00:05:35 +0000 (00:05 +0000)]
Merge "Unify maven release plugin version"

9 years agoMerge "Remove xtend version declaration"
Surekha Bejgam [Sat, 14 Feb 2015 00:03:49 +0000 (00:03 +0000)]
Merge "Remove xtend version declaration"

9 years agoMerge "Use Maven Enforcer plugin to require Maven version"
Surekha Bejgam [Sat, 14 Feb 2015 00:02:30 +0000 (00:02 +0000)]
Merge "Use Maven Enforcer plugin to require Maven version"

9 years agoMerge "BUG-2680: bump netty to 4.0.25"
Surekha Bejgam [Sat, 14 Feb 2015 00:01:42 +0000 (00:01 +0000)]
Merge "BUG-2680: bump netty to 4.0.25"

9 years agoMerge "BUG-1173: bump guava version to 18.0"
Surekha Bejgam [Fri, 13 Feb 2015 23:59:32 +0000 (23:59 +0000)]
Merge "BUG-1173: bump guava version to 18.0"

9 years agoRemove xtend version declaration 03/15303/1
Robert Varga [Fri, 13 Feb 2015 22:45:42 +0000 (23:45 +0100)]
Remove xtend version declaration

This version is no longer used, as yangtools uses a different version
and other projects do not use xtend at all.

Change-Id: I7563de41a4b69b1f7c55db3f75d1119afc060d7b
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUnify maven release plugin version 99/15299/1
Robert Varga [Fri, 13 Feb 2015 22:36:02 +0000 (23:36 +0100)]
Unify maven release plugin version

Instead of defining two properties with differing versions, keep the
version in one and reference it in the other.

Change-Id: I58d229be6b0e18f176e23c9008d57da42fe0f5c7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUnify compiler version 98/15298/1
Robert Varga [Fri, 13 Feb 2015 22:34:27 +0000 (23:34 +0100)]
Unify compiler version

We have had two defines for this particular plugin. Unify them.

Change-Id: I1ecf26e19d8cdc8e82015782898960fe44842694
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd dependency plugin version declaration 97/15297/1
Robert Varga [Fri, 13 Feb 2015 22:33:11 +0000 (23:33 +0100)]
Add dependency plugin version declaration

Some downstream projects already define this. Provide a common
definition.

Change-Id: I75d2c43caf6bdb6a4f079081a3cfe946ed9cc008
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUnify maven jar plugin versions 94/15294/1
Robert Varga [Fri, 13 Feb 2015 22:22:16 +0000 (23:22 +0100)]
Unify maven jar plugin versions

Make sure we use precisely one version.

Change-Id: I8ee6130d4f028bfe65a49c0f010a3bda2d02fb6e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUse scope=provided for OSGi bundles 93/15293/1
Robert Varga [Fri, 13 Feb 2015 22:20:03 +0000 (23:20 +0100)]
Use scope=provided for OSGi bundles

OSGi run-time services are always expected to be provided by the
container. Mark them as such by default.

Change-Id: I0b2b9e251760c81519b8780f55565e39f57c3423
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Add pluginRepositories section to help resolving Maven plugins"
Vaishali Mithbaokar [Tue, 10 Feb 2015 21:42:47 +0000 (21:42 +0000)]
Merge "Add pluginRepositories section to help resolving Maven plugins"

9 years agoMerge "Added .project and .classpath in .gitignore. These are configuration files...
Vaishali Mithbaokar [Mon, 9 Feb 2015 21:19:10 +0000 (21:19 +0000)]
Merge "Added .project and .classpath in .gitignore. These are configuration files from eclipse and change from system to system."

9 years agoUse Maven Enforcer plugin to require Maven version 38/14238/3
Thanh Ha [Mon, 19 Jan 2015 04:14:52 +0000 (23:14 -0500)]
Use Maven Enforcer plugin to require Maven version

Using the <prerequisites> configuration in pom files is deprecated and
it is recommended to use the maven-enforcer-plugin to enforce these
rules instead.

See:
http://jira.codehaus.org/browse/MNG-5297
http://jira.codehaus.org/browse/MNG-4840

Change-Id: I7b17bd37223a3f92a69b5a02eaa5701e8434b2b1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd pluginRepositories section to help resolving Maven plugins 35/15035/1
Thanh Ha [Sun, 8 Feb 2015 06:48:40 +0000 (01:48 -0500)]
Add pluginRepositories section to help resolving Maven plugins

<pluginRepositories> are used to determine where to download plugins
used by Maven in order to build. While <repositories> is used to
download artifacts depended by a project during a build. We need both
defined in order to successfully download all artifacts using the
OpenDaylight mirror and not relying on Maven Central directly.

- Add pluginRepositories section to help resolve Maven plugins
- Change tab setting to 2 for xml
- Update Copyright year

Change-Id: I5ad09d6337d4f27768cd9f4af185018e0f91f7b8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge "Set root pom.xml <name> for Sonar"
Vaishali Mithbaokar [Sat, 7 Feb 2015 19:32:00 +0000 (19:32 +0000)]
Merge "Set root pom.xml <name> for Sonar"

9 years agoMerge "Add maven install and deploy plugin versions."
Surekha Bejgam [Thu, 5 Feb 2015 23:55:02 +0000 (23:55 +0000)]
Merge "Add maven install and deploy plugin versions."

9 years agoBUG-2680: bump netty to 4.0.25 09/14909/1
Robert Varga [Thu, 5 Feb 2015 10:49:56 +0000 (11:49 +0100)]
BUG-2680: bump netty to 4.0.25

Simple version bump.

Change-Id: I6b5c048baa48b206860c718dab61e9525558a51a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd maven install and deploy plugin versions. 57/14857/1
Nathan Harmon [Wed, 4 Feb 2015 21:15:40 +0000 (13:15 -0800)]
Add maven install and deploy plugin versions.

Some artifacts may reference these plugins in order to skip the operations.

Change-Id: I5242dfc7c868f29ff2ca596bb105888436a7e47d
Signed-off-by: Nathan Harmon <nathan.harmon@hp.com>
9 years agoBUG-1173: bump guava version to 18.0 32/14832/1
Robert Varga [Wed, 4 Feb 2015 15:37:21 +0000 (16:37 +0100)]
BUG-1173: bump guava version to 18.0

This is a follow-up patch once all the downstreams have removed their
overrides. Bumps guava from 14.0.1 to 18.0.

Change-Id: I4d699aad49e57e942425388a93a210242ffd7f3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBump pax-exam to 4.4.0 37/14437/1
Robert Varga [Fri, 23 Jan 2015 12:42:50 +0000 (13:42 +0100)]
Bump pax-exam to 4.4.0

Switch to latest release train of pax-exam.

Change-Id: Icf89b502d06faa3f25c998708f42dfb8ff813d40
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoHarmonize pax-exam versions 36/14436/1
Robert Varga [Fri, 23 Jan 2015 12:42:08 +0000 (13:42 +0100)]
Harmonize pax-exam versions

Upgrades the global definition to 3.5.0 and removes the override which
was being applied.

Change-Id: I612df24167d058b1aa326f09f094391443ba8dfd
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdded .project and .classpath in .gitignore. These are configuration 88/14288/1
Charalampos Kaidos [Tue, 20 Jan 2015 14:37:07 +0000 (16:37 +0200)]
Added .project and .classpath in .gitignore. These are configuration
files from eclipse and change from system to system.

Change-Id: Ie5f0a5628255e5a1e260bd27e84ccb15191f20a6
Signed-off-by: Charalampos Kaidos <ckaidos@intracom-telecom.com>
9 years agoSet root pom.xml <name> for Sonar 53/14053/2
Thanh Ha [Fri, 9 Jan 2015 21:02:50 +0000 (16:02 -0500)]
Set root pom.xml <name> for Sonar

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: Iab4e4dcec94399553b31822d96b88c031ee4958b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoBUG-2159: bump karaf version used in tests 61/14161/1
Robert Varga [Thu, 15 Jan 2015 02:09:26 +0000 (03:09 +0100)]
BUG-2159: bump karaf version used in tests

This is a partial re-application of
Icf65d10734c760bf8ef7f3048e3dadf7c801cd5e and mirrors the change already
made to yangtools (I67d7cd3fb3f7e243fab3cf7f8c36ff0ec3d91040).

We bump the version of karaf used during testing only (not the plugin),
so feature tests are able to succeed with Java 8. This patch is needed
to enable safe migration of downstream projects from yangtools-hosted
feature builder to the one provided in odlparent.

Change-Id: I4c648336a868a722905e82e79d832f541f43b6c2
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRevert "BUG-2261: bump karaf to 3.0.2" 23/14123/2
Robert Varga [Tue, 13 Jan 2015 14:58:54 +0000 (14:58 +0000)]
Revert "BUG-2261: bump karaf to 3.0.2"

This reverts commit 21d17e3e235979642ee73b8d410961362afc4705.

It turns out Karaf has upgraded schema incompatibly, so we need to schedule and closely execute the upgrade.

Change-Id: Ic7504ef00ca6c854aef8034e4bfa1abbcae7be0a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Change features-parent from using src/main/feature to src/main/features"
Surekha Bejgam [Mon, 12 Jan 2015 20:09:13 +0000 (20:09 +0000)]
Merge "Change features-parent from using src/main/feature to src/main/features"

9 years agoMerge "Add ODL Checkstyle"
Surekha Bejgam [Mon, 12 Jan 2015 20:06:22 +0000 (20:06 +0000)]
Merge "Add ODL Checkstyle"

9 years agoChange features-parent from using src/main/feature to src/main/features 95/14095/1
Ed Warnicke [Fri, 2 Jan 2015 19:54:02 +0000 (13:54 -0600)]
Change features-parent from using src/main/feature to src/main/features

Also add some lifecycle plugin stuff so Eclipse is happy :)

Change-Id: Ie5cc950e1a605890c5707506e92d0421be13c235
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdd ODL Checkstyle 55/13955/5
Thanh Ha [Wed, 7 Jan 2015 01:17:59 +0000 (20:17 -0500)]
Add ODL Checkstyle

Adds a checkstyle resource for ODL projects to use that allows them to
take advantage of ODL code style best practices in Java. Details on ODL
Code Style Guidelines can be found on the wiki at
https://wiki.opendaylight.org/view/ODL_Coding_Guidelines

This odl_checks.xml is based on the google checkstyle found at
https://google-styleguide.googlecode.com/svn-history/r130/trunk/javaguide.html

maven-checkstyle-plugin 2.13 does not yet support some of the Google Style
checks which ODL style is heavily based on. Until this is resolved we need
to comment out unsupported checkstyle sections.
https://jira.codehaus.org/browse/MCHECKSTYLE-261

Change-Id: I0097a8fb0ab894d0ee11375e4956f51c30229f24
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoBUG-2261: bump karaf to 3.0.2 61/13961/2
Robert Varga [Wed, 7 Jan 2015 13:12:31 +0000 (14:12 +0100)]
BUG-2261: bump karaf to 3.0.2

In order to support Java 8, we need to upgrade the Karaf version, which
fixes https://issues.apache.org/jira/browse/KARAF-2602.

Change-Id: Icf65d10734c760bf8ef7f3048e3dadf7c801cd5e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Added version for maven-deploy-plugin in pom.xml."
Vaishali Mithbaokar [Thu, 1 Jan 2015 06:07:22 +0000 (06:07 +0000)]
Merge "Added version for maven-deploy-plugin in pom.xml."

9 years agoMerge "Bug 1918: Set org.json.version to 20131018."
Vaishali Mithbaokar [Wed, 24 Dec 2014 00:57:39 +0000 (00:57 +0000)]
Merge "Bug 1918: Set org.json.version to 20131018."

9 years agoMerge "Fixed url elements in pom.xml."
Vaishali Mithbaokar [Wed, 24 Dec 2014 00:51:42 +0000 (00:51 +0000)]
Merge "Fixed url elements in pom.xml."

9 years agoRemoved <sonar.profile> odlparent/pom.xml. 11/13611/1
Hideyuki Tai [Sat, 13 Dec 2014 04:02:46 +0000 (23:02 -0500)]
Removed <sonar.profile> odlparent/pom.xml.

Daily builds on the master branch have been failing since it is setup
due to the misconfiguration on <sonar.profile> of odlparent/pom.xml.
https://jenkins.opendaylight.org/releng/view/odlparent/job/odlparent-daily-master/

Considering "Sonar way with Findbugs" profile and "Sonar way ODL"
profile, which is the default profile in sonar.opendaylight.org, are
the exactly same, <sonar.profile> is not needed to be set.
https://sonar.opendaylight.org/profiles/compare?id1=1&id2=4

Change-Id: Ida4ab5c7b97c2bab7c51e501241d23bc6ce9f5b8
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoAdded version for maven-deploy-plugin in pom.xml. 08/13608/1
Hideyuki Tai [Sat, 13 Dec 2014 02:04:22 +0000 (21:04 -0500)]
Added version for maven-deploy-plugin in pom.xml.

Change-Id: Id5fa84a4973049b182fb07f43f22c17f16b1bfa6
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoFixed url elements in pom.xml. 07/13607/1
Hideyuki Tai [Sat, 13 Dec 2014 01:34:11 +0000 (20:34 -0500)]
Fixed url elements in pom.xml.

Change-Id: I83c481f65e04d97a3997c9faa0ee37ec10383d08
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoMerge "Introduce features-parent"
Vaishali Mithbaokar [Mon, 8 Dec 2014 19:50:00 +0000 (19:50 +0000)]
Merge "Introduce features-parent"

9 years agoBug 1918: Set org.json.version to 20131018. 15/13415/1
Vratko Polak [Fri, 5 Dec 2014 13:01:34 +0000 (14:01 +0100)]
Bug 1918: Set org.json.version to 20131018.

Previously used value was 20080701,
but that somehow led to (one symptom of) Bug 1918.
20131018 version is more recent,
and already present in /system repository.
The correct fix would also make other projects
refer to version defined here, to avoid skew.

Change-Id: Id6989ba18890c7bc16c21ca9bc703d848958f40d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
9 years agoMerge "Fix feature-test failing with surefire 2.18"
Vaishali Mithbaokar [Thu, 4 Dec 2014 17:54:28 +0000 (17:54 +0000)]
Merge "Fix feature-test failing with surefire 2.18"

9 years agoFix feature-test failing with surefire 2.18 66/13366/1
Robert Varga [Thu, 4 Dec 2014 12:16:23 +0000 (13:16 +0100)]
Fix feature-test failing with surefire 2.18

feature-test fails maven-surefire-plugin 2.18 (but works with 2.17) due
to it assumming the constructor is called only once and modifying global
state. That global state is guarded from multiple modifications with an
Error. Move the offending initialization into static initializer, thus
ensuring we invoke the function only once.

Change-Id: I0f546e3c01a48daaa84dde905383463e248f24ed
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoIntroduce features-parent 55/11955/8
Robert Varga [Tue, 14 Oct 2014 14:14:54 +0000 (16:14 +0200)]
Introduce features-parent

This is a migrated utility parent for features artifact. Downstream
projects should refer to this artifact as their parent, fill in the few
gaps and should be locked'n'ready for generating their feature and run
the test.

Change-Id: I44b892b18a73ce5c2fe8cf2462d70b19840ce6a2
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove duplicate declaration of maven-bundle-plugin. 60/13360/1
Shigeru Yasuda [Thu, 4 Dec 2014 06:40:33 +0000 (15:40 +0900)]
Remove duplicate declaration of maven-bundle-plugin.

Plugin declaration in pluginManagement must be unique.

Change-Id: Icbc78cf99ff6fa545974562ef334166c2770cf68
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Fix missing <nexusproxy> variable in root pom.xml"
Surekha Bejgam [Wed, 3 Dec 2014 22:16:23 +0000 (22:16 +0000)]
Merge "Fix missing <nexusproxy> variable in root pom.xml"

9 years agoMerge "Fixed maven-paxexam-plugin version."
Surekha Bejgam [Wed, 3 Dec 2014 21:20:04 +0000 (21:20 +0000)]
Merge "Fixed maven-paxexam-plugin version."

9 years agoFixed maven-paxexam-plugin version. 46/13346/1
Tony Tkacik [Wed, 3 Dec 2014 17:22:23 +0000 (18:22 +0100)]
Fixed maven-paxexam-plugin version.

Latest version of maven-paxexam-plugin is 1.2.4 and not 3.0.0,
this incorrect declaration broke build in controller project.

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Change-Id: Id430fab8dde594e418cbebe496edd1f15f4258dc

9 years agoRevert xtend version bump 39/13339/1
Robert Varga [Wed, 3 Dec 2014 10:40:52 +0000 (11:40 +0100)]
Revert xtend version bump

This reverts the version bump of xtend-maven-plugin and adds the
appropriate explanation.

Change-Id: I6cb2e1088cf8a1e688fca1c58fd9eab9e98ffeb7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix missing <nexusproxy> variable in root pom.xml 34/13334/3
Thanh Ha [Wed, 3 Dec 2014 04:58:48 +0000 (23:58 -0500)]
Fix missing <nexusproxy> variable in root pom.xml

Change-Id: I1f421096b7fe0ea93518d92b6b4b4c0f9832bbf6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoUpdate Maven plugin versions 61/13161/3
Thanh Ha [Thu, 27 Nov 2014 03:42:28 +0000 (22:42 -0500)]
Update Maven plugin versions

Change-Id: I4945bce8e27baa920d9eea189a3af04b8a067df0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge changes I85ada413,Idd2417d0,I45a88760,I4cef2990,Iae30f52a
Surekha Bejgam [Wed, 3 Dec 2014 03:37:32 +0000 (03:37 +0000)]
Merge changes I85ada413,Idd2417d0,I45a88760,I4cef2990,Iae30f52a

* changes:
  Add depends-maven-plugin declaration
  Add default Sonar configuration
  Add maven-resources-plugin declaration
  Add maven shade plugin declaration
  Add pluginManagement section for declared plugin versions

9 years agoMerge changes I7e6275ea,Ia4ee994b
Surekha Bejgam [Wed, 3 Dec 2014 03:36:43 +0000 (03:36 +0000)]
Merge changes I7e6275ea,Ia4ee994b

* changes:
  Introduce features-test
  Introduce bundle-parent

9 years agoIntroduce features-test 45/12045/3
Robert Varga [Fri, 17 Oct 2014 10:06:53 +0000 (12:06 +0200)]
Introduce features-test

This patch introduces the features-test from yangtools. It validates
that a project's feature is self-contained.

Change-Id: I7e6275ea465b79b2dc3cee5b105d8ca36c728cbc
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd depends-maven-plugin declaration 96/13196/2
Robert Varga [Fri, 28 Nov 2014 12:25:25 +0000 (13:25 +0100)]
Add depends-maven-plugin declaration

Adds the plugin, along with default configuration to generate a depends
file.

Change-Id: I85ada413d49f5e742c66fb72e50954b5a5666f03
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd default Sonar configuration 95/13195/2
Robert Varga [Fri, 28 Nov 2014 12:25:43 +0000 (13:25 +0100)]
Add default Sonar configuration

Change-Id: Idd2417d0c5cbe1fcc4c25429ffa154fdafb5bf0c
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd maven-resources-plugin declaration 94/13194/2
Robert Varga [Fri, 28 Nov 2014 12:30:27 +0000 (13:30 +0100)]
Add maven-resources-plugin declaration

Change-Id: I45a88760259ef0db8bc57561f7f50e044bda7ea7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd maven shade plugin declaration 93/13193/2
Robert Varga [Fri, 28 Nov 2014 12:27:22 +0000 (13:27 +0100)]
Add maven shade plugin declaration

Change-Id: I4cef2990299910dd27b57f578c7148823af27671
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd pluginManagement section for declared plugin versions 49/13149/4
Robert Varga [Wed, 26 Nov 2014 17:34:38 +0000 (18:34 +0100)]
Add pluginManagement section for declared plugin versions

Aside the version declarations, this adds pluginManagement, so we get
warnings when versions get overridden. It also allows downstream users
not to hunt for the proper property name.

This should solve the problem of having duplicate property names, which
we are already getting.

Also flags FIXMEs for convergence of the versions which are clashing.
Hopefully these will be taken care of as the warnings are emitted, as
now users do not have to specify versions at all.

Change-Id: Iae30f52a39e356c1f45b0a189ac75a82e0677695
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoIntroduce bundle-parent 44/12044/3
Robert Varga [Fri, 17 Oct 2014 10:31:10 +0000 (12:31 +0200)]
Introduce bundle-parent

This introduces a parent for bundle artifacts. It just makes sure
maven-bundle plugin is executed with a default configuration. It can be
reused by any artifact without having to declare the plugin in its build
section.

Change-Id: Ia4ee994bfdc030a9e8b5d9e86734d26730ab62a8
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd a template settings.xml file 50/12950/1
Robert Varga [Wed, 19 Nov 2014 09:54:07 +0000 (10:54 +0100)]
Add a template settings.xml file

This file is needed to teach maven about OpenDaylight repositories
globally. When copied to ~/.m2/settings.xml, individual pom.xmls do not
need to carry repository definitions.

Change-Id: I12c5f812ff846abfd06fe5b679c183122c821b4e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoIntroduce top-level aggregator 54/11954/1
Robert Varga [Tue, 14 Oct 2014 14:10:33 +0000 (16:10 +0200)]
Introduce top-level aggregator

This patch introduces a top-level aggregator and moves odlparent itself
to a descendant, thus allowing us to add more infrastructure components.

Change-Id: I195ec5216557d6ada2658c94616257f5ec4dc3be
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "BUG-2159: bump jacoco version"
Surekha Bejgam [Mon, 13 Oct 2014 16:43:44 +0000 (16:43 +0000)]
Merge "BUG-2159: bump jacoco version"

9 years agoMerge "BUG-1386: Bump javassist to 3.18.2"
Surekha Bejgam [Mon, 13 Oct 2014 16:43:06 +0000 (16:43 +0000)]
Merge "BUG-1386: Bump javassist to 3.18.2"

9 years agoBUG-1956: bump TrieMap library 25/11325/2
Robert Varga [Thu, 18 Sep 2014 14:38:50 +0000 (16:38 +0200)]
BUG-1956: bump TrieMap library

This is a follow-up patch to preserve consistency.

Change-Id: I06a583d10af5dc3a96a42dda3b4835b6d29bdf4f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-2159: bump jacoco version 16/11816/1
Robert Varga [Wed, 8 Oct 2014 16:04:12 +0000 (18:04 +0200)]
BUG-2159: bump jacoco version

0.6.2 does not work with Java 8, as it mucks around in its internals.
Version 0.7.2 seems to work okay.

Change-Id: I0b2d2c4a5e58d6574f87ff755bd9319bb6515422
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-1386: Bump javassist to 3.18.2 46/10846/3
Robert Varga [Fri, 5 Sep 2014 11:24:25 +0000 (13:24 +0200)]
BUG-1386: Bump javassist to 3.18.2

Change-Id: I07fc2f1260fca8b2d94c2b23e32a9fb963456973
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Adding version/dependency info for JSONAssert"
Surekha Bejgam [Fri, 3 Oct 2014 19:59:10 +0000 (19:59 +0000)]
Merge "Adding version/dependency info for JSONAssert"

9 years agobumped the version for lithium 19/11719/1
Surekha Bejgam [Thu, 2 Oct 2014 23:42:27 +0000 (16:42 -0700)]
bumped the version for lithium
Change-Id: Ifd5dcec91669c89007bdcf3df706d1ec4f6cd2a5
Signed-off-by: Surekha Bejgam <sbejgam@cisco.com>
9 years agoAdding version/dependency info for JSONAssert 99/10799/1
Colin Dixon [Thu, 4 Sep 2014 18:17:46 +0000 (13:17 -0500)]
Adding version/dependency info for JSONAssert

This adds version information for using the JSONassert library which can be
found here: https://github.com/skyscreamer/JSONassert/

The library uses the Apache License Version 2.0 as found here:
https://github.com/skyscreamer/JSONassert/blob/master/LICENSE.txt

Change-Id: I0bc2afc5e3b1718a0f202a1c516786902fd4d372
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Use variable to reference nexus proxy"
Surekha Bejgam [Thu, 4 Sep 2014 16:38:35 +0000 (16:38 +0000)]
Merge "Use variable to reference nexus proxy"

9 years agoMerge "BUG-1675: bump netty version to 4.0.23"
Surekha Bejgam [Wed, 3 Sep 2014 23:36:30 +0000 (23:36 +0000)]
Merge "BUG-1675: bump netty version to 4.0.23"

9 years agoBUG-1675: bump netty version to 4.0.23 79/10679/1
Robert Varga [Wed, 3 Sep 2014 09:44:47 +0000 (11:44 +0200)]
BUG-1675: bump netty version to 4.0.23

Speed and correctness fixes have gone into the releases which we should
include in Helium.

Change-Id: Ie106b6b7bb523cdcf142f9c11341f0ff568c691f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUse variable to reference nexus proxy 21/10321/1
Devin Avery [Tue, 26 Aug 2014 16:34:51 +0000 (12:34 -0400)]
Use variable to reference nexus proxy

*Edited hardcoded URLs to use nexusproxy variable

Change-Id: Iaf64b855759f893fc3935b462d3aa0f77dcbbafd
Signed-off-by: Devin Avery <devin.avery@brocade.com>
9 years agoPatch upgrade for Apache Tomcat from 7.0.32 to 7.0.53 to take care of ODL Karaf North... 10/10110/3
Madhu Venugopal [Thu, 21 Aug 2014 08:38:19 +0000 (01:38 -0700)]
Patch upgrade for Apache Tomcat from 7.0.32 to 7.0.53 to take care of ODL Karaf Northbound issues.

7.0.32 had no support for Cors and hence we added a hack in the past to pull the CorsFilter from Apache Tomcat
project and placed it as a third-party bundle in the controller project.

But the Cors support was added to Tomcat patch version 7.0.42 and hence it is time to upgrade it to the proper
and remove the hack that we added earlier.

Also, the hacked bundle is not loaded in a karaf container (never attaches itself with the Fragment Host).
Debugged the heck of that, but dont know why the hacked bundle wouldnt register.
But since upgrading is cleaner anyways, we are taking that approach.

Tested the Northbound APIs and it is all working fine.

Change-Id: I37bf577320c5257b72e9fbe85313817230507a0c
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMake sure we mention surefire plugin 68/10068/1
Robert Varga [Tue, 19 Aug 2014 16:17:37 +0000 (18:17 +0200)]
Make sure we mention surefire plugin

This forces the use of 2.16 (or whatever) version of surefire plugin by
default by downstream projects, so that they do not have to repeat it.

Change-Id: I4bbbac15732b6627049c0049e7c488fee87234dc
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Declare jacoco mavne plugin"
Surekha Bejgam [Sun, 10 Aug 2014 01:25:14 +0000 (01:25 +0000)]
Merge "Declare jacoco mavne plugin"

9 years agoAdding a version for jaxrs-api in org.jboss.resteasy 27/9827/1
Colin Dixon [Fri, 8 Aug 2014 20:07:44 +0000 (15:07 -0500)]
Adding a version for jaxrs-api in org.jboss.resteasy

Change-Id: Id265bb89e07518296df31d84d00b62448c9722f0
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoDeclare jacoco mavne plugin 34/9734/2
Robert Varga [Wed, 6 Aug 2014 07:16:53 +0000 (09:16 +0200)]
Declare jacoco mavne plugin

This adds jacoco into dependencyManagement section, so projects pick the
global version as default and do not have to rely on the property.

Change-Id: Iaf2fb36d4aeb60725e20b91b1890c079ae12e86e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Add explicit org.hamcrest dependency"
Surekha Bejgam [Mon, 4 Aug 2014 19:07:49 +0000 (19:07 +0000)]
Merge "Add explicit org.hamcrest dependency"

9 years agoMerge "Add gitignore"
Surekha Bejgam [Mon, 4 Aug 2014 19:03:27 +0000 (19:03 +0000)]
Merge "Add gitignore"

9 years agoMerge "Add support for gitreview"
Surekha Bejgam [Mon, 4 Aug 2014 17:01:31 +0000 (17:01 +0000)]
Merge "Add support for gitreview"

9 years agoAdd explicit org.hamcrest dependency 25/9625/1
Robert Varga [Sun, 3 Aug 2014 12:26:45 +0000 (14:26 +0200)]
Add explicit org.hamcrest dependency

org.mockito is pulling in hamcrest-core 1.1 while junit requires 1.3.
This results in failures when the two meet, for example in yangtools.

Change-Id: I4040d712f939aad698a45fca45c727918524578f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoCleanup of parent pom 72/8372/2
Giovanni Meo [Thu, 26 Jun 2014 14:19:33 +0000 (16:19 +0200)]
Cleanup of parent pom

- Cleanup of many duplicate version
- use sort-pom to tidyfy the file and then avoid duplicates in an easier way

Change-Id: I941da53bf61c48d52a3669cc078d5d5c86e98d35
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
9 years agoBUG-1275: add TXW2 to dependency management 19/9119/1
Robert Varga [Thu, 17 Jul 2014 14:53:25 +0000 (16:53 +0200)]
BUG-1275: add TXW2 to dependency management

This small package contains IndentingXMLStreamWriter, which is useful
for pretty-printing XMLs which are output via XMLStreamWriter.

Companion change, Ic83e55eb6d0eeea599e909cc0dae3b145ef9cc9f, introduces
the wrapped user. The dependency may be removed at a later point if
someone creates an ODL class with equivalent functionality.

Change-Id: I834a73f6466c2829194184ee0a30bac6d093665d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd gitignore 17/9017/1
Dave Tucker [Tue, 15 Jul 2014 11:55:48 +0000 (12:55 +0100)]
Add gitignore

- Add ignores for common filetypes
- OSX, Linux
- Maven and Java
- Eclipse and IntelliJ

Change-Id: Ib967d577cb636532b783dfda1e12780f99b083de
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
9 years agoAdd support for gitreview 87/8987/1
Dave Tucker [Mon, 14 Jul 2014 13:02:34 +0000 (14:02 +0100)]
Add support for gitreview

Change-Id: I9357406d09afbb45322c25a7fe62613a41638dbf
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>