[ 
https://issues.apache.org/jira/browse/BUILDR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603250#action_12603250
 ] 

Alex Boisvert commented on BUILDR-63:
-------------------------------------

Ok, I was able to reproduce your issue after adding these two repositories:

repositories.remote << 'http://repo1.maven.org/maven2'
repositories.remote << 'http://download.java.net/maven/2'

but then I remembered that the Eclipse task will only generate project files 
for Java and Scala projects at this time.   Here's a quote from the eclipse.rb 
source:

      # Only for projects that we support
      supported_languages = [:java, :scala]
      supported_packaging = %w(jar war rar mar aar)
      if (supported_languages.include? project.compile.language || 
          project.packages.detect { |pkg| 
supported_packaging.include?(pkg.type.to_s) })
        eclipse.enhance [ file(project.path_to(".classpath")), 
file(project.path_to(".project")) ]

so if you have any .java file under src/main/java or any .scala file under 
src/main/scala, it should work as expected.   Alternatively you can add the 
following to Buildfile to skip auto-detection:

  compile.using :javac
or
  compile.using :scalac



> Buildr Attempts to Download JAR for POM-Only Project
> ----------------------------------------------------
>
>                 Key: BUILDR-63
>                 URL: https://issues.apache.org/jira/browse/BUILDR-63
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3
>            Reporter: Daniel Spiewak
>            Priority: Blocker
>         Attachments: buildfile
>
>
> This is basically BUILDR-9, except I couldn't just reopen the bug.  This is 
> 100% reproducible for me, both with the attached buildfile and with other 
> such transitive dependencies that I have tried.  I'm marking this as a 
> blocker because transitive dependencies really can't be considered stable 
> until this is fixed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to