From 193bdd04b8554a013f8991c1a58b6bcd599aa909 Mon Sep 17 00:00:00 2001 From: Jesus Perez Date: Tue, 22 Apr 2014 16:26:40 +0200 Subject: [PATCH] add dependencies; refactor poms --- .travis.yml | 5 +- README.md | 7 +- client/pom.xml | 24 +------ core/pom.xml | 20 ------ model/pom.xml | 21 +----- pom.xml | 182 +++++++++++++++-------------------------------- rest-api/pom.xml | 39 +--------- 7 files changed, 68 insertions(+), 230 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae7738f1..b19b1b38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,11 @@ jdk: - openjdk6 before_install: - python travis.py --mirrors; + install: -- mvn install -DskipTests=true +- mvn install -DskipTests=true -B -V -q +test: +- mvn test -B -q env: global: - SONATYPE_USERNAME=deployment diff --git a/README.md b/README.md index 8b282650..ad0c34b1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -## Software Deployment and Configuration for Fiware +# FI-WARE SDC [![Build Status](https://travis-ci.org/telefonicaid/fiware-sdc.svg)](https://travis-ci.org/telefonicaid/fiware-sdc) [![Coverage Status](https://coveralls.io/repos/jesuspg/fiware-sdc/badge.png)](https://coveralls.io/r/jesuspg/fiware-sdc) + +## Software Deployment and Configuration -#### Builds: -develop: [![Build Status](https://travis-ci.org/telefonicaid/fiware-sdc.svg?branch=develop)](https://travis-ci.org/telefonicaid/fiware-sdc) -master: [![Build Status](https://travis-ci.org/telefonicaid/fiware-sdc.svg?branch=master)](https://travis-ci.org/telefonicaid/fiware-sdc) diff --git a/client/pom.xml b/client/pom.xml index ec215295..0f6b3408 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -47,36 +47,14 @@ junit junit - + org.mockito mockito-all test - - - - - - org.apache.maven.plugins - maven-site-plugin - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - - - - - - diff --git a/core/pom.xml b/core/pom.xml index f83eeb4c..b97ce777 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -290,25 +290,5 @@ - - - - - org.apache.maven.plugins - maven-site-plugin - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - - - - - diff --git a/model/pom.xml b/model/pom.xml index 8e1c8fea..f231fb03 100644 --- a/model/pom.xml +++ b/model/pom.xml @@ -85,6 +85,7 @@ json-lib 2.4 jdk15 + @@ -99,24 +100,6 @@ - - - - org.apache.maven.plugins - maven-site-plugin - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - - - - - + diff --git a/pom.xml b/pom.xml index cc584cbd..e71649bc 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,6 @@ git@github.com:telefonicaid http://ci-fiware-01.hi.inet http://130.206.80.169 - https://jirapdi.tid.es/browse ${nexusURI}/nexus/content/repositories ${ciURI}/jenkins ${repoName} @@ -41,10 +40,6 @@ repo-third-party-release repo-third-party-release ${nexusRepositories}/thirdparty - - nexus-site-repository - repo-site - ${ciURI} @@ -58,10 +53,6 @@ - 2.2 - 2.6 - 3.1 - false false @@ -83,20 +74,16 @@ 4.11 2.5.1 1.6 - 6 - /usr/share/tomcat${tomcat.version} 2.12.2 1.0-alpha21.1 1.2.5 + 2.6 0.6.3.201306030806 - + @@ -107,31 +94,6 @@ HEAD - - - Jesus Movilla - +1 - jmms392 - - soft. developer - - - - Sergio Arroyo - sergio.arroyo@tic.alten.es - +1 - sa245 - - soft. developer - - - - - - - Jira - ${issueURI}/CLAUDIA - @@ -175,12 +137,6 @@ commons-properties 1.1.1 - - org.mockito - mockito-all - 1.9.5 - test - @@ -189,34 +145,62 @@ ${project.artifactId} - - - - - - com.google.code.maven-license-plugin - maven-license-plugin - ${maven-license-plugin.version} - -
src/license/fiware/header.txt
- - src/main/**/*.java - src/test/**/*.java - -
- - - - check - - - -
- -
-
+ + + + com.google.code.maven-license-plugin + maven-license-plugin + ${maven-license-plugin.version} + +
src/license/fiware/header.txt
+ + src/main/**/*.java + src/test/**/*.java + +
+ + + + check + + + +
+ + + org.codehaus.mojo + cobertura-maven-plugin + ${cobertura-maven-plugin.version} + + xml + 256m + + true + + + org.openstack.docs.common.api.v1.* + + + **/*Test*.class + **/model/**.class + org/openstack/**/* + org/w3/**/* + + + + + + + org.eluder.coveralls + coveralls-maven-plugin + 2.2.0 + + udY6EhQuSfSatLQWMYC5kSYde7qWchS0z + UTF-8 + + @@ -255,54 +239,6 @@ - - org.codehaus.mojo - cobertura-maven-plugin - ${cobertura-maven-plugin.version} - - - false - - - - **/main/Bootstrap.class - - - - - - clean - pre-site - - clean - - - - instrument - site - - instrument - cobertura - check - - - - - - cobertura - net.sourceforge.cobertura - 2.0.3 - compile - - - com.sun - tools - - - - - -
@@ -419,12 +355,6 @@ false - - - ${repoSiteId} - ${repoSiteName} - ${repoSiteUrl}/fiware/${project.artifactId} - diff --git a/rest-api/pom.xml b/rest-api/pom.xml index c11a51d9..52492e2e 100644 --- a/rest-api/pom.xml +++ b/rest-api/pom.xml @@ -130,10 +130,6 @@ com.sun.jersey.contribs jersey-multipart - - com.sun.jersey - jersey-json - junit junit @@ -172,19 +168,7 @@ - - org.apache.maven.plugins - maven-site-plugin - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - - - + org.jvnet.jaxb2.maven2 @@ -203,26 +187,7 @@ ${basedir}/src/main/resources/keystone/ - +