Apache Maven core
Go to file
John Dennis Casey da3aa1090f Resolving: MNG-666
If a v3 POM is encountered (or any POM where modelVersion is != '4.0.0'), an InvalidModelException is thrown.
This exception extends ProjectBuildingException, to enable piggybacking on the same catch() clause.
When the MavenMetadataSource catches InvalidModelException, it returns a ResolutionGroup with the pomArtifact and empty collections for the pom dependency artifacts and the repository list with which to resolve the empty artifacts set.

Also, added it0059 to test builds where a dependency POM is a v3 pom (missing <modelVersion/>).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239981 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 03:08:10 +00:00
benchmark PR: MNG-596 2005-07-21 13:58:42 +00:00
examples - Percentage is a string with a percent symbol. 2005-07-30 13:25:39 +00:00
maven-1.x-integration PR: MNG-596 2005-07-21 13:58:42 +00:00
maven-archetype default to group ID for package 2005-08-21 05:41:30 +00:00
maven-archiver PR: MNG-742 2005-08-23 07:31:04 +00:00
maven-artifact PR: MNG-634 2005-08-24 15:06:54 +00:00
maven-artifact-ant PR: MNG-634 2005-08-24 15:06:54 +00:00
maven-artifact-manager PR: MNG-634 2005-08-24 15:06:54 +00:00
maven-artifact-test o Put all m2 core dependencies (plexus-container-default and plexus-utils) 2005-08-02 21:34:54 +00:00
maven-core avoid NPE if there are no parameters in the mojo 2005-08-21 07:27:29 +00:00
maven-core-it Resolving: MNG-666 2005-08-25 03:08:10 +00:00
maven-core-it-plugin Resolving: MNG-674 2005-08-11 04:38:46 +00:00
maven-core-it-support PR: MNG-598 2005-07-26 09:04:32 +00:00
maven-core-it-verifier print summary at the end 2005-08-23 05:22:30 +00:00
maven-mboot2 Working on: MNG-483 2005-08-16 16:31:02 +00:00
maven-meeper no distributions to exclude in maven2 2005-08-25 02:42:25 +00:00
maven-model Bump version to 3.0.1-SNAPSHOT for fixing MAVEN-1669 (support for new ejb-client type) 2005-08-23 14:36:52 +00:00
maven-monitor PR: MNG-596 2005-07-21 13:58:42 +00:00
maven-plugin-api PR: MNG-596 2005-07-21 13:58:42 +00:00
maven-plugin-descriptor PR: MNG-758 2005-08-23 12:28:54 +00:00
maven-plugin-mapping o Put all m2 core dependencies (plexus-container-default and plexus-utils) 2005-08-02 21:34:54 +00:00
maven-plugin-registry o Put all m2 core dependencies (plexus-container-default and plexus-utils) 2005-08-02 21:34:54 +00:00
maven-plugin-tools PR: MNG-758 2005-08-23 12:28:54 +00:00
maven-plugins o Fix MNG-781 (skip null configurations). 2005-08-24 23:26:32 +00:00
maven-profile Working on: MNG-483 2005-08-16 16:31:02 +00:00
maven-project Resolving: MNG-666 2005-08-25 03:08:10 +00:00
maven-reporting Allow the creation of external reports. html files are now generated only by external reports and not by doxia mojo 2005-07-27 14:07:04 +00:00
maven-repository-tools PR: MNG-596 2005-07-21 13:58:42 +00:00
maven-script PR: MNG-758 2005-08-23 12:28:54 +00:00
maven-settings Resolving: MNG-557 2005-08-03 19:26:20 +00:00
maven-site fix bad link 2005-08-25 01:49:19 +00:00
sandbox MNG-150: Create a rar mojo. Applied on behalf of snicoll. 2005-08-14 13:19:12 +00:00
README.txt o applying patch provided with: http://jira.codehaus.org/browse/MNG-499 2005-07-06 00:24:22 +00:00
ci.sh only mail about skipped run on checkout attempt to allow overlap 2005-07-28 01:17:38 +00:00
m2-bootstrap-all.bat fix in case of a non-existant local repo 2005-07-26 15:11:21 +00:00
m2-bootstrap-all.sh fix in case of a non-existant local repo 2005-07-26 15:11:21 +00:00
plugin-inheritance-and-profiles-notes-jdcasey-20050526.txt adding my notes for implementing plugin inheritance and build profiles. delete if not needed. 2005-05-27 03:29:54 +00:00
pom.xml fix scm url 2005-08-17 11:26:07 +00:00
upgrading-dependencies.apt some notes on changing dependencies 2004-10-23 13:28:06 +00:00

README.txt

-------------------------------------------------------------------------------
Bootstrapping Maven
-------------------------------------------------------------------------------

Set the environment variable M2_HOME pointing to the dir where you want Maven2 installed.

NOTE: presently, the directory {M2_HOME}/bin must be in your path:
set PATH=%PATH%;%M2_HOME%\bin
or
export PATH=$PATH:$M2_HOME/bin

You can set the parameters passed to the Java VM when running Maven2 bootstrap,
setting the environment variable MAVEN_OPTS, e.g.
e.g. to run in offline mode, set MAVEN_OPTS=-o

Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix)

NOTE: You must run these instructions from this directory!

If you are behind a firewall, you will need to let the bootstrap process know.
To do this, create a file at ~/.m2/settings.xml and paste in the XML below,
substituting your settings for those provided. You can safely skip the
username, password and nonProxyHost elements if they are not relevant to you.

<settings>
  <proxies>
    <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.somewhere.com</host>
      <port>8080</port>
      <username>proxyuser</username>
      <password>somepassword</password>
      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
    </proxy>
  </proxies>
</settings>