You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mm...@apache.org on 2017/11/23 03:58:07 UTC
[03/50] [abbrv] maven-resolver git commit: Moved demo.jar out of
project root into src/main/data
Moved demo.jar out of project root into src/main/data
Project: http://git-wip-us.apache.org/repos/asf/maven-resolver/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-resolver/commit/0e2353ee
Tree: http://git-wip-us.apache.org/repos/asf/maven-resolver/tree/0e2353ee
Diff: http://git-wip-us.apache.org/repos/asf/maven-resolver/diff/0e2353ee
Branch: refs/heads/master
Commit: 0e2353ee43429a00850552b2594f8e7fc767df13
Parents: 28e37e5
Author: Benjamin Bentmann <be...@sonatype.com>
Authored: Sat Nov 3 19:04:02 2012 +0100
Committer: Benjamin Bentmann <be...@sonatype.com>
Committed: Sat Nov 3 19:04:02 2012 +0100
----------------------------------------------------------------------
aether-demo-snippets/demo.jar | Bin 345 -> 0 bytes
aether-demo-snippets/src/main/data/demo.jar | Bin 0 -> 345 bytes
.../org/eclipse/aether/examples/DeployArtifacts.java | 2 +-
.../eclipse/aether/examples/InstallArtifacts.java | 2 +-
4 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/0e2353ee/aether-demo-snippets/demo.jar
----------------------------------------------------------------------
diff --git a/aether-demo-snippets/demo.jar b/aether-demo-snippets/demo.jar
deleted file mode 100644
index 5fcb2f7..0000000
Binary files a/aether-demo-snippets/demo.jar and /dev/null differ
http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/0e2353ee/aether-demo-snippets/src/main/data/demo.jar
----------------------------------------------------------------------
diff --git a/aether-demo-snippets/src/main/data/demo.jar b/aether-demo-snippets/src/main/data/demo.jar
new file mode 100644
index 0000000..5fcb2f7
Binary files /dev/null and b/aether-demo-snippets/src/main/data/demo.jar differ
http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/0e2353ee/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/DeployArtifacts.java
----------------------------------------------------------------------
diff --git a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/DeployArtifacts.java b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/DeployArtifacts.java
index b8757bb..6d8732b 100644
--- a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/DeployArtifacts.java
+++ b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/DeployArtifacts.java
@@ -38,7 +38,7 @@ public class DeployArtifacts
RepositorySystemSession session = Booter.newRepositorySystemSession( system );
Artifact jarArtifact = new DefaultArtifact( "test", "org.eclipse.aether.examples", "", "jar", "0.1-SNAPSHOT" );
- jarArtifact = jarArtifact.setFile( new File( "demo.jar" ) );
+ jarArtifact = jarArtifact.setFile( new File( "src/main/data/demo.jar" ) );
Artifact pomArtifact = new SubArtifact( jarArtifact, "", "pom" );
pomArtifact = pomArtifact.setFile( new File( "pom.xml" ) );
http://git-wip-us.apache.org/repos/asf/maven-resolver/blob/0e2353ee/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/InstallArtifacts.java
----------------------------------------------------------------------
diff --git a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/InstallArtifacts.java b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/InstallArtifacts.java
index f5ba32a..0e0ff0f 100644
--- a/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/InstallArtifacts.java
+++ b/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/InstallArtifacts.java
@@ -37,7 +37,7 @@ public class InstallArtifacts
RepositorySystemSession session = Booter.newRepositorySystemSession( system );
Artifact jarArtifact = new DefaultArtifact( "test", "org.eclipse.aether.examples", "", "jar", "0.1-SNAPSHOT" );
- jarArtifact = jarArtifact.setFile( new File( "demo.jar" ) );
+ jarArtifact = jarArtifact.setFile( new File( "src/main/data/demo.jar" ) );
Artifact pomArtifact = new SubArtifact( jarArtifact, "", "pom" );
pomArtifact = pomArtifact.setFile( new File( "pom.xml" ) );