Author: boisvert
Date: Tue May 29 16:16:39 2012
New Revision: 1343814

URL: http://svn.apache.org/viewvc?rev=1343814&view=rev
Log:
Provide local POMs to allow spec to run without network access.

Modified:
    buildr/trunk/spec/java/pom_spec.rb

Modified: buildr/trunk/spec/java/pom_spec.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/spec/java/pom_spec.rb?rev=1343814&r1=1343813&r2=1343814&view=diff
==============================================================================
--- buildr/trunk/spec/java/pom_spec.rb (original)
+++ buildr/trunk/spec/java/pom_spec.rb Tue May 29 16:16:39 2012
@@ -59,6 +59,20 @@ XML
   </dependencies>
 </project>
 XML
+
+    write artifact("javax.mail:mail:pom:1.0").pom.to_s, <<-XML
+<project>
+  <artifactId>mail</artifactId>
+  <groupId>javax.mail</groupId>
+</project>
+XML
+
+    write artifact("org.example:foo:pom:2.0").pom.to_s, <<-XML
+<project>
+  <artifactId>foo</artifactId>
+  <groupId>org.example</groupId>
+</project>
+XML
   end
 
   it 'should respect exclusions when computing transitive dependencies' do


Reply via email to