mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	Some concepts included: * the replace.properties location used by maven is parameterized to allow for a build that does not modify the currently git tracked files * package naming is updated along the lines of what was discussed on the -dev mailing list and between committers at the Build a Cloud Day in Belgi * package version pattern is updated (since we redo all package names, we might as well drop the epoch)
		
			
				
	
	
		
			173 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			173 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<!--
 | 
						|
  Licensed to the Apache Software Foundation (ASF) under one
 | 
						|
  or more contributor license agreements. See the NOTICE file
 | 
						|
  distributed with this work for additional information
 | 
						|
  regarding copyright ownership. The ASF licenses this file
 | 
						|
  to you under the Apache License, Version 2.0 (the
 | 
						|
  "License"); you may not use this file except in compliance
 | 
						|
  with the License. You may obtain a copy of the License at
 | 
						|
 | 
						|
  http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 | 
						|
  Unless required by applicable law or agreed to in writing,
 | 
						|
  software distributed under the License is distributed on an
 | 
						|
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 | 
						|
  KIND, either express or implied. See the License for the
 | 
						|
  specific language governing permissions and limitations
 | 
						|
  under the License.
 | 
						|
-->
 | 
						|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
						|
  <modelVersion>4.0.0</modelVersion>
 | 
						|
  <artifactId>cloud-server</artifactId>
 | 
						|
  <name>Apache CloudStack Server</name>
 | 
						|
  <parent>
 | 
						|
    <groupId>org.apache.cloudstack</groupId>
 | 
						|
    <artifactId>cloudstack</artifactId>
 | 
						|
    <version>4.2.0-SNAPSHOT</version>
 | 
						|
  </parent>
 | 
						|
  <dependencies>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.cloudstack</groupId>
 | 
						|
      <artifactId>cloud-core</artifactId>
 | 
						|
      <version>${project.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>javax.servlet</groupId>
 | 
						|
      <artifactId>servlet-api</artifactId>
 | 
						|
      <version>${cs.servlet.version}</version>
 | 
						|
      <scope>provided</scope>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.httpcomponents</groupId>
 | 
						|
      <artifactId>httpcore</artifactId>
 | 
						|
      <version>${cs.httpcore.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.httpcomponents</groupId>
 | 
						|
      <artifactId>httpclient</artifactId>
 | 
						|
      <version>${cs.httpcore.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>mysql</groupId>
 | 
						|
      <artifactId>mysql-connector-java</artifactId>
 | 
						|
      <version>${cs.mysql.version}</version>
 | 
						|
      <scope>provided</scope>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>com.thoughtworks.xstream</groupId>
 | 
						|
      <artifactId>xstream</artifactId>
 | 
						|
      <version>${cs.xstream.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>javax.mail</groupId>
 | 
						|
      <artifactId>mail</artifactId>
 | 
						|
      <version>${cs.mail.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>jstl</groupId>
 | 
						|
      <artifactId>jstl</artifactId>
 | 
						|
      <version>${cs.jstl.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>commons-codec</groupId>
 | 
						|
      <artifactId>commons-codec</artifactId>
 | 
						|
      <version>${cs.codec.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.cloudstack</groupId>
 | 
						|
      <artifactId>cloud-utils</artifactId>
 | 
						|
      <version>${project.version}</version>
 | 
						|
      <classifier>tests</classifier>
 | 
						|
      <scope>test</scope>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.reflections</groupId>
 | 
						|
      <artifactId>reflections</artifactId>
 | 
						|
      <version>0.9.8</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.cloudstack</groupId>
 | 
						|
      <artifactId>cloud-engine-api</artifactId>
 | 
						|
      <version>${project.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.cloudstack</groupId>
 | 
						|
      <artifactId>cloud-api</artifactId>
 | 
						|
      <version>${project.version}</version>
 | 
						|
    </dependency>
 | 
						|
    <dependency>
 | 
						|
      <groupId>org.apache.cloudstack</groupId>
 | 
						|
      <artifactId>cloud-framework-events</artifactId>
 | 
						|
      <version>${project.version}</version>
 | 
						|
    </dependency>
 | 
						|
  </dependencies>
 | 
						|
  <build>
 | 
						|
    <defaultGoal>install</defaultGoal>
 | 
						|
    <sourceDirectory>src</sourceDirectory>
 | 
						|
    <testSourceDirectory>test</testSourceDirectory>
 | 
						|
    <testResources>
 | 
						|
      <testResource>
 | 
						|
        <directory>test/resources</directory>
 | 
						|
      </testResource>
 | 
						|
    </testResources>
 | 
						|
    <plugins>
 | 
						|
      <plugin>
 | 
						|
        <groupId>org.apache.maven.plugins</groupId>
 | 
						|
        <artifactId>maven-surefire-plugin</artifactId>
 | 
						|
        <configuration>
 | 
						|
          <argLine>-Xmx1024m</argLine>
 | 
						|
          <excludes>
 | 
						|
            <exclude>com/cloud/upgrade/*</exclude>
 | 
						|
            <exclude>com/cloud/async/*</exclude>
 | 
						|
            <exclude>com/cloud/cluster/*</exclude>
 | 
						|
            <exclude>com/cloud/snapshot/*</exclude>
 | 
						|
            <exclude>com/cloud/storage/dao/*</exclude>
 | 
						|
            <exclude>com/cloud/vm/dao/*</exclude>
 | 
						|
            <exclude>com/cloud/vpc/*</exclude>
 | 
						|
            <exclude>com/cloud/api/ListPerfTest.java</exclude>
 | 
						|
            <exclude>com/cloud/network/vpn/RemoteAccessVpnTest.java</exclude>
 | 
						|
            <exclude>com/cloud/network/security/SecurityGroupManagerImpl2Test.java</exclude>
 | 
						|
          </excludes>
 | 
						|
        </configuration>
 | 
						|
      </plugin>
 | 
						|
      <plugin>
 | 
						|
        <artifactId>maven-antrun-plugin</artifactId>
 | 
						|
        <version>1.7</version>
 | 
						|
        <executions>
 | 
						|
          <execution>
 | 
						|
            <id>generate-resource</id>
 | 
						|
            <phase>generate-resources</phase>
 | 
						|
            <goals>
 | 
						|
              <goal>run</goal>
 | 
						|
            </goals>
 | 
						|
            <configuration>
 | 
						|
              <target>
 | 
						|
                <copy overwrite="true"
 | 
						|
                  todir="${basedir}/target/conf">
 | 
						|
                  <fileset dir="${basedir}/conf">
 | 
						|
                    <include name="*.in" />
 | 
						|
                  </fileset>
 | 
						|
                  <globmapper from="*.in" to="*" />
 | 
						|
                  <filterchain>
 | 
						|
                    <filterreader
 | 
						|
                      classname="org.apache.tools.ant.filters.ReplaceTokens">
 | 
						|
                      <param type="propertiesfile"
 | 
						|
                        value="${cs.replace.properties}" />
 | 
						|
                    </filterreader>
 | 
						|
                  </filterchain>
 | 
						|
                </copy>
 | 
						|
                <copy
 | 
						|
                  todir="${basedir}/target/conf">
 | 
						|
                  <fileset dir="${basedir}/conf">
 | 
						|
                    <exclude name="*.in" />
 | 
						|
                  </fileset>
 | 
						|
                </copy>
 | 
						|
              </target>
 | 
						|
            </configuration>
 | 
						|
          </execution>
 | 
						|
        </executions>
 | 
						|
      </plugin>
 | 
						|
    </plugins>
 | 
						|
  </build>
 | 
						|
</project>
 |