Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 276 lines (252 sloc) 9.603 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
<?xml version="1.0" encoding="UTF-8"?>
<!--

Sonatype Nexus (TM) Open Source Version
Copyright (c) 2007-2012 Sonatype, Inc.
All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.

This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.

Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
Eclipse Foundation. All other trademarks are the property of their respective owners.

-->
<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>

  <groupId>org.sonatype.nexus.yum</groupId>
  <artifactId>nexus-yum</artifactId>
  <version>2.2-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Nexus Yum (Parent)</name>
  <description>Nexus Plugin to let Nexus generate a RPM repository out of the repositories</description>
  <url>https://github.com/sonatype/nexus-yum-plugin</url>

  <licenses>
    <license>
      <name>Eclipse Public License</name>
      <url>http://www.eclipse.org/legal/epl-v10.html</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>sherold</id>
      <name>Sebastian Herold</name>
      <email>sebastian.herold@immobilienscout24.de</email>
    </developer>
  </developers>

  <scm>
    <url>scm:git:https://github.com/sonatype/nexus-yum-plugin.git</url>
    <connection>scm:git:https://github.com/sonatype/nexus-yum-plugin.git</connection>
    <developerConnection>scm:git:https://github.com/sonatype/nexus-yum-plugin.git</developerConnection>
  </scm>

  <distributionManagement>
    <repository>
      <id>releases</id>
      <name>Local Repository</name>
      <url>${nexus.url}/content/repositories/production/</url>
    </repository>
    <snapshotRepository>
      <id>snapshots</id>
      <name>Local Snapshots</name>
      <url>${nexus.url}/content/repositories/snapshots/</url>
    </snapshotRepository>
  </distributionManagement>

  <modules>
    <module>nexus-yum-plugin</module>
    <module>nexus-yum-testsuite</module>
    <module>nexus-yum-testhelper</module>
  </modules>

  <properties>
    <!-- Set the Nexus version here, against which you build the plugin -->
    <nexus.version>2.2</nexus.version>
    <nexus-testsuite-support.version>2.2</nexus-testsuite-support.version>
    <nexus-oss-webapp.version>2.2</nexus-oss-webapp.version>
    <app.lifecycle.version>1.6</app.lifecycle.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <hamcrest.version>1.2.1</hamcrest.version>
    <jersey.version>1.14</jersey.version>
    <skip.unittests>false</skip.unittests>
  </properties>

  <dependencyManagement>
    <dependencies>
      <!-- This dependency is only needed if you want to include REST Resources -->
      <dependency>
        <groupId>org.sonatype.nexus</groupId>
        <artifactId>nexus-rest-api</artifactId>
        <version>${nexus.version}</version>
      </dependency>

      <!-- Basic testing -->
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.10</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.sonatype.nexus</groupId>
        <artifactId>nexus-plugin-test-api</artifactId>
        <version>${nexus.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.sonatype.nexus</groupId>
        <artifactId>nexus-test-utils</artifactId>
        <version>${nexus.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.sonatype.nexus</groupId>
        <artifactId>nexus-testsuite-support</artifactId>
        <version>${nexus-testsuite-support.version}</version>
      </dependency>
      <dependency>
        <groupId>org.sonatype.nexus</groupId>
        <artifactId>nexus-testsuite-client</artifactId>
        <version>${nexus-testsuite-support.version}</version>
      </dependency>

      <!-- #ITSet BEGINS -->
      <!-- Nexus IT setup (dependencies below are needed if you have extensive ITs and you want to use Nexus Environment) -->
      <!-- There are plugins connected to this dependency, see below! -->
      <dependency>
        <groupId>org.sonatype.nexus</groupId>
        <artifactId>nexus-test-harness-launcher</artifactId>
        <scope>test</scope>
        <version>${nexus.version}</version>
        <exclusions>
          <exclusion>
            <artifactId>maven-toolchain</artifactId>
            <groupId>org.apache.maven</groupId>
          </exclusion>
          <exclusion>
            <artifactId>testng</artifactId>
            <groupId>org.testng</groupId>
          </exclusion>
        </exclusions>
      </dependency>
      <!-- #ITSet ENDS -->

      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-exec</artifactId>
        <version>1.1</version>
      </dependency>
      <dependency>
        <groupId>xmlunit</groupId>
        <artifactId>xmlunit</artifactId>
        <version>1.3</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.google.code.tempus-fugit</groupId>
        <artifactId>tempus-fugit</artifactId>
        <version>1.1</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-library</artifactId>
        <version>${hamcrest.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.hamcrest</groupId>
        <artifactId>hamcrest-core</artifactId>
        <version>${hamcrest.version}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>1.9.0</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>com.sun.jersey.contribs</groupId>
        <artifactId>jersey-multipart</artifactId>
        <version>${jersey.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-compress</artifactId>
        <version>1.4.1</version>
      </dependency>
      <!-- Pure Java RPM-library -->
      <dependency>
        <groupId>org.redline-rpm</groupId>
        <artifactId>redline</artifactId>
        <version>1.1.9</version>
        <scope>test</scope>
      </dependency>

      <!-- Internal Dependencies -->
      <dependency>
        <groupId>org.sonatype.nexus.plugins</groupId>
        <artifactId>nexus-yum-plugin</artifactId>
        <version>${project.version}</version>
        <type>nexus-plugin</type>
      </dependency>
      <dependency>
        <groupId>org.sonatype.nexus.yum</groupId>
        <artifactId>nexus-yum-testhelper</artifactId>
        <version>${project.version}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <build>
    <pluginManagement>
      <plugins>
        <!-- Have to set source level to Java 6, we use annotations ;-) -->
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3.1</version>
          <configuration>
            <source>1.6</source>
            <target>1.6</target>
          </configuration>
        </plugin>

        <!-- Fork Tests because of problems with Sisu-Guice-Version -->
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.9</version>
          <configuration>
            <skip>${skip.unittests}</skip>
            <forkMode>always</forkMode>
            <threadCount>1</threadCount>
          </configuration>
        </plugin>
        
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-failsafe-plugin</artifactId>
          <version>2.9</version>
        </plugin>
        
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.3</version>
        </plugin>
      
        <!-- Make project M2e friendly -->
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
            <lifecycleMappingMetadata>
              <pluginExecutions>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <versionRange>[2.1,)</versionRange>
                    <goals>
                      <goal>unpack</goal>
                      <goal>copy</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <execute/>
                  </action>
                </pluginExecution>
              </pluginExecutions>
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>

      </plugins>
    </pluginManagement>
  </build>
</project>
Something went wrong with that request. Please try again.