directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oer...@apache.org
Subject svn commit: r519226 - in /directory/sandbox/oersoy/ArtifactIdToResourceMapCreator: ./ .settings/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/maven/ src/main/java/org/apache/maven/emf/ src/main/jav...
Date Sat, 17 Mar 2007 03:13:10 GMT
Author: oersoy
Date: Fri Mar 16 20:13:09 2007
New Revision: 519226

URL: http://svn.apache.org/viewvc?view=rev&rev=519226
Log: (empty)

Added:
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.classpath
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.project
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.settings/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.settings/org.eclipse.jdt.core.prefs
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/pom.xml
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/util/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.java
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/ArtifactIdToResourceMapCreator-1.0-SNAPSHOT.jar
  (with props)
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/emf/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/emf/util/
    directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.class
  (with props)

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.classpath?view=auto&rev=519226
==============================================================================
--- directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.classpath (added)
+++ directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.classpath Fri Mar 16 20:13:09
2007
@@ -0,0 +1,57 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/java"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/util/OptionalNamespaceExtendedMetaData/1.0-SNAPSHOT/OptionalNamespaceExtendedMetaData-1.0-SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.common/2.3.0/emf.common-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2ecore.editor/2.3.0/emf.mapping.ecore2ecore.editor-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen.ecore.ui/2.3.0/emf.codegen.ecore.ui-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.xmi/2.3.0/emf.ecore.xmi-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer.java/2.3.0/emf.importer.java-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen.ecore/2.3.0/emf.codegen.ecore-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer/2.3.0/emf.importer-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.change/2.3.0/emf.ecore.change-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore/2.3.0/emf.ecore-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.edit/2.3.0/emf.ecore.edit-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ant/2.3.0/emf.ant-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd/2.3.0/emf.xsd-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.commonj.sdo/2.3.0/emf.commonj.sdo-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-profile/2.0/maven-profile-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.ecore.importer/2.3.0/emf.xsd.ecore.importer-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2xml/2.3.0/emf.mapping.ecore2xml-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen/2.3.0/emf.codegen-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/jpackage/maven/pom.model/1.0-SNAPSHOT/pom.model-1.0-SNAPSHOT.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer.ecore/2.3.0/emf.importer.ecore-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2ecore/2.3.0/emf.mapping.ecore2ecore-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.sdo.editor/2.3.0/emf.ecore.sdo.editor-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.edit.ui/2.3.0/emf.edit.ui-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.edit/2.3.0/emf.edit-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.sdo.edit/2.3.0/emf.ecore.sdo.edit-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.xsd2ecore.editor/2.3.0/emf.mapping.xsd2ecore.editor-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.change.edit/2.3.0/emf.ecore.change.edit-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping/2.3.0/emf.mapping-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ecore2xml.ui/2.3.0/emf.mapping.ecore2xml.ui-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.edit/2.3.0/emf.xsd.edit-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/2.2.0/emf-2.2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.ecore.exporter/2.3.0/emf.xsd.ecore.exporter-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.codegen.ui/2.3.0/emf.codegen.ui-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.xsd.editor/2.3.0/emf.xsd.editor-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-project/2.0/maven-project-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.sdo/2.3.0/emf.ecore.sdo-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.ui/2.3.0/emf.mapping.ui-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.exporter/2.3.0/emf.exporter-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.mapping.xsd2ecore/2.3.0/emf.mapping.xsd2ecore-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.importer.rose/2.3.0/emf.importer.rose-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.ecore.editor/2.3.0/emf.ecore.editor-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.common.ui/2.3.0/emf.common.ui-2.3.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf.converter/2.3.0/emf.converter-2.3.0.jar"/>
+</classpath>
\ No newline at end of file

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.project?view=auto&rev=519226
==============================================================================
--- directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.project (added)
+++ directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.project Fri Mar 16 20:13:09 2007
@@ -0,0 +1,14 @@
+<projectDescription>
+  <name>ArtifactIdToResourceMapCreator</name>
+  <comment/>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=519226
==============================================================================
--- directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.settings/org.eclipse.jdt.core.prefs
(added)
+++ directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/.settings/org.eclipse.jdt.core.prefs
Fri Mar 16 20:13:09 2007
@@ -0,0 +1,5 @@
+#Sat Jan 06 16:04:40 CST 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/pom.xml?view=auto&rev=519226
==============================================================================
--- directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/pom.xml (added)
+++ directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/pom.xml Fri Mar 16 20:13:09 2007
@@ -0,0 +1,285 @@
+<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.emf.model.util</groupId>
+	<artifactId>ArtifactIdToResourceMapCreator</artifactId>
+	<version>1.0-SNAPSHOT</version>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	<dependencies>
+		<dependency>
+			<groupId>org.jpackage.maven</groupId>
+			<artifactId>pom.model</artifactId>
+			<version>1.0-SNAPSHOT</version>
+			<scope>compile</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.maven</groupId>
+			<artifactId>maven-artifact</artifactId>
+			<version>2.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.maven</groupId>
+			<artifactId>maven-project</artifactId>
+			<version>2.0</version>
+			<scope>compile</scope>
+		</dependency>
+
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>3.8.1</version>
+			<scope>test</scope>
+		</dependency>
+
+
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf</artifactId>
+			<version>2.2.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ant</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.codegen</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.codegen.ecore</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.codegen.ecore.ui</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.codegen.ui</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.common</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.commonj.sdo</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.common.ui</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.converter</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.change</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.change.edit</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.edit</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.editor</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.sdo</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.sdo.edit</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.sdo.editor</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.ecore.xmi</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.edit</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.edit.ui</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.exporter</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.importer</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.importer.ecore</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.importer.java</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.importer.rose</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.ecore2ecore</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.ecore2ecore.editor</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.ecore2xml</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.ecore2xml.ui</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.ui</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.xsd2ecore</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.mapping.xsd2ecore.editor</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.xsd</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.xsd.ecore.exporter</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.xsd.ecore.importer</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.xsd.edit</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse</groupId>
+			<artifactId>emf.xsd.editor</artifactId>
+			<version>2.3.0</version>
+			<scope>compile</scope>
+		</dependency>
+	</dependencies>
+
+</project>

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.java?view=auto&rev=519226
==============================================================================
--- directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.java
(added)
+++ directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/src/main/java/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.java
Fri Mar 16 20:13:09 2007
@@ -0,0 +1,80 @@
+package org.apache.maven.emf.util;
+
+import java.io.File;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.factory.ArtifactFactory;
+import org.apache.maven.artifact.repository.ArtifactRepository;
+import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
+import org.apache.maven.artifact.resolver.ArtifactResolutionException;
+import org.apache.maven.artifact.resolver.ArtifactResolver;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.jpackage.maven.model.Model;
+import org.jpackage.maven.model.Parent;
+
+public class ArtifactIdToResourceMapCreator {
+	
+	public static Map loadAncestors(
+			ResourceSet resourceSet, 
+			Resource resource, 
+			Map artifactIdToResourceMap,
+			ArtifactFactory artifactFactory,
+			ArtifactResolver artifactResolver,
+			ArtifactRepository artifactRepository,
+			List remoteRepositories) {
+		
+		Model model 	= (Model) resource.getEObject("//@project");
+		Parent parent = model.getParent();
+		
+		if (parent != null)
+		{
+			String artifactId = parent.getArtifactId();
+			String groupId = parent.getGroupId();
+			String version = parent.getVersion();
+
+			Artifact pomArtifact = artifactFactory.createProjectArtifact(
+					groupId, 
+					artifactId, 
+					version);
+			try {
+				artifactResolver.resolve( pomArtifact, remoteRepositories, artifactRepository );
+			} catch (ArtifactResolutionException e) {
+				// TODO Auto-generated catch block
+				e.printStackTrace();
+			} catch (ArtifactNotFoundException e) {
+				// TODO Auto-generated catch block
+				e.printStackTrace();
+			}
+			
+			File pomFile	= pomArtifact.getFile();
+			resource		= resourceSet.getResource(URI.createFileURI(pomFile.getAbsolutePath()), true);

+
+			artifactIdToResourceMap.put(artifactId, resource);
+			
+			model = (Model) resource.getEObject("//@project");
+			parent = model.getParent();
+
+			if (parent != null)
+			{
+				loadAncestors(
+						resourceSet, 
+						resource, 
+						artifactIdToResourceMap,
+						artifactFactory,
+						artifactResolver,
+						artifactRepository,
+						remoteRepositories);
+			}
+			else 
+			{
+				return artifactIdToResourceMap;
+			}
+		}
+		return artifactIdToResourceMap;
+		
+	}
+}

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/ArtifactIdToResourceMapCreator-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/ArtifactIdToResourceMapCreator-1.0-SNAPSHOT.jar?view=auto&rev=519226
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/ArtifactIdToResourceMapCreator-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.class?view=auto&rev=519226
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/ArtifactIdToResourceMapCreator/target/classes/org/apache/maven/emf/util/ArtifactIdToResourceMapCreator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message