Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Joze RIHTARSIC's avatar
Joze RIHTARSIC authored
Upgrade spring.version from 5.0.2.RELEASE to 5.0.6.RELEASE
spring.security.version from 4.2.1.RELEASE to 4.2.6.RELEASE
bde23b63
History

Service Metadata Publishing

Continous Integration

[https://webgate.ec.europa.eu/CITnet/bamboo/browse/EDELIVERY-SMPDEV]

Building SMP

SMP requires Maven 3.0 and Java 1.7.

Integration tests included into build process require access to DB. By default it is a local instance of MySQL with preconfigured schema:
[https://ec.europa.eu/cefdigital/code/projects/EDELIVERY/repos/smp/browse/smp-server-library/database]

Any remote DB with preconfigured schema might be used as well. Sample build command:

mvn clean install \
-Djdbc.driver=oracle.jdbc.OracleDriver \
-Djdbc.url=jdbc:oracle:thin:<HOST_AND_PORT_AND_SERVICENAME> \
-Djdbc.user=<USERNAME> \
-Djdbc.password=<PASSWORD> \ 
-Dtarget-database=Oracle \ 
-Djdbc.read-connections.max=10

Source code history

This is a continuation of CIPA SMP Joinup repository, which was migrated here to GIT on 07.12.2016: [https://joinup.ec.europa.eu/svn/cipaedelivery/trunk]

To run with SoapUI code coverage (from Bamboo, etc)

Step 1:

mvn clean install -Prun-soapui -Pdeploy-war -Djdbc.driver=oracle.jdbc.OracleDriver -Djdbc.url=jdbc:oracle:thin:<HOST_AND_PORT_AND_SERVICENAME> -Djdbc.user= "-Djdbc.password=" -Dtarget-database=Oracle -DjacocoRemotePort=65000 -DjacocoRemoteAddress=localhost "-Durl=http://localhost:7001/smp" -DdeployWarFolder=/home/edelivery/oracle/middleware/domains/bdmsl/autodeploy/

Step 2:

mvn sonar:sonar