Add REST services by default and don't take care about jar bootsrapper version

master
David BRASSELY 2013-12-13 14:36:28 +01:00
parent 3ea56d1146
commit 7fd210b0ec
3 changed files with 27 additions and 3 deletions

View File

@ -50,7 +50,6 @@
<goal>copy</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<artifactItems>
<artifactItem>
<groupId>net.open-esb</groupId>
@ -68,6 +67,24 @@
</configuration>
</execution>
<execution>
<id>${project.artifactId}-fetch-openesb-admin-rest</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>net.open-esb</groupId>
<artifactId>openesb-admin-rest</artifactId>
<overWrite>true</overWrite>
<outputDirectory>${stagingDir}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>${project.artifactId}-fetch-openesb-standalone-ext</id>
<phase>generate-resources</phase>
@ -212,7 +229,6 @@
<artifactId>openesb-standalone-bootstrap</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.open-esb</groupId>
<artifactId>openesb-standalone-framework</artifactId>
@ -247,6 +263,13 @@
<artifactId>javaee-api</artifactId>
<version>5.0.3</version>
</dependency>
<!-- REST API & Web Console -->
<dependency>
<groupId>net.open-esb</groupId>
<artifactId>openesb-admin-rest</artifactId>
<version>${openesb-admin.rest.version}</version>
</dependency>
</dependencies>
<properties>

View File

@ -51,7 +51,7 @@ if [ "x$JAVA" = "x" ]; then
fi
# Setup the classpath
runjar="$OPENESB_HOME/lib/openesb-standalone-bootstrap.jar"
runjar=`find $OPENESB_HOME -name "openesb-standalone-bootstrap*.jar"`
if [ ! -f "$runjar" ]; then
die "Missing required file: $runjar"
fi

View File

@ -24,6 +24,7 @@
<properties>
<openesb.version>2.4.0-SNAPSHOT</openesb.version>
<openesb-admin.rest.version>1.0.0-SNAPSHOT</openesb-admin.rest.version>
<atomikos.version>3.8.0</atomikos.version>
</properties>