Skip to content

Commit

Permalink
include the correct a4c branch as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ahgittin committed Dec 12, 2019
1 parent a64e733 commit 0995ab9
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "alien4cloud"]
path = alien4cloud
url = [email protected]:cloudsoft/alien4cloud.git
1 change: 1 addition & 0 deletions alien4cloud
Submodule alien4cloud added at e72175
4 changes: 2 additions & 2 deletions brooklyn-tosca-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
<artifactItem>
<groupId>alien4cloud</groupId>
<artifactId>alien4cloud-ui</artifactId>
<version>${alien.version}</version>
<version>${alien.base.version}</version>
<type>war</type>
<classifier>standalone</classifier>

<destFileName>alien4cloud-ui-${alien.version}.war</destFileName>
<destFileName>alien4cloud-ui-${alien.base.version}.war</destFileName>
<outputDirectory>${project.build.directory}/overlay/alien4cloud-standalone
</outputDirectory>
</artifactItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if [ ! -x "$JAVA" ] ; then
exit 1
fi

if [[ ! `ls alien4cloud-ui-${alien.version}.war 2> /dev/null` ]] ; then
if [[ ! `ls alien4cloud-standalone/alien4cloud-ui-${alien.version}.war 2> /dev/null` ]] ; then
if [[ ! `ls alien4cloud-ui-${alien.base.version}.war 2> /dev/null` ]] ; then
if [[ ! `ls alien4cloud-standalone/alien4cloud-ui-${alien.base.version}.war 2> /dev/null` ]] ; then
echo Command must be run from the directory where the WAR is installed or its parent.
exit 4
fi
Expand All @@ -23,5 +23,5 @@ fi

# java -jar target/dependency/jetty-runner.jar target/*.war
$JAVA ${JAVA_OPTS} \
-jar alien4cloud-ui-${alien.version}.war \
-jar alien4cloud-ui-${alien.base.version}.war \
"$@"
9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
<name>Brooklyn TOSCA parent project</name>

<modules>
<module>alien4cloud/alien4cloud-common</module>
<module>alien4cloud/alien4cloud-security</module>
<module>alien4cloud/alien4cloud-core</module>

<module>a4c-brooklyn-plugin</module>
<module>brooklyn-tosca-common</module>
<module>brooklyn-tosca-transformer</module>
Expand All @@ -27,7 +31,8 @@

<properties>
<java.version>1.8</java.version>
<alien.version>1.1.0-SM8.cloudsoft</alien.version>
<alien.base.version>1.1.0-SM8</alien.base.version>
<alien.custom.version>1.1.0-SM8.cloudsoft</alien.custom.version>
<spring.version>4.1.4.RELEASE</spring.version>
<mockito-core.version>2.7.12</mockito-core.version>
<brooklyn.version>1.0.0-SNAPSHOT</brooklyn.version> <!-- BROOKLYN_VERSION -->
Expand Down Expand Up @@ -119,7 +124,7 @@
<dependency>
<groupId>alien4cloud</groupId>
<artifactId>alien4cloud-core</artifactId>
<version>${alien.version}</version>
<version>${alien.custom.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 0995ab9

Please sign in to comment.