All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.pom.xml Maven / Gradle / Ivy

#set( $lcaseProviderName = ${providerName.toLowerCase()} )
#set(
$symbol_dollar = '$' )
<?xml version="1.0" encoding="UTF-8"?>
    <!--
        ${symbol_dollar}HeadURL${symbol_dollar}
        ${symbol_dollar}Revision${symbol_dollar}
        ${symbol_dollar}Date${symbol_dollar} Copyright (C) 2010 Cloud
        Conscious, LLC <[email protected]>

        ====================================================================
        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.html 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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.jclouds</groupId>
        <artifactId>jclouds-project</artifactId>
        <version>1.0-SNAPSHOT</version>
        <relativePath>../project/pom.xml</relativePath>
    </parent>
    <groupId>${groupId}</groupId>
    <artifactId>jclouds-${artifactId}</artifactId>
    <name>jclouds ${providerName} core</name>
    <description>jclouds components to access ${providerName}</description>

    <scm>
        <connection>scm:git:[email protected]:jclouds/jclouds.git</connection>
        <developerConnection>scm:git:[email protected]:jclouds/jclouds.git</developerConnection>
        <url>http://github.com/jclouds/jclouds/tree/master/${lcaseProviderName}</url>
    </scm>

    <!-- bootstrapping: need to fetch the project POM -->
    <repositories>
        <repository>
            <id>jclouds-googlecode-deploy</id>
            <url>http://jclouds.googlecode.com/svn/repo</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>jclouds-rimu-snapshots-nexus</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

    <properties>
        <test.${lcaseProviderName}.identity>${providerIdentity}</test.${lcaseProviderName}.identity>
        <test.${lcaseProviderName}.credential>${providerCredential}</test.${lcaseProviderName}.credential>
        <test.${lcaseProviderName}.apiversion>${providerApiVersion}</test.${lcaseProviderName}.apiversion>
        <test.${lcaseProviderName}.endpoint>${providerEndpoint}</test.${lcaseProviderName}.endpoint>
    </properties>
    <dependencies>
        <dependency>
            <groupId>${symbol_dollar}{project.groupId}</groupId>
            <artifactId>jclouds-core</artifactId>
            <version>${symbol_dollar}{project.version}</version>
        </dependency>
        <dependency>
            <groupId>${symbol_dollar}{project.groupId}</groupId>
            <artifactId>jclouds-core</artifactId>
            <version>${symbol_dollar}{project.version}</version>
            <type>test-jar</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>${symbol_dollar}{project.groupId}</groupId>
            <artifactId>jclouds-log4j</artifactId>
            <version>${symbol_dollar}{project.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <profiles>
        <profile>
            <id>live</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>integration</id>
                                <phase>integration-test</phase>
                                <goals>
                                    <goal>test</goal>
                                </goals>
                                <configuration>
                                    <systemProperties>
                                        <property>
                                            <name>test.${lcaseProviderName}.identity</name>
                                            <value>\$\{test.${lcaseProviderName}.identity\}</value>
                                        </property>
                                        <property>
                                            <name>test.${lcaseProviderName}.credential</name>
                                            <value>\$\{test.${lcaseProviderName}.credential\}</value>
                                        </property>
                                        <property>
                                            <name>test.${lcaseProviderName}.endpoint</name>
                                            <value>\$\{test.${lcaseProviderName}.endpoint\}</value>
                                        </property>
                                        <property>
                                            <name>test.${lcaseProviderName}.apiversion</name>
                                            <value>\$\{test.${lcaseProviderName}.apiversion\}</value>
                                        </property>
                                    </systemProperties>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy