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

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

Go to download

This project defines an archetype for creating new projects which consume brooklyn, including an example application and an example new entity type, able to build an OSGi JAR and a binary assembly, with logging and READMEs.

There is a newer version: 1.1.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<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>

  <parent>
    <groupId>org.apache.brooklyn</groupId>
    <artifactId>brooklyn-downstream-parent</artifactId>
    <version>1.0.0-M1</version>  <!-- BROOKLYN_VERSION -->
  </parent>

  <groupId>${groupId}</groupId>
  <artifactId>${artifactId}</artifactId>
  <version>${version}</version>

  <name>Sample Apache Brooklyn Project ${groupId}:${artifactId} v${version}</name>
  <description>
    Sample Apache Brooklyn Project for Java entity development, and OSGi bundle generation.
  </description>

  <!-- Optional metadata (commented out in this sample) 

  <url>https://github.com/acme/sample</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Sample Project Committers</name>
    </developer>
  </developers>

  <scm>
    <connection>scm:git:git://github.com/acme/sample</connection>
    <developerConnection>scm:git:[email protected]:acme/sample.git</developerConnection>
    <url>http://github.com/acme/sample</url>
  </scm>

  -->

  <repositories>
    <repository>
      <id>extra.repo</id>
      <name>Extra Repository</name>
      <url>${archetypeRepository}</url>
    </repository>
    <repository>
      <id>apache.snapshots</id>
      <name>Apache Snapshot Repository</name>
      <url>http://repository.apache.org/snapshots</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <!--
          All Brooklyn dependencies (note that the OSGi imports in the built artifacts will
          only list the packages actually used). It is possible to be far more selective
          about the required dependencies.
      -->
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-all</artifactId>
      <version>${brooklyn.version}</version>
    </dependency>

    <dependency>
      <!-- this gives us flexible and easy-to-use logging; just edit logback-custom.xml! -->
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-logback-xml</artifactId>
      <version>${brooklyn.version}</version>
      <optional>true</optional>
      <scope>provided</scope>
    </dependency>
    
    <dependency>
      <!-- includes testng and useful logging for tests -->
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-test-support</artifactId>
      <version>${brooklyn.version}</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <!-- includes org.apache.brooklyn.test.support.LoggingVerboseReporter -->
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-utils-test-support</artifactId>
      <version>${brooklyn.version}</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <!-- for useful entity testing, such as TestEntity and BrooklynAppUnitTestSupport -->
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-core</artifactId>
      <version>${brooklyn.version}</version>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>

    <!-- for useful YAML-based testing, such as AbstractYamlTest -->
    <dependency>
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-camp</artifactId>
      <version>${brooklyn.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-camp</artifactId>
      <version>${brooklyn.version}</version>
      <classifier>tests</classifier>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-test-framework</artifactId>
      <version>${brooklyn.version}</version>
      <scope>test</scope>
    </dependency>

  </dependencies>

</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy