Fixed pathname to demo.jar used during install/deploy examples
Project: http://git-wip-us.apache.org/repos/asf/maven-aether/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-aether/commit/5fda1c97 Tree: http://git-wip-us.apache.org/repos/asf/maven-aether/tree/5fda1c97 Diff: http://git-wip-us.apache.org/repos/asf/maven-aether/diff/5fda1c97 Branch: refs/heads/demo Commit: 5fda1c97e9497138785049de73510ad5c45faa55 Parents: 1e1e9de Author: Benjamin Bentmann <[email protected]> Authored: Sun Nov 13 15:22:02 2011 +0100 Committer: Benjamin Bentmann <[email protected]> Committed: Sun Nov 13 15:22:02 2011 +0100 ---------------------------------------------------------------------- .../src/main/java/org/eclipse/aether/examples/DeployArtifacts.java | 2 +- .../main/java/org/eclipse/aether/examples/InstallArtifacts.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-aether/blob/5fda1c97/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 916c3bf..c905415 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 @@ -39,7 +39,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( "org.eclipse.aether.examples.jar" ) ); + jarArtifact = jarArtifact.setFile( new File( "demo.jar" ) ); Artifact pomArtifact = new SubArtifact( jarArtifact, "", "pom" ); pomArtifact = pomArtifact.setFile( new File( "pom.xml" ) ); http://git-wip-us.apache.org/repos/asf/maven-aether/blob/5fda1c97/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 f0ecf11..5871b2a 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 @@ -38,7 +38,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( "org.eclipse.aether.examples.jar" ) ); + jarArtifact = jarArtifact.setFile( new File( "demo.jar" ) ); Artifact pomArtifact = new SubArtifact( jarArtifact, "", "pom" ); pomArtifact = pomArtifact.setFile( new File( "pom.xml" ) );
