diff options
author | Maria Odea B. Ching <oching@apache.org> | 2011-06-15 09:36:05 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2011-06-15 09:36:05 +0000 |
commit | dab1e929905186a20423260d0f1ce275eef4add2 (patch) | |
tree | c5d077042334c5db89c6492d22f68908ae534579 /archiva-modules/metadata/test-repository | |
parent | 90df2242acd0eb69d7fcc31e0513cef0e42b1a25 (diff) | |
download | archiva-dab1e929905186a20423260d0f1ce275eef4add2.tar.gz archiva-dab1e929905186a20423260d0f1ce275eef4add2.zip |
[MRM-1411] project information is missing if a POM could not be read correctly
o proxy parent POM if not found in the repo when building the effective POM when creating metadata (also applied the same in dependency tree builder)
o added unit tests
o moved out wagonfactory classes into separate module so it can be used by maven2-repository w/o depending on archiva-proxy module (as it inroduces cyclic dependency)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135978 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/test-repository')
-rw-r--r-- | archiva-modules/metadata/test-repository/src/main/resources/com/example/test/missing-parent/1.1/missing-parent-1.1.pom | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/archiva-modules/metadata/test-repository/src/main/resources/com/example/test/missing-parent/1.1/missing-parent-1.1.pom b/archiva-modules/metadata/test-repository/src/main/resources/com/example/test/missing-parent/1.1/missing-parent-1.1.pom new file mode 100644 index 000000000..a2f1ecf24 --- /dev/null +++ b/archiva-modules/metadata/test-repository/src/main/resources/com/example/test/missing-parent/1.1/missing-parent-1.1.pom @@ -0,0 +1,20 @@ +<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>com.example.test</groupId> + <artifactId>missing-parent-pom</artifactId> + <version>1</version> + </parent> + <artifactId>missing-parent</artifactId> + <packaging>jar</packaging> + <version>1.1</version> + <name>Test Artifact :: Missing Parent POM</name> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + </dependencies> +</project> |