Updates to build in Bamboo and Jenkins:

- Don't use repositories in main pom
- Don't use dependencies in the deploy test
parent 3e743f95
......@@ -281,12 +281,7 @@
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.0.Final</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>4.8.2</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
......@@ -458,26 +453,4 @@
</profiles>
<!-- ============= -->
<!-- Repositories -->
<!-- ============= -->
<repositories>
<repository>
<url>http://repo1.maven.org/maven2/mysql/mysql-connector-java/</url>
<id>mysql-connector-java</id>
<layout>default</layout>
<name>Repository for library mysql connector java</name>
</repository>
<repository>
<id>java-twitter-repository</id>
<url>http://java-twitter.googlecode.com/svn/repository/</url>
<name>java-twitter maven repository</name>
</repository>
<repository>
<id>frascati-repo</id>
<url>https://frascati-repo.inria.fr/nexus/content/groups/public/</url>
<name>frascati repository</name>
</repository>
</repositories>
</project>
......@@ -4,20 +4,13 @@ import javax.swing.JFrame;
import javax.swing.JLabel;
import org.easysoa.helloworld.api.InterfaceHW;
import org.osoa.sca.annotations.EagerInit;
import org.osoa.sca.annotations.Init;
import org.osoa.sca.annotations.Reference;
import org.osoa.sca.annotations.Scope;
/**
* Implementation class of the component 'client'.
* (Other components can share this implementation class.)
*/
@Scope("COMPOSITE")
@EagerInit
public class Client implements java.lang.Runnable {
@Reference
private InterfaceHW reqClient;
/**
......@@ -27,8 +20,6 @@ public class Client implements java.lang.Runnable {
this.reqClient = reqClient;
}
@Override
@Init
public void run() {
System.out.println(reqClient.call() );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment