maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r573090 [5/6] - in /maven/components/trunk/maven-embedder/src/test/projects/complex-project: ./ maven-build-context/ maven-build-context/src/ maven-build-context/src/main/ maven-build-context/src/main/java/ maven-build-context/src/main/java...
Date Wed, 05 Sep 2007 22:52:39 GMT
Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+version=2.1-SNAPSHOT
\ No newline at end of file

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/maven/org.apache.maven/maven-core/pom.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/plexus/components.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/plexus/components.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/plexus/components.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,112 @@
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.lifecycle.binding.LegacyLifecycleParsingTestComponent</role>
+      <role-hint>default</role-hint>
+      <implementation>org.apache.maven.lifecycle.binding.LegacyLifecycleParsingTestComponent</implementation>
+      <configuration>
+        <legacyLifecycles>
+          <legacyLifecycle>
+            <id>default</id>
+            <phases>
+              <phase>validate</phase>
+              <phase>initialize</phase>
+              <phase>generate-sources</phase>
+              <phase>process-sources</phase>
+              <phase>generate-resources</phase>
+              <phase>process-resources</phase>
+              <phase>compile</phase>
+              <phase>process-classes</phase>
+              <phase>generate-test-sources</phase>
+              <phase>process-test-sources</phase>
+              <phase>generate-test-resources</phase>
+              <phase>process-test-resources</phase>
+              <phase>test-compile</phase>
+              <phase>process-test-classes</phase>
+              <phase>test</phase>
+              <phase>prepare-package</phase>
+              <phase>package</phase>
+              <phase>pre-integration-test</phase>
+              <phase>integration-test</phase>
+              <phase>post-integration-test</phase>
+              <phase>verify</phase>
+              <phase>install</phase>
+              <phase>deploy</phase>
+            </phases>
+          </legacyLifecycle>
+          <legacyLifecycle>
+            <id>clean</id>
+            <phases>
+              <phase>pre-clean</phase>
+              <phase>clean</phase>
+              <phase>post-clean</phase>
+            </phases>
+            <default-phases>
+              <clean>org.apache.maven.plugins:maven-clean-plugin:clean</clean>
+            </default-phases>
+          </legacyLifecycle>
+          <legacyLifecycle>
+            <id>site</id>
+            <phases>
+              <phase>pre-site</phase>
+              <phase>site</phase>
+              <phase>post-site</phase>
+              <phase>site-deploy</phase>
+            </phases>
+            <default-phases>
+              <site>org.apache.maven.plugins:maven-site-plugin:site</site>
+              <site-deploy>org.apache.maven.plugins:maven-site-plugin:deploy</site-deploy>
+            </default-phases>
+          </legacyLifecycle>
+        </legacyLifecycles>
+      </configuration>
+    </component>
+    <component>
+      <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+      <role-hint>test-mapping</role-hint>
+      <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+      <configuration>
+        <lifecycles>
+          <lifecycle>
+            <id>default</id>
+            <!-- START SNIPPET: pom-lifecycle -->
+            <phases>
+              <package>org.apache.maven.plugins:maven-site-plugin:attach-descriptor</package>
+              <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+              <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+            </phases>
+            <optional-mojos>
+              <optional-mojo>org.apache.maven.plugins:maven-site-plugin:attach-descriptor</optional-mojo>
+            </optional-mojos>
+            <!-- END SNIPPET: pom-lifecycle -->
+          </lifecycle>
+        </lifecycles>
+      </configuration>
+    </component>
+    <component>
+      <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+      <role-hint>test-mapping2</role-hint>
+      <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+      <configuration>
+        <lifecycles>
+          <lifecycle>
+            <id>default</id>
+            <!-- START SNIPPET: pom-lifecycle -->
+            <phases>
+              <package>
+                org.apache.maven.plugins:maven-site-plugin:attach-descriptor,
+                org.apache.maven.plugins:maven-clean-plugin:clean
+              </package>
+              <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+              <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+            </phases>
+            <optional-mojos>
+              <optional-mojo>org.apache.maven.plugins:maven-site-plugin:attach-descriptor</optional-mojo>
+            </optional-mojos>
+            <!-- END SNIPPET: pom-lifecycle -->
+          </lifecycle>
+        </lifecycles>
+      </configuration>
+    </component>
+  </components>
+</component-set>
\ No newline at end of file

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/lifecycle/plan/DefaultBuildPlannerTest.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/lifecycle/plan/DefaultBuildPlannerTest.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/lifecycle/plan/DefaultBuildPlannerTest.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/lifecycle/plan/DefaultBuildPlannerTest.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,28 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.plugin.loader.PluginLoader</role>
+      <role-hint>default</role-hint>
+      <implementation>org.apache.maven.lifecycle.plan.testutils.TestPluginLoader</implementation>
+    </component>
+  </components>
+</component-set>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/lifecycle/plan/DefaultBuildPlannerTest.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/lifecycle/plan/DefaultBuildPlannerTest.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,53 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.project.MavenProjectBuilder</role>
+      <implementation>org.apache.maven.project.DefaultMavenProjectBuilder</implementation>
+      <requirements>
+        <requirement>
+          <role>org.apache.maven.project.injection.ModelDefaultsInjector</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.project.interpolation.ModelInterpolator</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.project.inheritance.ModelInheritanceAssembler</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.project.validation.ModelValidator</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.project.path.PathTranslator</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
+        </requirement>
+        <requirement>
+          <role>org.apache.maven.artifact.repository.ArtifactRepositoryFactory</role>
+        </requirement>
+      </requirements>
+    </component>
+	</components>
+</component-set>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/pom.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/pom.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/pom.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,48 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<model 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.apache.maven</groupId>
+  <artifactId>maven-core</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven</name>
+  <version>2.0-SNAPSHOT</version>
+  <inceptionYear>2001</inceptionYear>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-model</artifactId>
+      <version>2.0-SNAPSHOT</version>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin</artifactId>
+      <version>2.0-SNAPSHOT</version>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  <scm>
+    <connection>scm-connection</connection>
+  </scm>
+</model>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/bad-project.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/bad-project.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/bad-project.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/bad-project.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,20 @@
+i want to be a <!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+POM!
\ No newline at end of file

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/bad-project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/bad-project.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/build.properties
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/build.properties?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/build.properties (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/build.properties Wed Sep  5 15:52:27 2007
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name = sarel

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/build.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,28 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<model>
+  <groupId>foo</groupId>
+  <artifactId>bar</artifactId>
+  <name>Babar</name>
+  <version>4.5</version>
+  
+  <!-- Build element should be inherited from the super model -->
+
+</model>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-which-inherits-from-super-model.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-with-bogus-parent.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-with-bogus-parent.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-with-bogus-parent.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-with-bogus-parent.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,29 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<model>
+
+  <extend>${basedir}/bogus.xml</extend>
+
+  <parent>
+    <groupId>maven</groupId>
+    <artifactId>bogus</artifactId>
+    <version>1.0-beta-9</version>
+  </parent>
+</model>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-with-bogus-parent.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child-with-bogus-parent.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,33 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<model>
+
+  <extend>project.xml</extend>
+
+  <parent>
+    <groupId>maven</groupId>
+    <artifactId>maven-project-test</artifactId>
+    <version>1.0-beta-9</version>
+  </parent>
+
+  <artifactId>child-artifact</artifactId>
+  <groupId>maven</groupId>
+  <version>1.0-beta-9</version>
+</model>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/child.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/fully-populated-child.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/fully-populated-child.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/fully-populated-child.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/fully-populated-child.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<model>
+  <extend>project.xml</extend>
+  <parent>
+    <groupId>maven</groupId>
+    <artifactId>maven-project-test</artifactId>
+    <version>1.0-beta-9</version>
+  </parent>
+  <modelVersion>3</modelVersion>
+  <groupId>maven</groupId>
+  <artifactId>maven</artifactId>
+  <name>Maven</name>
+  <version>1.0-beta-9</version>
+  <inceptionYear>2001</inceptionYear>
+  <package>org.apache.maven</package>
+  <description>Description</description>
+  <shortDescription>shortDescription</shortDescription>
+  <url>http://maven.apache.org/</url>
+  <issueTrackingUrl>issueTrackingUrl</issueTrackingUrl>
+  <distributionManagement>
+    <repository>
+      <id>childDistributionRepositoryId</id>
+      <name>childDistributionRepositoryName</name>
+      <url>childDistributionRepository</url>
+    </repository>
+    <site>
+      <id>childSiteDistributionId</id>
+      <name>childSiteDistributionName</name>
+      <url>childSiteDistributionUrl</url>
+    </site>
+  </distributionManagement>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://apache.org/</url>
+    <logo>/images/jakarta-logo-blue.gif</logo>
+  </organization>
+
+  <scm>
+    <connection>anon-connection</connection>
+    <developerConnection>developer-connection</developerConnection>
+    <url>repository-url</url>
+  </scm>
+
+  <mailingLists>
+    <mailingList>
+      <name>Maven User List</name>
+      <subscribe>subscribe</subscribe>
+      <unsubscribe>unsubscribe</unsubscribe>
+      <archive>archive</archive>
+    </mailingList>
+  </mailingLists>
+
+  <developers>
+    <developer>
+      <name>Jason van Zyl</name>
+      <id>jvanzyl</id>
+      <email>jason@maven.org</email>
+      <organization>Zenplex</organization>
+      <roles>
+        <role>Founder</role>
+        <role>Release Manager</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <contributors>
+    <contributor>
+      <name>Martin van dem Bemt</name>
+      <email>mvdb@mvdb.com</email>
+    </contributor>
+  </contributors>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>g1</groupId>
+      <artifactId>d1</artifactId>
+      <version>1.0</version>
+      <url>d1-url</url>
+    </dependency>
+
+    <dependency>
+      <groupId>g2</groupId>
+      <artifactId>d2</artifactId>
+      <version>2.0</version>
+      <url>d2-url</url>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <nagEmailAddress>jason@maven.org</nagEmailAddress>
+    <sourceDirectory>/sourceDirectory</sourceDirectory>
+    <unitTestSourceDirectory>/unitTestSourceDirectory</unitTestSourceDirectory>
+    <unitTest>
+      <includes>
+        <include>**/*Test.java</include>
+      </includes>
+      <excludes>
+        <exclude>**/RepositoryTest.java</exclude>
+        <exclude>**/JAXPTest.java</exclude>
+      </excludes>
+      <resources>
+        <resource>
+          <directory>${basedir}/src/test</directory>
+          <includes>
+            <include>**/*.xml</include>
+          </includes>
+        </resource>
+      </resources>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>/src/conf</directory>
+        <includes>
+          <include>*.xsd</include>
+          <include>*.dtd</include>
+          <include>*.mod</include>
+          <include>log4j.properties</include>
+          <include>driver.jelly</include>
+          <include>driver.properties</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>/src/messages</directory>
+        <targetPath>org/apache/maven/messages</targetPath>
+        <includes>
+          <include>messages*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+
+  <reports>
+    <report>maven-jdepend-plugin</report>
+    <report>maven-checkstyle-plugin</report>
+    <report>maven-changelog-plugin</report>
+    <report>maven-file-activity-plugin</report>
+    <report>maven-developer-activity-plugin</report>
+    <report>maven-javadoc-plugin</report>
+    <report>maven-jxr-plugin</report>
+    <report>maven-junit-report-plugin</report>
+    <report>maven-tasklist-plugin</report>
+    <report>maven-jellydoc-plugin</report>
+  </reports>
+
+</model>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/fully-populated-child.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/fully-populated-child.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/project.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/project.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/project.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/project.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<model>
+  <modelVersion>3</modelVersion>
+  <groupId>maven</groupId>
+  <artifactId>maven-project-test</artifactId>
+  <name>Maven</name>
+  <version>1.0-beta-9</version>
+  <inceptionYear>2001</inceptionYear>
+  <package>org.apache.maven</package>
+  <description>Description</description>
+  <shortDescription>shortDescription</shortDescription>
+  <url>http://maven.apache.org/</url>
+  <issueTrackingUrl>issueTrackingUrl</issueTrackingUrl>
+  <distributionManagement>
+    <repository>
+      <id>distributionRepositoryId</id>
+      <name>distributionRepositoryName</name>
+      <url>distributionRepository</url>
+    </repository>
+    <site>
+      <id>siteDistributionId</id>
+      <name>siteDistributionName</name>
+      <url>siteDistributionUrl</url>
+    </site>
+  </distributionManagement>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://apache.org/</url>
+    <logo>/images/jakarta-logo-blue.gif</logo>
+  </organization>
+
+  <scm>
+    <connection>anon-connection</connection>
+    <developerConnection>developer-connection</developerConnection>
+    <url>repository-url</url>
+  </scm>
+
+  <mailingLists>
+    <mailingList>
+      <name>Maven User List</name>
+      <subscribe>subscribe</subscribe>
+      <unsubscribe>unsubscribe</unsubscribe>
+      <archive>archive</archive>
+    </mailingList>
+  </mailingLists>
+
+  <developers>
+    <developer>
+      <name>Jason van Zyl</name>
+      <id>jvanzyl</id>
+      <email>jason@maven.org</email>
+      <organization>Zenplex</organization>
+      <roles>
+        <role>Founder</role>
+        <role>Release Manager</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <contributors>
+    <contributor>
+      <name>Martin van dem Bemt</name>
+      <email>mvdb@mvdb.com</email>
+    </contributor>
+  </contributors>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>g1</groupId>
+      <artifactId>d1</artifactId>
+      <version>1.0</version>
+      <url>d1-url</url>
+    </dependency>
+
+    <dependency>
+      <groupId>g2</groupId>
+      <artifactId>d2</artifactId>
+      <version>2.0</version>
+      <url>d2-url</url>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <nagEmailAddress>jason@maven.org</nagEmailAddress>
+    <sourceDirectory>/sourceDirectory</sourceDirectory>
+    <unitTestSourceDirectory>/unitTestSourceDirectory</unitTestSourceDirectory>
+    <unitTest>
+      <includes>
+        <include>**/*Test.java</include>
+      </includes>
+      <excludes>
+        <exclude>**/RepositoryTest.java</exclude>
+        <exclude>**/JAXPTest.java</exclude>
+      </excludes>
+      <resources>
+        <resource>
+          <directory>${basedir}/src/test</directory>
+          <includes>
+            <include>**/*.xml</include>
+          </includes>
+        </resource>
+      </resources>
+    </unitTest>
+    <resources>
+      <resource>
+        <directory>/src/conf</directory>
+        <includes>
+          <include>*.xsd</include>
+          <include>*.dtd</include>
+          <include>*.mod</include>
+          <include>log4j.properties</include>
+          <include>driver.jelly</include>
+          <include>driver.properties</include>
+        </includes>
+      </resource>
+      <resource>
+        <directory>/src/messages</directory>
+        <targetPath>org/apache/maven/messages</targetPath>
+        <includes>
+          <include>messages*.properties</include>
+        </includes>
+      </resource>
+    </resources>
+  </build>
+
+  <reports>
+    <report>maven-jdepend-plugin</report>
+    <report>maven-checkstyle-plugin</report>
+    <report>maven-changelog-plugin</report>
+    <report>maven-file-activity-plugin</report>
+    <report>maven-developer-activity-plugin</report>
+    <report>maven-javadoc-plugin</report>
+    <report>maven-jxr-plugin</report>
+    <report>maven-junit-report-plugin</report>
+    <report>maven-tasklist-plugin</report>
+    <report>maven-jellydoc-plugin</report>
+  </reports>
+
+</model>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/projects/project.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar?rev=573090&view=auto
==============================================================================
Binary file - no diff available.

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar.md5
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar.md5?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar.md5 (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar.md5 Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+a5c3b5cd0605bb7331d1846cdc14b13b

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/poms/maven-test-b-1.0.pom
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/poms/maven-test-b-1.0.pom?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/poms/maven-test-b-1.0.pom (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/maven-test/poms/maven-test-b-1.0.pom Wed Sep  5 15:52:27 2007
@@ -0,0 +1,21 @@
+<model>
+  <groupId>maven-test</groupId>
+  <artifactId>maven-test-a</artifactId>
+  <packaging>jar</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>maven-test</groupId>
+      <artifactId>maven-test-b</artifactId>
+      <version>1.0</version>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>maven-test</groupId>
+      <artifactId>maven-test-z</artifactId>
+      <version>1.0</version>
+      <type>jar</type>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+</model>
\ No newline at end of file

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+remote
\ No newline at end of file

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar.snapshot-version
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar.snapshot-version?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar.snapshot-version (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-a-1.0-SNAPSHOT.jar.snapshot-version Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+20050101.101010
\ No newline at end of file

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+local
\ No newline at end of file

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar.snapshot-version
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar.snapshot-version?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar.snapshot-version (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-b-1.0-SNAPSHOT.jar.snapshot-version Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+20030101.101010
\ No newline at end of file

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+remote
\ No newline at end of file

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar.snapshot-version
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar.snapshot-version?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar.snapshot-version (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-1/snapshot-test/jars/maven-snapshot-c-1.0-SNAPSHOT.jar.snapshot-version Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+20040101.101010

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-2/maven-test/jars/maven-test-z-1.0.jar
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-2/maven-test/jars/maven-test-z-1.0.jar?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-2/maven-test/jars/maven-test-z-1.0.jar (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-core/src/test/resources/remote-repo-2/maven-test/jars/maven-test-z-1.0.jar Wed Sep  5 15:52:27 2007
@@ -0,0 +1 @@
+foo

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/pom.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/pom.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/pom.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<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">
+  <parent>
+    <artifactId>maven</artifactId>
+    <groupId>org.apache.maven</groupId>
+    <version>2.1-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>maven-embedder</artifactId>
+  <name>Maven Embedder</name>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-core</artifactId>
+      <version>2.1-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>jdom</groupId>
+      <artifactId>jdom</artifactId>
+    </dependency>
+    <!-- CLI -->
+    <dependency>
+      <groupId>commons-cli</groupId>
+      <artifactId>commons-cli</artifactId>
+      <version>1.0</version>
+      <exclusions>
+        <exclusion>
+          <artifactId>commons-lang</artifactId>
+          <groupId>commons-lang</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>commons-logging</artifactId>
+          <groupId>commons-logging</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-http-lightweight</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-ssh</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-ssh-external</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.wagon</groupId>
+      <artifactId>wagon-file</artifactId>
+    </dependency>
+  </dependencies>
+  <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      <url>scp://people.apache.org/www/maven.apache.org/embedder/${project.version}/</url>
+    </site>
+  </distributionManagement>
+  <profiles>
+    <profile>
+      <!--
+       |
+       | This profile is specifically for creating an embedder that can be used for IntelliJ integration. We need to
+       | remove the JDOM JAR because IntelliJ include its own version, and the JTidy JAR includes org.xml.* classes
+       | which causes a loader constraint issues while loading the embedder.
+       |
+       -->
+      <id>idea</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>shade-maven-plugin</artifactId>
+            <groupId>org.codehaus.mojo</groupId>
+            <version>1.0-alpha-12</version>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>shade</goal>
+                </goals>
+                <configuration>
+                  <!-- The IDEA folks don't want to put SNAPSHOT libs in their projects even though they are -->
+                  <finalName>maven-embedder-idea-2.1</finalName>
+                  <createDependencyReducedPom>false</createDependencyReducedPom>
+                  <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
+                  <transformers>
+                    <transformer implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer"/>
+                  </transformers>
+                  <artifactSet>
+                    <excludes>
+                      <exclude>org.codehaus.plexus:plexus-component-api</exclude>
+                      <exclude>classworlds:classworlds</exclude>
+                      <exclude>junit:junit</exclude>
+                      <exclude>jmock:jmock</exclude>
+                      <exclude>xml-apis:xml-apis</exclude>
+                      <!-- So this is required for the IDEA embedder which already has its own copy of JDOM -->
+                      <exclude>jdom:jdom</exclude>
+                      <exclude>jtidy:jtidy</exclude>
+                    </excludes>
+                  </artifactSet>
+                  <relocations>
+                    <relocation>
+                      <pattern>org.codehaus.plexus.util</pattern>
+                      <excludes>
+                        <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
+                        <exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
+                      </excludes>
+                    </relocation>
+                  </relocations>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <!--
+       |
+       | This profile is specifically for creating an embedder that can be used for Eclipse integration. We need to
+       | need a single embedder JAR that looks like an OSGi bundle.
+       |
+       -->
+      <id>tycho</id>
+      <properties>
+        <bundleVersion>2.1.0.v20070901-1427</bundleVersion>
+      </properties>
+      <build>
+        <resources>
+          <resource>
+            <directory>src/main/resources</directory>
+            <filtering>true</filtering>
+          </resource>
+        </resources>
+        <plugins>
+          <plugin>
+            <artifactId>shade-maven-plugin</artifactId>
+            <groupId>org.codehaus.mojo</groupId>
+            <version>1.0-alpha-12</version>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>shade</goal>
+                </goals>
+                <configuration>
+                  <finalName>maven-embedder-tycho-${bundleVersion}</finalName>
+                  <createDependencyReducedPom>false</createDependencyReducedPom>
+                  <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
+                  <transformers>
+                    <transformer implementation="org.codehaus.mojo.shade.resource.ComponentsXmlResourceTransformer"/>
+                  </transformers>
+                  <artifactSet>
+                    <excludes>
+                      <exclude>org.codehaus.plexus:plexus-component-api</exclude>
+                      <exclude>classworlds:classworlds</exclude>
+                      <exclude>junit:junit</exclude>
+                      <exclude>jmock:jmock</exclude>
+                      <exclude>xml-apis:xml-apis</exclude>
+                    </excludes>
+                  </artifactSet>
+                  <relocations>
+                    <relocation>
+                      <pattern>org.codehaus.plexus.util</pattern>
+                      <excludes>
+                        <exclude>org.codehaus.plexus.util.xml.Xpp3Dom</exclude>
+                        <exclude>org.codehaus.plexus.util.xml.pull.*</exclude>
+                      </excludes>
+                    </relocation>
+                  </relocations>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>standard</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <version>2.2-beta-1</version>
+            <executions>
+              <execution>
+                <id>create-distro</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <descriptor>src/main/assembly/bin.xml</descriptor>
+                  <finalName>maven-${pom.version}</finalName>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <!-- Single Test -->
+      <id>st</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <includes>
+                <include>**/MavenEmbedderTest.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/m2.conf
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/m2.conf?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/m2.conf (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/m2.conf Wed Sep  5 15:52:27 2007
@@ -0,0 +1,6 @@
+main is org.apache.maven.cli.MavenCli from plexus.core
+
+set maven.home default ${user.home}/m2
+
+[plexus.core]
+load ${maven.home}/lib/*.jar

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn Wed Sep  5 15:52:27 2007
@@ -0,0 +1,164 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+# ----------------------------------------------------------------------------
+# Maven2 Start Up Batch script
+#
+# Required ENV vars:
+# ------------------
+#   JAVA_HOME - location of a JDK home dir
+#
+# Optional ENV vars
+# -----------------
+#   M2_HOME - location of maven2's installed home dir
+#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
+#     e.g. to debug Maven itself, use
+#       set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+# ----------------------------------------------------------------------------
+
+QUOTED_ARGS=""
+while [ "$1" != "" ] ; do
+
+  QUOTED_ARGS="$QUOTED_ARGS \"$1\""
+  shift
+
+done
+
+if [ -f /etc/mavenrc ] ; then
+  . /etc/mavenrc
+fi
+
+if [ -f "$HOME/.mavenrc" ] ; then
+  . "$HOME/.mavenrc"
+fi
+
+# OS specific support.  $var _must_ be set to either true or false.
+cygwin=false;
+darwin=false;
+mingw=false
+case "`uname`" in
+  CYGWIN*) cygwin=true ;;
+  MINGW*) mingw=true;;
+  Darwin*) darwin=true 
+           if [ -z "$JAVA_VERSION" ] ; then
+             JAVA_VERSION="CurrentJDK"
+           else
+             echo "Using Java version: $JAVA_VERSION"
+           fi
+           if [ -z "$JAVA_HOME" ] ; then
+             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
+           fi
+           ;;
+esac
+
+if [ -z "$JAVA_HOME" ] ; then
+  if [ -r /etc/gentoo-release ] ; then
+    JAVA_HOME=`java-config --jre-home`
+  fi
+fi
+
+if [ -z "$M2_HOME" ] ; then
+  ## resolve links - $0 may be a link to maven's home
+  PRG="$0"
+
+  # need this for relative symlinks
+  while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+      PRG="$link"
+    else
+      PRG="`dirname "$PRG"`/$link"
+    fi
+  done
+
+  saveddir=`pwd`
+
+  M2_HOME=`dirname "$PRG"`/..
+
+  # make it fully qualified
+  M2_HOME=`cd "$M2_HOME" && pwd`
+
+  cd "$saveddir"
+  # echo Using m2 at $M2_HOME
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+  [ -n "$M2_HOME" ] &&
+    M2_HOME=`cygpath --unix "$M2_HOME"`
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$CLASSPATH" ] &&
+    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For Migwn, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+  [ -n "$M2_HOME" ] &&
+    M2_HOME="`(cd "$M2_HOME"; pwd)`"
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+  # TODO classpath?
+fi
+
+if [ -z "$JAVACMD" ] ; then
+  if [ -n "$JAVA_HOME"  ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+      # IBM's JDK on AIX uses strange locations for the executables
+      JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+      JAVACMD="$JAVA_HOME/bin/java"
+    fi
+  else
+    JAVACMD=java
+  fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+  echo "Error: JAVA_HOME is not defined correctly."
+  echo "  We cannot execute $JAVACMD"
+  exit 1
+fi
+
+if [ -z "$JAVA_HOME" ] ; then
+  echo "Warning: JAVA_HOME environment variable is not set."
+fi
+
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  [ -n "$M2_HOME" ] &&
+    M2_HOME=`cygpath --path --windows "$M2_HOME"`
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+  [ -n "$HOME" ] &&
+    HOME=`cygpath --path --windows "$HOME"`
+fi
+
+exec "$JAVACMD" \
+  $MAVEN_OPTS \
+  -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
+  "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
+  "-Dmaven.home=${M2_HOME}"  \
+  ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS
+
+

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn.bat
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn.bat?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn.bat (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn.bat Wed Sep  5 15:52:27 2007
@@ -0,0 +1,158 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements.  See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership.  The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License.  You may obtain a copy of the License at
+@REM
+@REM    http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied.  See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Maven2 Start Up Batch script
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM M2_HOME - location of maven2's installed home dir
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM     e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
+
+@REM Execute a user defined script before this one
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
+
+set ERROR_CODE=0
+
+@REM set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" @setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo.
+echo ERROR: JAVA_HOME not found in your environment.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation
+echo.
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory.
+echo JAVA_HOME = %JAVA_HOME%
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation
+echo.
+goto error
+
+:chkMHome
+if not "%M2_HOME%"=="" goto valMHome
+
+if "%OS%"=="Windows_NT" SET M2_HOME=%~dp0\..
+if not "%M2_HOME%"=="" goto valMHome
+
+echo.
+echo ERROR: M2_HOME not found in your environment.
+echo Please set the M2_HOME variable in your environment to match the
+echo location of the Maven installation
+echo.
+goto error
+
+:valMHome
+if exist "%M2_HOME%\bin\mvn.bat" goto init
+
+echo.
+echo ERROR: M2_HOME is set to an invalid directory.
+echo M2_HOME = %M2_HOME%
+echo Please set the M2_HOME variable in your environment to match the
+echo location of the Maven installation
+echo.
+goto error
+@REM ==== END VALIDATION ====
+
+:init
+@REM Decide how to startup depending on the version of windows
+
+@REM -- Win98ME
+if NOT "%OS%"=="Windows_NT" goto Win9xArg
+
+@REM -- 4NT shell
+if "%eval[2+2]" == "4" goto 4NTArgs
+
+@REM -- Regular WinNT shell
+set MAVEN_CMD_LINE_ARGS=%*
+goto endInit
+
+@REM The 4NT Shell from jp software
+:4NTArgs
+set MAVEN_CMD_LINE_ARGS=%$
+goto endInit
+
+:Win9xArg
+@REM Slurp the command line arguments.  This loop allows for an unlimited number
+@REM of agruments (up to the command line limit, anyway).
+set MAVEN_CMD_LINE_ARGS=
+:Win9xApp
+if %1a==a goto endInit
+set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
+shift
+goto Win9xApp
+
+@REM Reaching here means variables are defined and arguments have been captured
+:endInit
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+
+@REM Start MAVEN2
+for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
+%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" org.codehaus.plexus.classworlds.launcher.Launcher %MAVEN_CMD_LINE_ARGS%
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+if "%OS%"=="Windows_NT" @endlocal
+set ERROR_CODE=1
+
+:end
+@REM set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" goto endNT
+
+@REM For old DOS remove the set variables from ENV - we assume they were not set
+@REM before we started - at least we don't leave any baggage around
+set MAVEN_JAVA_EXE=
+set MAVEN_CMD_LINE_ARGS=
+goto postExec
+
+:endNT
+@endlocal
+
+:postExec
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
+@REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
+
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
+
+exit /B %ERROR_CODE%
+
+

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn.bat
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvn.bat
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr Wed Sep  5 15:52:27 2007
@@ -0,0 +1,24 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+export M2_HOME=$HOME/m2
+export JRUBY_HOME=$HOME/jruby
+export CLASSPATH=$M2_HOME/lib/maven-embedder-2.1-SNAPSHOT-uber.jar
+$JRUBY_HOME/bin/jruby $M2_HOME/bin/mvnr.rb

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr
------------------------------------------------------------------------------
    svn:executable = *

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr.rb
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr.rb?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr.rb (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr.rb Wed Sep  5 15:52:27 2007
@@ -0,0 +1,40 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+require 'java'
+
+class Maven
+  def initialize goals
+    @goals = goals
+  end
+
+  include_class 'java.io.File'
+  include_class 'org.apache.maven.embedder.MavenEmbedder'
+  include_class 'org.apache.maven.embedder.DefaultConfiguration'
+  include_class 'org.apache.maven.execution.DefaultMavenExecutionRequest'
+
+  def run        
+    configuration = DefaultConfiguration.new    
+    maven = MavenEmbedder.new(configuration)    
+    r = DefaultMavenExecutionRequest.new
+    r.setBaseDirectory( File.new( "." ) ) 
+    r.setGoals( @goals )                                                                                                                          
+    result = maven.execute( r );   
+  end
+end
+
+m = Maven.new( ["clean"] ).run

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr.rb
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/bin/mvnr.rb
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/conf/settings.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/conf/settings.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/conf/settings.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/conf/settings.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,241 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!--
+ | This is the configuration file for Maven. It can be specified at two levels:
+ |
+ |  1. User Level. This settings.xml file provides configuration for a single user, 
+ |                 and is normally provided in $HOME/.m2/settings.xml.
+ |
+ |                 NOTE: This location can be overridden with the system property:
+ |
+ |                 -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
+ |
+ |  2. Global Level. This settings.xml file provides configuration for all maven
+ |                 users on a machine (assuming they're all using the same maven
+ |                 installation). It's normally provided in 
+ |                 ${maven.home}/conf/settings.xml.
+ |
+ |                 NOTE: This location can be overridden with the system property:
+ |
+ |                 -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
+ |
+ | The sections in this sample file are intended to give you a running start at
+ | getting the most out of your Maven installation. Where appropriate, the default
+ | values (values used when the setting is not specified) are provided.
+ |
+ |-->
+<settings>
+  <!-- localRepository
+   | The path to the local repository maven will use to store artifacts.
+   |
+   | Default: ~/.m2/repository
+  <localRepository>/path/to/local/repo</localRepository>
+  -->
+
+  <!-- interactiveMode
+   | This will determine whether maven prompts you when it needs input. If set to false,
+   | maven will use a sensible default value, perhaps based on some other setting, for
+   | the parameter in question.
+   |
+   | Default: true
+  <interactiveMode>true</interactiveMode>
+  -->
+
+  <!-- offline
+   | Determines whether maven should attempt to connect to the network when executing a build.
+   | This will have an effect on artifact downloads, artifact deployment, and others.
+   |
+   | Default: false
+  <offline>false</offline>
+  -->
+
+  <!-- proxies
+   | This is a list of proxies which can be used on this machine to connect to the network.
+   | Unless otherwise specified (by system property or command-line switch), the first proxy
+   | specification in this list marked as active will be used.
+   |-->
+  <proxies>
+    <!-- proxy
+     | Specification for one proxy, to be used in connecting to the network.
+     |
+    <proxy>
+      <id>optional</id>
+      <active>true</active>
+      <protocol>http</protocol>
+      <username>proxyuser</username>
+      <password>proxypass</password>
+      <host>proxy.host.net</host>
+      <port>80</port>
+      <nonProxyHosts>local.net,some.host.com</nonProxyHosts>
+    </proxy>
+    -->
+  </proxies>
+
+  <!-- servers
+   | This is a list of authentication profiles, keyed by the server-id used within the system.
+   | Authentication profiles can be used whenever maven must make a connection to a remote server.
+   |-->
+  <servers>
+    <!-- server
+     | Specifies the authentication information to use when connecting to a particular server, identified by
+     | a unique name within the system (referred to by the 'id' attribute below).
+     | 
+     | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are 
+     |       used together.
+     |
+    <server>
+      <id>deploymentRepo</id>
+      <username>repouser</username>
+      <password>repopwd</password>
+    </server>
+    -->
+    
+    <!-- Another sample, using keys to authenticate.
+    <server>
+      <id>siteServer</id>
+      <privateKey>/path/to/private/key</privateKey>
+      <passphrase>optional; leave empty if not used.</passphrase>
+    </server>
+    -->
+  </servers>
+
+  <!-- mirrors
+   | This is a list of mirrors to be used in downloading artifacts from remote repositories.
+   | 
+   | It works like this: a POM may declare a repository to use in resolving certain artifacts.
+   | However, this repository may have problems with heavy traffic at times, so people have mirrored
+   | it to several places.
+   |
+   | That repository definition will have a unique id, so we can create a mirror reference for that
+   | repository, to be used as an alternate download site. The mirror site will be the preferred 
+   | server for that repository.
+   |-->
+  <mirrors>
+    <!-- mirror
+     | Specifies a repository mirror site to use instead of a given repository. The repository that
+     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
+     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
+     |
+    <mirror>
+      <id>mirrorId</id>
+      <mirrorOf>repositoryId</mirrorOf>
+      <name>Human Readable Name for this Mirror.</name>
+      <url>http://my.repository.com/repo/path</url>
+    </mirror>
+     -->
+  </mirrors>
+  
+  <!-- profiles
+   | This is a list of profiles which can be activated in a variety of ways, and which can modify
+   | the build process. Profiles provided in the settings.xml are intended to provide local machine-
+   | specific paths and repository locations which allow the build to work in the local environment.
+   |
+   | For example, if you have an integration testing plugin - like cactus - that needs to know where
+   | your Tomcat instance is installed, you can provide a variable here such that the variable is 
+   | dereferenced during the build process to configure the cactus plugin.
+   |
+   | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
+   | section of this document (settings.xml) - will be discussed later. Another way essentially
+   | relies on the detection of a system property, either matching a particular value for the property,
+   | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a 
+   | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
+   | Finally, the list of active profiles can be specified directly from the command line.
+   |
+   | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
+   |       repositories, plugin repositories, and free-form properties to be used as configuration
+   |       variables for plugins in the POM.
+   |
+   |-->
+  <profiles>
+    <!-- profile
+     | Specifies a set of introductions to the build process, to be activated using one or more of the
+     | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
+     | or the command line, profiles have to have an ID that is unique.
+     |
+     | An encouraged best practice for profile identification is to use a consistent naming convention
+     | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
+     | This will make it more intuitive to understand what the set of introduced profiles is attempting
+     | to accomplish, particularly when you only have a list of profile id's for debug.
+     |
+     | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
+    <profile>
+      <id>jdk-1.4</id>
+
+      <activation>
+        <jdk>1.4</jdk>
+      </activation>
+
+      <repositories>
+        <repository>
+	  <id>jdk14</id>
+	  <name>Repository for JDK 1.4 builds</name>
+	  <url>http://www.myhost.com/maven/jdk14</url>
+	  <layout>default</layout>
+	  <snapshotPolicy>always</snapshotPolicy>
+	</repository>
+      </repositories>
+    </profile>
+    -->
+
+    <!--
+     | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
+     | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
+     | might hypothetically look like:
+     |
+     | ...
+     | <plugin>
+     |   <groupId>org.myco.myplugins</groupId>
+     |   <artifactId>myplugin</artifactId>
+     |   
+     |   <configuration>
+     |     <tomcatLocation>${tomcatPath}</tomcatLocation>
+     |   </configuration>
+     | </plugin>
+     | ...
+     |
+     | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
+     |       anything, you could just leave off the <value/> inside the activation-property.
+     |
+    <profile>
+      <id>env-dev</id>
+
+      <activation>
+        <property>
+	  <name>target-env</name>
+	  <value>dev</value>
+	</property>
+      </activation>
+
+      <properties>
+        <tomcatPath>/path/to/tomcat/instance</tomcatPath>
+      </properties>
+    </profile>
+    -->
+  </profiles>
+
+  <!-- activeProfiles
+   | List of profiles that are active for all builds.
+   |
+  <activeProfiles>
+    <activeProfile>alwaysActiveProfile</activeProfile>
+    <activeProfile>anotherAlwaysActiveProfile</activeProfile>
+  </activeProfiles>
+  -->
+</settings>

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/conf/settings.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/conf/settings.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/examples/simple-project/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/examples/simple-project/pom.xml?rev=573090&view=auto
==============================================================================
--- maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/examples/simple-project/pom.xml (added)
+++ maven/components/trunk/maven-embedder/src/test/projects/complex-project/maven-embedder/src/examples/simple-project/pom.xml Wed Sep  5 15:52:27 2007
@@ -0,0 +1,39 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<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.apache.maven.embedder</groupId>
+  <artifactId>simple-project</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <name>simple-project</name>
+  <url>http://maven.apache.org</url>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <properties>
+    <environment>development</environment>
+  </properties>
+</project>



Mime
View raw message