Skip to content

Commit f218003

Browse files
committed
Merge branch 'maven-final' of git://github.com/ibuildthecloud/incubator-cloudstack
2 parents 8c3450b + ff7c964 commit f218003

17 files changed

Lines changed: 398 additions & 95 deletions

File tree

‎awsapi/pom.xml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@
9393
<build>
9494
<defaultGoal>install</defaultGoal>
9595
<sourceDirectory>src</sourceDirectory>
96+
<resources>
97+
<resource>
98+
<directory>src</directory>
99+
<excludes>
100+
<exclude>**/*.java</exclude>
101+
</excludes>
102+
</resource>
103+
</resources>
96104
<!--
97105
<testSourceDirectory>test</testSourceDirectory>
98106
<plugins>

‎client/WEB-INF/web.xml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
2121
version="2.5">
2222

23-
<resource-ref>
24-
<description> DB Connection Pooling</description>
25-
<res-ref-name> jdbc/VmopsDB</res-ref-name>
26-
<res-type> javax.sql.DataSource</res-type>
27-
<res-auth> Container</res-auth>
28-
</resource-ref>
2923

3024
<servlet>
3125
<servlet-name>cloudStartupServlet</servlet-name>

‎client/cloudstack-ui.launch‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
3+
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
4+
<stringAttribute key="M2_GOALS" value="jetty:run"/>
5+
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
6+
<booleanAttribute key="M2_OFFLINE" value="false"/>
7+
<stringAttribute key="M2_PROFILES" value=""/>
8+
<listAttribute key="M2_PROPERTIES"/>
9+
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
10+
<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
11+
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
12+
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="true"/>
13+
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="/home/darren/src/temp/incubator-cloudstack/client"/>
14+
</launchConfiguration>

‎client/pom.xml‎

Lines changed: 235 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,235 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<artifactId>cloud-client-ui</artifactId>
23+
<name>Apache CloudStack Client UI</name>
24+
<packaging>war</packaging>
25+
<parent>
26+
<groupId>org.apache.cloudstack</groupId>
27+
<artifactId>cloudstack</artifactId>
28+
<version>4.0.0-SNAPSHOT</version>
29+
</parent>
30+
<dependencies>
31+
<dependency>
32+
<groupId>org.apache.cloudstack</groupId>
33+
<artifactId>cloud-server</artifactId>
34+
<version>${project.version}</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.apache.cloudstack</groupId>
38+
<artifactId>cloud-plugin-user-authenticator-ldap</artifactId>
39+
<version>${project.version}</version>
40+
</dependency>
41+
<dependency>
42+
<groupId>org.apache.cloudstack</groupId>
43+
<artifactId>cloud-plugin-user-authenticator-md5</artifactId>
44+
<version>${project.version}</version>
45+
</dependency>
46+
<dependency>
47+
<groupId>org.apache.cloudstack</groupId>
48+
<artifactId>cloud-plugin-user-authenticator-plaintext</artifactId>
49+
<version>${project.version}</version>
50+
</dependency>
51+
<dependency>
52+
<groupId>org.apache.cloudstack</groupId>
53+
<artifactId>cloud-plugin-network-nvp</artifactId>
54+
<version>${project.version}</version>
55+
</dependency>
56+
<dependency>
57+
<groupId>org.apache.cloudstack</groupId>
58+
<artifactId>cloud-plugin-network-ovs</artifactId>
59+
<version>${project.version}</version>
60+
</dependency>
61+
<dependency>
62+
<groupId>org.apache.cloudstack</groupId>
63+
<artifactId>cloud-plugin-network-elb</artifactId>
64+
<version>${project.version}</version>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.apache.cloudstack</groupId>
68+
<artifactId>cloud-plugin-hypervisor-xen</artifactId>
69+
<version>${project.version}</version>
70+
</dependency>
71+
<dependency>
72+
<groupId>org.apache.cloudstack</groupId>
73+
<artifactId>cloud-plugin-hypervisor-ovm</artifactId>
74+
<version>${project.version}</version>
75+
</dependency>
76+
<dependency>
77+
<groupId>org.apache.cloudstack</groupId>
78+
<artifactId>cloud-plugin-storage-allocator-random</artifactId>
79+
<version>${project.version}</version>
80+
</dependency>
81+
<dependency>
82+
<groupId>org.apache.cloudstack</groupId>
83+
<artifactId>cloud-plugin-planner-user-dispersing</artifactId>
84+
<version>${project.version}</version>
85+
</dependency>
86+
<dependency>
87+
<groupId>org.apache.cloudstack</groupId>
88+
<artifactId>cloud-plugin-planner-user-concentrated-pod</artifactId>
89+
<version>${project.version}</version>
90+
</dependency>
91+
<dependency>
92+
<groupId>org.apache.cloudstack</groupId>
93+
<artifactId>cloud-plugin-host-allocator-random</artifactId>
94+
<version>${project.version}</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>mysql</groupId>
98+
<artifactId>mysql-connector-java</artifactId>
99+
<version>5.1.21</version>
100+
<scope>runtime</scope>
101+
</dependency>
102+
<!-- Non-OSS deps -->
103+
<dependency>
104+
<groupId>org.apache.cloudstack</groupId>
105+
<artifactId>cloud-plugin-hypervisor-vmware</artifactId>
106+
<version>${project.version}</version>
107+
</dependency>
108+
<dependency>
109+
<groupId>org.apache.cloudstack</groupId>
110+
<artifactId>cloud-plugin-network-srx</artifactId>
111+
<version>${project.version}</version>
112+
</dependency>
113+
<dependency>
114+
<groupId>org.apache.cloudstack</groupId>
115+
<artifactId>cloud-plugin-hypervisor-kvm</artifactId>
116+
<version>${project.version}</version>
117+
</dependency>
118+
<dependency>
119+
<groupId>org.apache.cloudstack</groupId>
120+
<artifactId>cloud-plugin-netapp</artifactId>
121+
<version>${project.version}</version>
122+
</dependency>
123+
<dependency>
124+
<groupId>org.apache.cloudstack</groupId>
125+
<artifactId>cloud-plugin-network-f5</artifactId>
126+
<version>${project.version}</version>
127+
</dependency>
128+
<dependency>
129+
<groupId>org.apache.cloudstack</groupId>
130+
<artifactId>cloud-plugin-network-netscaler</artifactId>
131+
<version>${project.version}</version>
132+
</dependency>
133+
</dependencies>
134+
<build>
135+
<defaultGoal>install</defaultGoal>
136+
<plugins>
137+
<plugin>
138+
<groupId>org.apache.maven.plugins</groupId>
139+
<artifactId>maven-war-plugin</artifactId>
140+
<version>2.2</version>
141+
<configuration>
142+
<webXml>./WEB-INF/web.xml</webXml>
143+
<warSourceDirectory>./target/generated-webapp</warSourceDirectory>
144+
</configuration>
145+
</plugin>
146+
<plugin>
147+
<groupId>org.mortbay.jetty</groupId>
148+
<artifactId>maven-jetty-plugin</artifactId>
149+
<version>6.1.26</version>
150+
<configuration>
151+
<connectors>
152+
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
153+
<port>8080</port>
154+
<maxIdleTime>60000</maxIdleTime>
155+
</connector>
156+
</connectors>
157+
<contextPath>/client</contextPath>
158+
<webXml>./WEB-INF/web.xml</webXml>
159+
<webAppSourceDirectory>./target/generated-webapp</webAppSourceDirectory>
160+
</configuration>
161+
</plugin>
162+
<plugin>
163+
<artifactId>maven-antrun-plugin</artifactId>
164+
<version>1.7</version>
165+
<executions>
166+
<execution>
167+
<phase>generate-resources</phase>
168+
<goals>
169+
<goal>run</goal>
170+
</goals>
171+
<configuration>
172+
<target>
173+
<copy todir="${basedir}/target/generated-webapp/WEB-INF/classes" >
174+
<fileset dir="${basedir}/WEB-INF/classes" >
175+
<include name="resources/**/*" />
176+
</fileset>
177+
</copy>
178+
<copy todir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" >
179+
<fileset dir="${basedir}/../scripts" />
180+
</copy>
181+
<copy todir="${basedir}/target/generated-webapp" >
182+
<fileset dir="${basedir}/../ui" />
183+
</copy>
184+
<copy overwrite="true" todir="${basedir}/target/generated-webapp/WEB-INF/classes">
185+
<fileset dir="${basedir}/tomcatconf">
186+
<include name="*.in" />
187+
</fileset>
188+
<globmapper from="*.in" to="*" />
189+
<filterchain>
190+
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
191+
<param type="propertiesfile" value="${basedir}/../build/replace.properties" />
192+
</filterreader>
193+
</filterchain>
194+
</copy>
195+
</target>
196+
</configuration>
197+
</execution>
198+
</executions>
199+
</plugin>
200+
</plugins>
201+
<pluginManagement>
202+
<plugins>
203+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
204+
<plugin>
205+
<groupId>org.eclipse.m2e</groupId>
206+
<artifactId>lifecycle-mapping</artifactId>
207+
<version>1.0.0</version>
208+
<configuration>
209+
<lifecycleMappingMetadata>
210+
<pluginExecutions>
211+
<pluginExecution>
212+
<pluginExecutionFilter>
213+
<groupId>
214+
org.apache.maven.plugins
215+
</groupId>
216+
<artifactId>
217+
maven-antrun-plugin
218+
</artifactId>
219+
<versionRange>[1.7,)</versionRange>
220+
<goals>
221+
<goal>run</goal>
222+
</goals>
223+
</pluginExecutionFilter>
224+
<action>
225+
<ignore></ignore>
226+
</action>
227+
</pluginExecution>
228+
</pluginExecutions>
229+
</lifecycleMappingMetadata>
230+
</configuration>
231+
</plugin>
232+
</plugins>
233+
</pluginManagement>
234+
</build>
235+
</project>

‎console-proxy/pom.xml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,13 @@
4646
<build>
4747
<defaultGoal>install</defaultGoal>
4848
<sourceDirectory>src</sourceDirectory>
49+
<resources>
50+
<resource>
51+
<directory>certs</directory>
52+
<excludes>
53+
<exclude>realhostip.csr</exclude>
54+
</excludes>
55+
</resource>
56+
</resources>
4957
</build>
5058
</project>

‎deps/install-non-oss.sh‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
3+
mvn install:install-file -Dfile=cloud-iControl.jar -DgroupId=com.cloud.com.f5 -DartifactId=icontrol -Dversion=1.0 -Dpackaging=jar
4+
mvn install:install-file -Dfile=cloud-netscaler.jar -DgroupId=com.cloud.com.citrix -DartifactId=netscaler -Dversion=1.0 -Dpackaging=jar
5+
mvn install:install-file -Dfile=cloud-netscaler-sdx.jar -DgroupId=com.cloud.com.citrix -DartifactId=netscaler-sdx -Dversion=1.0 -Dpackaging=jar
6+
mvn install:install-file -Dfile=cloud-manageontap.jar -DgroupId=com.cloud.com.netapp -DartifactId=manageontap -Dversion=1.0 -Dpackaging=jar
7+
mvn install:install-file -Dfile=libvirt-0.4.8.jar -DgroupId=org.libvirt -DartifactId=libvirt -Dversion=0.4.8 -Dpackaging=jar
8+
mvn install:install-file -Dfile=vmware-vim.jar -DgroupId=com.cloud.com.vmware -DartifactId=vmware-vim -Dversion=1.0 -Dpackaging=jar
9+
mvn install:install-file -Dfile=vmware-vim25.jar -DgroupId=com.cloud.com.vmware -DartifactId=vmware-vim25 -Dversion=1.0 -Dpackaging=jar
10+
mvn install:install-file -Dfile=vmware-apputils.jar -DgroupId=com.cloud.com.vmware -DartifactId=vmware-apputils -Dversion=1.0 -Dpackaging=jar

‎m2-settings.xml‎

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)