blob: dc3cbd3878ea7750734e2bf9b2cb6925652b7f74 [file] [log] [blame]
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its.mng7128</groupId>
<artifactId>http-repository-in-pom</artifactId>
<version>1.0</version>
<name>Maven Integration Test :: MNG-7128</name>
<description>
Define a HTTP repository in this reactor pom.xml: check that it is blocked.
</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>1.3</version><!-- version intentionally not available in central to trigger download from defined repository -->
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>8</source>
<target>8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>insecure-http-repo</id>
<name>HTTP repository: should be blocked</name>
<url>http://repo.maven.apache.org/</url><!-- intentionally insecure HTTP -->
</repository>
</repositories>
</project>