Thanh Ha [Sun, 6 Sep 2015 13:07:33 +0000 (09:07 -0400)]
Remove <repositories> and <pluginRepositories> sections
In January 2015 we made the decision to remove <repositories> and
<pluginRepositories> sections from all ODL projects. This was to meet
the Maven Central requirements that these sections cannot be defined in
your local project poms if you wish to push your artifacts to Maven
Central. Instead we started recommending developers to define these
sections in their local settings.xml file.
https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html
Change-Id: I4bdf45ed3cbb5e297c8a7ce1165ea63bf917efbb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Vaishali Mithbaokar [Tue, 8 Sep 2015 01:52:06 +0000 (01:52 +0000)]
Merge "Add missing lifecycle mapping from dependency plugin"
Robert Varga [Sat, 5 Sep 2015 19:52:37 +0000 (21:52 +0200)]
Add missing lifecycle mapping from dependency plugin
Eclipse complains that the execution is not covered by lifecycle
mapping. Add an appropriate entry to have the plugin executed.
Change-Id: Ia0dd74a665689cd2cd3f06be56567e9dc4ec1332
Signed-off-by: Robert Varga <rovarga@cisco.com>
Stephen Kitt [Mon, 7 Sep 2015 15:45:06 +0000 (17:45 +0200)]
Remove a number of unnecessary variables
A few plugin variables aren't used elsewhere, and only appear once in
odlparent, so remove them (to avoid further uses in other projects).
Change-Id: I6adf0a94de51146432ae005111ac7590f36fef3b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Vaishali Mithbaokar [Sat, 5 Sep 2015 20:25:25 +0000 (20:25 +0000)]
Merge "Build Jacoco / Sonar reports for unit tests"
Vaishali Mithbaokar [Sat, 5 Sep 2015 20:24:39 +0000 (20:24 +0000)]
Merge "Bump jacoco-plugin version to 0.7.4"
Thanh Ha [Thu, 3 Sep 2015 15:51:15 +0000 (11:51 -0400)]
Add missing odl-license dependency
Change-Id: I6d93f3d94dbdfe28a09c153017b201dd5a2d3f78
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Mon, 31 Aug 2015 01:50:34 +0000 (21:50 -0400)]
Build Jacoco / Sonar reports for unit tests
Change-Id: Ie3f682bf39d2371b5369211d234f3b4e504ed3dd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Tue, 1 Sep 2015 20:04:26 +0000 (16:04 -0400)]
Bump jacoco-plugin version to 0.7.4
There is a regression in jacococ-plugin version 0.7.5 so we will not
attempt to use the latest.
http://jira.xwiki.org/browse/XCOMMONS-821
Change-Id: I3fad08e6d35dd8cb7bdaafad67168fc54e7f9e2f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Vaishali Mithbaokar [Fri, 28 Aug 2015 15:37:39 +0000 (15:37 +0000)]
Merge "Cleanup features-test"
Vaishali Mithbaokar [Fri, 28 Aug 2015 15:36:29 +0000 (15:36 +0000)]
Merge "Bump netty to 4.0.30"
Vaishali Mithbaokar [Fri, 28 Aug 2015 15:35:50 +0000 (15:35 +0000)]
Merge "Bug 2515 - Jersey to support JAX-RS 2.0"
Robert Varga [Thu, 27 Aug 2015 20:54:15 +0000 (22:54 +0200)]
Bump netty to 4.0.30
Latest upstream version, brings a couple of performance/correctness
fixes.
Change-Id: I7021e711220fc529d044483602c9bbacd6bbfb94
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Mon, 29 Jun 2015 13:15:01 +0000 (15:15 +0200)]
Cleanup features-test
Add @Override annotations, remove commented-out imports, hide fields and
use getters for access.
Change-Id: Ib218b19498864960dedb0710fd35009fd52a7661
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Mon, 29 Jun 2015 12:54:05 +0000 (14:54 +0200)]
Add lifecycle mapping for checkstyle
Checkstyle in eclipse can be safely ingored, as we have no way to push
warnings to the user.
Change-Id: Id76e6afeb2b7055f6cddea08982b2858f0587f2a
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Mon, 29 Jun 2015 12:51:53 +0000 (14:51 +0200)]
Remove duplicate groupId declaration
Silences an eclipse warning
Change-Id: I62125f5f38f6d034fddef5d630334a3dc821f5bb
Signed-off-by: Robert Varga <rovarga@cisco.com>
Thanh Ha [Tue, 25 Aug 2015 02:12:37 +0000 (22:12 -0400)]
Add maven-plugin-plugin to pluginDependencies
Change-Id: Ia09c11ce75ed25d782c311f6dc4360b2976b142b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Stephen Kitt [Mon, 24 Aug 2015 09:19:12 +0000 (11:19 +0200)]
Allow © symbol
Change-Id: I8f074a1c5d03a3cda575ef37df8d2b64f7ee8679
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Vaishali Mithbaokar [Sun, 23 Aug 2015 17:25:39 +0000 (17:25 +0000)]
Merge "Enforce license checker"
Stephen Kitt [Tue, 18 Aug 2015 11:56:59 +0000 (13:56 +0200)]
Remove duplicate declaration of dependency plugin
Use a variable for the version.
Change-Id: I9f6d536ba187316ee0b8977663c609e183192146
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Vaishali Mithbaokar [Fri, 14 Aug 2015 05:59:00 +0000 (05:59 +0000)]
Merge "Create odl-license bundle"
Thanh Ha [Thu, 13 Aug 2015 16:13:25 +0000 (12:13 -0400)]
Downgrade maven-plugin-plugin version to 3.3
Due to discussions on the integration mailing list using 3.4 seems to
break users who build with Maven 3.1.1. Downgrading to Maven 3.3 allows
us to continue to build with Maven 3.1.1 as well as build with JDK8.
Change-Id: I775f975ddfd86bc8aa604ab2c6a55a6f1b651fec
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Tue, 21 Jul 2015 00:40:43 +0000 (20:40 -0400)]
Create odl-license bundle
odl-license bundle is created to easy include LICENSE and related files
in packaged jars. Using odlparent we can automatically include LICENSE
files in all ODL artifacts automatically.
Change-Id: I70e7f394b8d06cc9700e9451aa581d4d752cb013
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Mon, 10 Aug 2015 04:30:56 +0000 (00:30 -0400)]
Enforce license checker
Change-Id: I2387e12722ebcc8fb636084c1d93ff675b06374d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Wed, 5 Aug 2015 20:59:48 +0000 (16:59 -0400)]
Improve LICENSE header rules
- Improve LICENSE.txt RegEx
- Move license checking into it's own separate execution
Change-Id: I80885d81d0419d2654ce5127c047b2f9ca36ca79
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Wed, 5 Aug 2015 21:23:18 +0000 (17:23 -0400)]
Add missing license headers
Change-Id: I7ba601979821bfd7cae71f1ffe153fe495dc2d2b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Wed, 5 Aug 2015 22:28:15 +0000 (18:28 -0400)]
Change ImportOrder to Eclipse style
Change-Id: I365c885fc1fb1e96e91bae0eb5ad9a5e27eb3097
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Vaclav Demcak [Thu, 16 Jul 2015 14:00:50 +0000 (16:00 +0200)]
Bug 2515 - Jersey to support JAX-RS 2.0
* add basic dependencies for glassfish jersey core
Fix jackson version from: https://git.opendaylight.org/gerrit/#/c/24502/
(ovsdb & sfc project dependencies)
Change-Id: I74fdcc5778a114a57be4f281b021b32687724c65
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Ed Warnicke [Wed, 5 Aug 2015 21:37:54 +0000 (21:37 +0000)]
Revert "Bug 2515 - Jersey to support JAX-RS 2.0"
This appears to be breaking multiple downstream projects (sfc, ovsdb, etc). Reverting till we can sort it out.
This reverts commit
c464b9a2a63c4ff41468b2e20ac48db806c918d6.
Change-Id: If60ba99a77c7d491d5a056e3e8b28002ff05f3ae
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Vaclav Demcak [Thu, 16 Jul 2015 14:00:50 +0000 (16:00 +0200)]
Bug 2515 - Jersey to support JAX-RS 2.0
* add basic dependencies for glassfish jersey core
Change-Id: Ie16698f1af24238295b613f64f7820919ccbe565
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
Vaishali Mithbaokar [Mon, 3 Aug 2015 18:03:39 +0000 (18:03 +0000)]
Merge "fix build failures due to maven-plugin-plugin in JDK8"
Vaishali Mithbaokar [Tue, 28 Jul 2015 05:12:53 +0000 (05:12 +0000)]
Merge "Add license and organization metadata to odlparent"
Stephen Kitt [Tue, 28 Jul 2015 00:16:12 +0000 (17:16 -0700)]
Update commons-fileupload to 1.3.1
CVE-2013-2186, CVE-2014-0050.
Change-Id: I4e21468110694a70874ba6355550af5042481fac
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Jon Rosenberger [Wed, 22 Jul 2015 19:09:03 +0000 (12:09 -0700)]
fix build failures due to maven-plugin-plugin in JDK8
Change-Id: Ic318a3cd40def8647f499e3c591ecb25b09cc43c
Signed-off-by: Jon Rosenberger <jon@ivydesign.com>
Thanh Ha [Wed, 22 Jul 2015 18:55:33 +0000 (14:55 -0400)]
Add license and organization metadata to odlparent
Change-Id: Iff648d2af4a10b68c3c1695dbf2a1d519b49a1e1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Mon, 20 Jul 2015 23:12:29 +0000 (19:12 -0400)]
Unlock missing Google style checks supported by checkstyle plugin 2.15
Change-Id: Ief8cd74f3d2bc5585cfe517b18e067cf96dfb3af
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Vaishali Mithbaokar [Mon, 13 Jul 2015 19:54:57 +0000 (19:54 +0000)]
Merge "Bug 3656: Fix to take into account the repos installed by karaf framework"
Shaleen Saxena [Wed, 8 Jul 2015 14:40:06 +0000 (07:40 -0700)]
BUG-3964 Enabled the generation of sources and javadocs artifacts for all projects. The relevant
plugins were already present in the <pluginManagement> section. These were added to the execution
list as well.
Tested this change by building the controller, openflowplugin and l2switch projects. The sources and
javadocs jar files were generated for the components.
Change-Id: I493c7479ecac189b4eec5e4190c707264219cf1b
Signed-off-by: Shaleen Saxena <ssaxena@brocade.com>
Robert Varga [Mon, 29 Jun 2015 11:44:37 +0000 (13:44 +0200)]
BUG-3761: handle repository declaration versions
Adds {{VERSION}} substitution to <repository/> declarations, so they can
be adjusted based on the dependency tree.
Change-Id: I45fe7d6471534be52b7db224737f063b337924b4
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Fri, 26 Jun 2015 17:15:57 +0000 (19:15 +0200)]
BUG-1289: bump slf4j to 1.7.7
While 1.7.12 is the latest release, karaf 3.0.3 is shipping 1.7.7, so
align the versions with that.
Change-Id: I377412fe94a978043901b97272e7a7ed67aad928
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit
871cf1b8d84dc0a54c32a30f572a1dffda02701d)
Robert Varga [Wed, 24 Jun 2015 19:48:39 +0000 (21:48 +0200)]
Handle wrap:mvn: URLs in features-parent
Couple of projects (AAA for example) use wrap:mvn: to wrap a non-osgi
jar into a bundle. For this usage we want to handle {{VERSION}}
replacement, too.
Change-Id: Ieff3ea862e5a95bf0ff416d3f03d46ff84b1914c
Signed-off-by: Robert Varga <rovarga@cisco.com>
Thanh Ha [Wed, 24 Jun 2015 14:32:52 +0000 (10:32 -0400)]
Use Beryllium version of parent pom
Change-Id: Idad02fba88919efdd313854f8ba694067e7190cd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Robert Varga [Tue, 23 Jun 2015 09:10:01 +0000 (09:10 +0000)]
BUG-3837: fix classifier incorrectly used as version
dependencies.txt includes an optional classifier before the version
field. This means if we pull in the same artifact with and without
classifier.
Change-Id: I3544bcc40aa0327ab7383266b2d8baf5d4f02af9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit
11b40b2ce899b78ef8d6ba2b66acae0f6a4b4d02)
Ed Warnicke [Wed, 17 Jun 2015 23:57:35 +0000 (17:57 -0600)]
Bug 3656: Fix to take into account the repos installed by karaf framework
Change-Id: I954d9ca3abb122c427b9800fd2407586dcf50b96
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Ed Warnicke [Mon, 15 Jun 2015 23:07:29 +0000 (17:07 -0600)]
Bug 3656: Introducing karaf-plugin
This plugin recursively walks down the features files and
installs all related artifacts.
Change-Id: Ie466f22a71945fa7fb19199820196551688d2d6d
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
(cherry picked from commit
6331216aa2e4c5c4935e26e22416d3eec2663f4a)
Thanh Ha [Tue, 2 Jun 2015 14:05:35 +0000 (10:05 -0400)]
Explicitly set default branch to master
This makes it easier to update this setting for future branching and
clear which branch a patch will be submitted to.
Change-Id: Iac586ef5e29d919baf025d9f136a93008964433a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Ed Warnicke [Mon, 1 Jun 2015 21:13:24 +0000 (14:13 -0700)]
Bug 3533: jetty.version to fix Cors issue
Change-Id: I07ba25e699e9b1c8c7346cbc1fd59679dd73613e
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Vaishali Mithbaokar [Mon, 27 Apr 2015 23:12:31 +0000 (23:12 +0000)]
Merge "Bump checkstyle version to 2.15"
Lorand Jakab [Tue, 21 Apr 2015 11:49:34 +0000 (14:49 +0300)]
Checkstyle: exclude autogenerated classes
Change-Id: I11d2bee75696923b23bc67d35b1b647a0cab4e90
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Thanh Ha [Mon, 20 Apr 2015 20:15:19 +0000 (16:15 -0400)]
Bump checkstyle version to 2.15
This version will allow us to re-enable the currently disabled Google
Style in odl_checkstyle.
Change-Id: Ide784f794b5137b37c7cd6e622398e66c21b1368
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Vaishali Mithbaokar [Thu, 16 Apr 2015 19:42:23 +0000 (12:42 -0700)]
Version bump for master after stable/lithium
Change-Id: I8874e7a7cf8408e5c99da44683db95cdbd5e4ed4
Signed-off-by: Vaishali Mithbaokar <vmithbao@cisco.com>
Tony Tkacik [Thu, 16 Apr 2015 09:09:42 +0000 (11:09 +0200)]
Bug 2907: Removed open-coded features.xml parsing
SingleFeatureTest used open-coded feature parsing
which did not accounted for multiple versions of
features.
Replaced open-coded parsing with parser from Karaf
itself.
This fixes issue in SingleFeatureTest when
used with Karaf 3.0.3
Change-Id: Ia734ccfb44d27a2c9402baa25fcc4033f30a30ee
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Ed Warnicke [Mon, 16 Feb 2015 23:59:12 +0000 (16:59 -0700)]
Bug 2907 - upgrade to karaf 3.0.3
This is needed to support Java 8
Change-Id: I99efde964392995de35d084522cb01768939f65d
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Ryan Moats [Wed, 1 Apr 2015 16:12:36 +0000 (11:12 -0500)]
Bump eclipse.persistence.version to 2.5.2
version 2.5.0 has the following NPE bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=414577
bump version to avoid neutron northbound hitting this problem
Change-Id: Iea58a19496687a874b81b1c9f9f8f7da9228741f
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Vaishali Mithbaokar [Wed, 25 Mar 2015 15:45:45 +0000 (15:45 +0000)]
Merge "Update to latest checkstyle plugin"
Vaishali Mithbaokar [Wed, 25 Mar 2015 15:42:12 +0000 (15:42 +0000)]
Merge "Fix checkstyle warnings"
Vaishali Mithbaokar [Wed, 25 Mar 2015 15:39:34 +0000 (15:39 +0000)]
Merge "Bump Javassist version to 3.19.0-GA"
Robert Varga [Wed, 25 Mar 2015 11:50:00 +0000 (12:50 +0100)]
Fix checkstyle warnings
Reorder keywords to follow JLS.
Change-Id: I7172191d3352afbf2e963c53b30b20430061f742
Signed-off-by: Robert Varga <rovarga@cisco.com>
Vaishali Mithbaokar [Wed, 25 Mar 2015 06:32:21 +0000 (06:32 +0000)]
Merge "Bump Bouncy Castle version to 1.52."
Gary Wu [Tue, 24 Mar 2015 16:54:25 +0000 (09:54 -0700)]
Bump Javassist version to 3.19.0-GA
This version bump was requested by Robert Varga to
go with the version bump of Netty to 4.0.26.Final.
Change-Id: I3e026c968e63e9b5a8946863d7aafbfd7dbe34fa
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
Gary Wu [Tue, 24 Mar 2015 16:50:17 +0000 (09:50 -0700)]
Bump Netty version to 4.0.26.Final
Netty 4.0.26.Final is required by the USC project
to support TLS mutual authentication.
Change-Id: I83097a12f14e4feed7ce1655f2a8c04e8d065a2b
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
Gary Wu [Tue, 24 Mar 2015 16:45:41 +0000 (09:45 -0700)]
Bump Bouncy Castle version to 1.52.
Bouncy Castle 1.52 is required by the USC project
to support DTLS 1.2.
Change-Id: I24445abe2b3865eefd8ee5b6693899555276f633
Signed-off-by: Gary Wu <Gary.Wu1@huawei.com>
Thanh Ha [Fri, 13 Mar 2015 03:53:33 +0000 (23:53 -0400)]
Break circular dependency
odlparent depends on checkstyle depends on odlparent. We need to break
this circular dependency otherwise building odlparent won't be possible.
Change-Id: I4bda5cc21eed5696fd0253f2effe42afc78517fd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Ed Warnicke [Fri, 13 Mar 2015 17:37:59 +0000 (10:37 -0700)]
Add property skip.karaf.featureTest that can be used on the command line
mvn -Dskip.karaf.featureTest will cause SingleFeatureTests to not run.
Many thanks to Sam Hague for the idea :)
Change-Id: Id995d08ba762558a1349a9e3ff77fb703bc8552f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Vaishali Mithbaokar [Thu, 12 Mar 2015 05:46:17 +0000 (05:46 +0000)]
Merge "Enable checkstyle by default"
Vaishali Mithbaokar [Thu, 12 Mar 2015 05:46:08 +0000 (05:46 +0000)]
Merge "Validate license headers in code files"
Thanh Ha [Tue, 10 Mar 2015 21:58:42 +0000 (17:58 -0400)]
Update to latest checkstyle plugin
Change-Id: Id5e567a082322ecfd37867d902ec2f6b897e171c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
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>
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>
Robert Varga [Tue, 10 Mar 2015 11:33:26 +0000 (12:33 +0100)]
Activate javadoc/source generation for bundles
This adds javadoc/source plugin triggers to bundle-parent, making all
bundles automatically generate their javadocs/sources jars.
Change-Id: I1d44a5c130ec23ee5d06703c1a94aec4d30c824c
Signed-off-by: Robert Varga <rovarga@cisco.com>
Robert Varga [Tue, 10 Mar 2015 11:31:03 +0000 (12:31 +0100)]
Add common javadoc/source plugin configuration
We want to produce source/javadoc jars by default, so this adds the
appropriate configuration to the default configuration.
Change-Id: I954619d6168e0f0f05308b6ad35fcea4522cd092
Signed-off-by: Robert Varga <rovarga@cisco.com>
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>
Surekha Bejgam [Mon, 2 Mar 2015 17:40:08 +0000 (17:40 +0000)]
Merge "Bug 2761: Disables external snapshot repositories for feature-test"
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>
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>
Vaishali Mithbaokar [Sat, 14 Feb 2015 18:13:14 +0000 (18:13 +0000)]
Merge "Completely remove references to xtend"
Vaishali Mithbaokar [Sat, 14 Feb 2015 18:02:37 +0000 (18:02 +0000)]
Merge "BUG-2680: downgrade to netty 4.0.24"
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>
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>
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>
Surekha Bejgam [Sat, 14 Feb 2015 00:14:49 +0000 (00:14 +0000)]
Merge "Use scope=provided for OSGi bundles"
Surekha Bejgam [Sat, 14 Feb 2015 00:14:22 +0000 (00:14 +0000)]
Merge "Unify maven jar plugin versions"
Surekha Bejgam [Sat, 14 Feb 2015 00:13:55 +0000 (00:13 +0000)]
Merge "Add dependency plugin version declaration"
Surekha Bejgam [Sat, 14 Feb 2015 00:13:18 +0000 (00:13 +0000)]
Merge "Unify compiler version"
Surekha Bejgam [Sat, 14 Feb 2015 00:05:35 +0000 (00:05 +0000)]
Merge "Unify maven release plugin version"
Surekha Bejgam [Sat, 14 Feb 2015 00:03:49 +0000 (00:03 +0000)]
Merge "Remove xtend version declaration"
Surekha Bejgam [Sat, 14 Feb 2015 00:02:30 +0000 (00:02 +0000)]
Merge "Use Maven Enforcer plugin to require Maven version"
Surekha Bejgam [Sat, 14 Feb 2015 00:01:42 +0000 (00:01 +0000)]
Merge "BUG-2680: bump netty to 4.0.25"
Surekha Bejgam [Fri, 13 Feb 2015 23:59:32 +0000 (23:59 +0000)]
Merge "BUG-1173: bump guava version to 18.0"
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>
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>
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>
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>
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>
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>
Vaishali Mithbaokar [Tue, 10 Feb 2015 21:42:47 +0000 (21:42 +0000)]
Merge "Add pluginRepositories section to help resolving Maven plugins"
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."
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>
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>
Vaishali Mithbaokar [Sat, 7 Feb 2015 19:32:00 +0000 (19:32 +0000)]
Merge "Set root pom.xml <name> for Sonar"