From: Olivier Lamy Date: Sun, 26 Feb 2012 09:07:25 +0000 (+0000) Subject: [MRM-1607] maven model build failed when model have jdk profile activation. X-Git-Tag: archiva-1.4-M3~1224 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ffa0353f1edd03dca3071e44c93e3a6ad7b5a05;p=archiva.git [MRM-1607] maven model build failed when model have jdk profile activation. add test metadatas git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293789 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/metadata/test-repository/src/main/resources/org/apache/apache/7/apache-7.pom b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/apache/7/apache-7.pom new file mode 100644 index 000000000..32038ab47 --- /dev/null +++ b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/apache/7/apache-7.pom @@ -0,0 +1,368 @@ + + + + + + 4.0.0 + + + org.apache + apache + 7 + pom + The Apache Software Foundation + + The Apache Software Foundation provides support for the Apache community of open-source software projects. + The Apache projects are characterized by a collaborative, consensus based development process, an open and + pragmatic software license, and a desire to create high quality software that leads the way in its field. + We consider ourselves not simply a group of projects sharing a server, but rather a community of developers + and users. + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + The Apache Software Foundation + http://www.apache.org/ + + http://www.apache.org/ + + + apache.snapshots + Apache Snapshot Repository + http://repository.apache.org/snapshots + + false + + + + + + + + apache.releases.https + Apache Release Distribution Repository + https://repository.apache.org/service/local/staging/deploy/maven2 + + + apache.snapshots.https + ${distMgmtSnapshotsName} + ${distMgmtSnapshotsUrl} + + + + + Apache Announce List + announce-subscribe@apache.org + announce-unsubscribe@apache.org + announce@apache.org + http://mail-archives.apache.org/mod_mbox/www-announce/ + + + + Apache Development Snapshot Repository + https://repository.apache.org/content/repositories/snapshots + http://www.apache.org/images/asf_logo_wide.gif + UTF-8 + source-release + + + scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/apache-7 + scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/apache-7 + http://svn.apache.org/viewvc/maven/pom/tags/apache-7 + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.3 + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2-beta-5 + + + org.apache.maven.plugins + maven-clean-plugin + 2.3 + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.4 + 1.4 + ${project.build.sourceEncoding} + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.5 + + + org.apache.maven.plugins + maven-docck-plugin + 1.0 + + + org.apache.maven.plugins + maven-enforcer-plugin + 1.0-beta-1 + + + org.apache.maven.plugins + maven-gpg-plugin + 1.0-alpha-4 + + + org.apache.maven.plugins + maven-install-plugin + 2.3 + + + org.apache.maven.plugins + maven-invoker-plugin + 1.5 + + + org.apache.maven.plugins + maven-jar-plugin + 2.3 + + + + true + true + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + 2.5 + + + org.apache.maven.plugins + maven-plugin-plugin + 2.5.1 + + + + org.apache.maven.plugins + maven-release-plugin + 2.0-beta-9 + + false + deploy + -Papache-release + + + + + org.apache.maven.plugins + maven-remote-resources-plugin + 1.1 + + + org.apache.maven.plugins + maven-resources-plugin + 2.4 + + ${project.build.sourceEncoding} + + + + org.apache.maven.plugins + maven-scm-plugin + 1.2 + + + org.apache.maven.plugins + maven-site-plugin + 2.0.1 + + + org.apache.maven.plugins + maven-source-plugin + 2.1.1 + + + org.apache.maven.plugins + maven-surefire-plugin + 2.4.3 + + + org.codehaus.mojo + clirr-maven-plugin + 2.2.2 + + + org.codehaus.plexus + plexus-maven-plugin + 1.3.8 + + + org.codehaus.modello + modello-maven-plugin + 1.1 + + + + + + + org.apache.maven.plugins + maven-remote-resources-plugin + + + + process + + + + org.apache:apache-jar-resource-bundle:1.4 + + + + + + + + + + + + maven-project-info-reports-plugin + 2.1.2 + + + + + + + + apache-release + + + + + maven-assembly-plugin + + + org.apache.apache.resources + apache-source-release-assembly-descriptor + 1.0.2 + + + + + source-release-assembly + package + + single + + + true + + ${sourceReleaseAssemblyDescriptor} + + gnu + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + ${gpg.passphrase} + + + + + sign + + + + + + + true + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + ${project.build.sourceEncoding} + + + + attach-javadocs + + jar + + + + + + + + + + diff --git a/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.pom b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.pom new file mode 100644 index 000000000..77f72fb3c --- /dev/null +++ b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.pom @@ -0,0 +1,117 @@ + + + + 4.0.0 + + + org.apache.maven.shared + maven-shared-components + 15 + + + org.apache.maven + maven-archiver + 2.4.1 + + Maven Archiver + Provides utility methods for creating JARs and other archive files from a Maven project. + + + ${mavenVersion} + + + + scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-archiver-2.4.1 + scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-archiver-2.4.1 + http://svn.apache.org/viewvc/maven/shared/tags/maven-archiver-2.4.1 + + + jira + http://jira.codehaus.org/browse/MSHARED/component/13268 + + + + 2.0.6 + + + + + org.apache.maven + maven-artifact + ${mavenVersion} + + + org.apache.maven + maven-model + ${mavenVersion} + + + org.apache.maven + maven-project + ${mavenVersion} + provided + + + org.apache.maven + maven-artifact-manager + + + + + org.codehaus.plexus + plexus-archiver + 1.0 + + + org.codehaus.plexus + plexus-utils + 2.0.5 + + + org.codehaus.plexus + plexus-interpolation + 1.13 + + + junit + junit + 3.8.2 + test + + + + + + + maven-changes-plugin + 2.0-beta-3 + + %URL%/%ISSUE% + + + + + changes-report + + + + + + + \ No newline at end of file diff --git a/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/maven-parent/16/maven-parent-16.pom b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/maven-parent/16/maven-parent-16.pom new file mode 100644 index 000000000..06e3cc594 --- /dev/null +++ b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/maven-parent/16/maven-parent-16.pom @@ -0,0 +1,743 @@ + + + + + + 4.0.0 + + + org.apache + apache + 7 + ../asf/pom.xml + + + org.apache.maven + maven-parent + 16 + pom + + Apache Maven + Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. + http://maven.apache.org/ + 2002 + + + + + brianf + Brian Fox + brianf@apache.org + Sonatype + + PMC Chair + + -5 + + + aheritier + Arnaud Héritier + aheritier@apache.org + + PMC Member + + +1 + + + baerrach + Barrie Treloar + + PMC Member + + + + bentmann + Benjamin Bentmann + bentmann@apache.org + Sonatype + + PMC Member + + +1 + + + brett + Brett Porter + brett@apache.org + ASF + + PMC Member + + +10 + + + carlos + Carlos Sanchez + carlos@apache.org + ASF + + PMC Member + + +1 + + + dennisl + Dennis Lundberg + dennisl@apache.org + ASF + + PMC Member + + +1 + + + dfabulich + Daniel Fabulich + dfabulich@apache.org + + PMC Member + + -8 + + + dkulp + Daniel Kulp + dkulp@apache.org + ASF + + PMC Member + + -5 + + + evenisse + Emmanuel Venisse + evenisse@apache.org + ASF + + PMC Member + + +1 + + + hboutemy + Hervé Boutemy + hboutemy@apache.org + + PMC Member + + +1 + + + jdcasey + John Casey + jdcasey@apache.org + ASF + + PMC Member + + -5 + + + jmcconnell + Jesse McConnell + jmcconnell@apache.org + ASF + + PMC Member + + -6 + + + jvanzyl + Jason van Zyl + jason@maven.org + Sonatype + + Founder + PMC Member + + -5 + + + kenney + Kenney Westerhof + kenney@apache.org + Neonics + + PMC Member + + +1 + + + ltheussl + Lukas Theussl + ltheussl@apache.org + ASF + + PMC Member + + +1 + + + mkleint + Milos Kleint + + PMC Member + + + + oching + Maria Odea B. Ching + + PMC Member + + + + olamy + Olivier Lamy + olamy@apache.org + + PMC Member + + +1 + + + rgoers + Ralph Goers + rgoers@apache.org + Intuit + -8 + + PMC Member + + + + snicoll + Stephane Nicoll + snicoll@apache.org + ASF + + PMC Member + + +1 + + + trygvis + Trygve Laugstol + trygvis@apache.org + ASF + + PMC Member + + +1 + + + vmassol + Vincent Massol + vmassol@apache.org + ASF + + PMC Member + + +1 + + + vsiveton + Vincent Siveton + vsiveton@apache.org + ASF + + PMC Member + + -5 + + + wsmoak + Wendy Smoak + wsmoak@apache.org + + PMC Member + + -7 + + + + + aramirez + Allan Q. Ramirez + + Committer + + + + bayard + Henri Yandell + + Committer + + + + bellingard + Fabrice Bellingard + + Committer + + + + chrisjs + Chris Stevenson + + Committer + + + + dantran + Dan Tran + + Committer + + + + dblevins + David Blevins + + Committer + + + + dlr + Daniel Rall + + Committer + + + + epunzalan + Edwin Punzalan + epunzalan@apache.org + + Committer + + -8 + + + ifedorenko + Igor Fedorenko + igor@ifedorenko.com + Sonatype + + Committer + + -5 + + + fgiust + Fabrizio Giustina + fgiust@apache.org + openmind + + Committer + + +1 + + + felipeal + Felipe Leme + + Committer + + + + handyande + Andrew Williams + handyande@apache.org + + Committer + + 0 + + + jjensen + Jeff Jensen + + Committer + + + + krosenvold + Kristian Rosenvold + krosenvold@apache.org + + Committer + + +1 + + + nicolas + Nicolas De Loof + nicolas@apache.org + Capgemini + + Committer + + +1 + + + ogusakov + Oleg Gusakov + + Committer + + + + pgier + Paul Gier + pgier@apache.org + Red Hat + + Committer + + -6 + + + pschneider + Patrick Schneider + pschneider@gmail.com + + Committer + + -6 + + + ptahchiev + Petar Tahchiev + ptahchiev@apache.org + + Committer + + +2 + + + rafale + Raphaël Piéroni + rafale@apache.org + Dexem + + Committer + + +1 + + + rinku + Rahul Thakur + + Committer + + + + shinobu + Shinobu Kuwai + + Committer + + + + smorgrav + Torbjorn Eikli Smorgrav + + Committer + + + + stephenc + Stephen Connolly + stephenc@apache.org + + Committer + + 0 + + + markh + Mark Hobson + markh@apache.org + + Committer + + 0 + + + joakime + Joakim Erdfelt + joakime@apache.org + ASF + + Emeritus + + -5 + + + jstrachan + James Strachan + + Emeritus + + + + jtolentino + Ernesto Tolentino Jr. + jtolentino@apache.org + ASF + + Emeritus + + +8 + + + mperham + Mike Perham + mperham@gmail.com + IBM + + Emeritus + + -6 + + + + + + + Maven Announcements List + announce@maven.apache.org + announce-subscribe@maven.apache.org + announce-unsubscribe@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-announce/ + + http://www.mail-archive.com/announce@maven.apache.org + http://www.nabble.com/Maven-Announcements-f15617.html + http://markmail.org/list/org.apache.maven.announce + + + + Maven Notifications List + notifications-subscribe@maven.apache.org + notifications-unsubscribe@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-notifications/ + + http://www.mail-archive.com/notifications@maven.apache.org + http://www.nabble.com/Maven---Notifications-f15574.html + http://markmail.org/list/org.apache.maven.notifications + + + + + + scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/maven-parent-16 + scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/maven-parent-16 + http://svn.apache.org/viewvc/maven/pom/tags/maven-parent-16 + + + Hudson + http://grid.sonatype.org/ci + + + mail + +
notifications@maven.apache.org
+
+
+
+
+ + + apache.website + scp://people.apache.org/www/maven.apache.org + + + + + + quality-checks + + + quality-checks + true + + + + + + + + org.apache.maven.plugins + maven-pmd-plugin + 2.4 + + + ${project.build.directory}/generated-sources/modello + ${project.build.directory}/generated-sources/plugin + + + + + cpd-check + verify + + cpd-check + + + + + + + + + reporting + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.2 + + + clean + + clean + + + + + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.1.2 + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.4.3 + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.3 + + config/maven_checks.xml + config/maven-header.txt + + + + org.apache.maven.plugins + maven-pmd-plugin + 2.4 + + + http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pmd-plugin/src/main/resources/rulesets/maven.xml + + + ${project.build.directory}/generated-sources/modello + ${project.build.directory}/generated-sources/plugin + + + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.2 + + + org.codehaus.mojo + taglist-maven-plugin + 2.4 + + + org.apache.maven.plugins + maven-jxr-plugin + 2.1 + + ${project.build.sourceEncoding} + + + + org.apache.maven.plugins + maven-javadoc-plugin + + 2.5 + + ${project.build.sourceEncoding} + + http://java.sun.com/j2se/1.4.2/docs/api + http://java.sun.com/j2ee/1.4/docs/api + http://java.sun.com/j2se/1.5.0/docs/api + http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/ + http://commons.apache.org/dbcp/apidocs/ + http://commons.apache.org/fileupload/apidocs/ + http://commons.apache.org/httpclient/apidocs/ + http://commons.apache.org/logging/apidocs/ + http://commons.apache.org/pool/apidocs/ + http://junit.sourceforge.net/javadoc/ + http://logging.apache.org/log4j/1.2/apidocs/ + http://jakarta.apache.org/regexp/apidocs/ + http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/ + http://plexus.codehaus.org/plexus-utils/apidocs/ + http://plexus.codehaus.org/plexus-classworlds/apidocs/ + http://plexus.codehaus.org/plexus-containers/plexus-container-default/apidocs/ + + + + + + javadoc + test-javadoc + + + + + + + + + +
\ No newline at end of file diff --git a/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/shared/maven-shared-components/15/maven-shared-components-15.pom b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/shared/maven-shared-components/15/maven-shared-components-15.pom new file mode 100644 index 000000000..c90341e8c --- /dev/null +++ b/archiva-modules/metadata/test-repository/src/main/resources/org/apache/maven/shared/maven-shared-components/15/maven-shared-components-15.pom @@ -0,0 +1,232 @@ + + + + + + 4.0.0 + + + org.apache.maven + maven-parent + 16 + ../pom/maven/pom.xml + + + org.apache.maven.shared + maven-shared-components + 15 + pom + + Maven Shared Components + Maven shared components + http://maven.apache.org/shared/ + + + + Maven User List + users-subscribe@maven.apache.org + users-unsubscribe@maven.apache.org + users@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-users + + http://www.mail-archive.com/users@maven.apache.org/ + http://www.nabble.com/Maven---Users-f178.html + http://maven.users.markmail.org/ + + + + Maven Developer List + dev-subscribe@maven.apache.org + dev-unsubscribe@maven.apache.org + dev@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-dev + + http://www.mail-archive.com/dev@maven.apache.org/ + http://www.nabble.com/Maven-Developers-f179.html + http://maven.dev.markmail.org/ + + + + Maven Issues List + issues-subscribe@maven.apache.org + issues-unsubscribe@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-issues/ + + http://www.mail-archive.com/issues@maven.apache.org + http://www.nabble.com/Maven---Issues-f15573.html + http://maven.issues.markmail.org/ + + + + Maven Commits List + commits-subscribe@maven.apache.org + commits-unsubscribe@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-dev + + http://www.mail-archive.com/commits@maven.apache.org + http://www.nabble.com/Maven---Commits-f15575.html + http://maven.commits.markmail.org/ + + + + + Maven Announcements List + announce@maven.apache.org + announce-subscribe@maven.apache.org + announce-unsubscribe@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-announce/ + + http://www.mail-archive.com/announce@maven.apache.org + http://www.nabble.com/Maven-Announcements-f15617.html + http://maven.announce.markmail.org/ + + + + Maven Notifications List + notifications-subscribe@maven.apache.org + notifications-unsubscribe@maven.apache.org + http://mail-archives.apache.org/mod_mbox/maven-notifications/ + + http://www.mail-archive.com/notifications@maven.apache.org + http://www.nabble.com/Maven---Notifications-f15574.html + http://maven.notifications.markmail.org/ + + + + + + file-management + maven-ant + maven-archiver + maven-common-artifact-filters + maven-dependency-analyzer + maven-dependency-tree + maven-downloader + maven-doxia-tools + maven-filtering + maven-invoker + maven-model-converter + maven-osgi + maven-reporting-impl + maven-repository-builder + maven-runtime + + maven-shared-io + maven-shared-jar + maven-shared-monitor + maven-verifier + + + + scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-components-15 + scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-components-15 + http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-components-15 + + + jira + http://jira.codehaus.org/browse/MSHARED + + + + apache.website + scp://people.apache.org/www/maven.apache.org/shared/ + + + + + + + + maven-release-plugin + + https://svn.apache.org/repos/asf/maven/shared/tags + + + + maven-site-plugin + + scp://people.apache.org/www/maven.apache.org/shared/${project.artifactId}-${project.version} + + + + + + + + + reporting + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.5 + + + + org.codehaus.plexus + plexus-javadoc + 1.0 + + + + + + + + + jre-1.5+ + + !1.4 + + + maven-artifact-resolver + + + + parent-release + + + + maven-release-plugin + + -N -Papache-release + + + + maven-assembly-plugin + + + source-release-assembly + + + src + + + + + + + + + + \ No newline at end of file