You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/10/20 20:21:44 UTC

[jira] Created: (BUILDR-179) buildr tries to download pom files when generating a buildfile from pom.xml

buildr tries to download pom files when generating a buildfile from pom.xml
---------------------------------------------------------------------------

                 Key: BUILDR-179
                 URL: https://issues.apache.org/jira/browse/BUILDR-179
             Project: Buildr
          Issue Type: Improvement
          Components: Dependency management
    Affects Versions: 1.3.2
            Reporter: Ittay Dror


The download is to get transitive dependencies however it means that if for some reason the download fails (out of date pom.xml, network issues, repositories settings), then buildfile is not created. 

what if instead of generating a compile.with #{dependencies}, it will generate compile.with transitive(#{dependencies})? then the download and resolving will be done when the buildfile is used instead of when generated.

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


[jira] Commented: (BUILDR-179) buildr tries to download pom files when generating a buildfile from pom.xml

Posted by "Ittay Dror (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641822#action_12641822 ] 

Ittay Dror commented on BUILDR-179:
-----------------------------------

> We do recommend that you explicitly specify as many dependencies as possible (see also examples in the documentation), the transitive 

I don't see this recommendation on the site (or the philosophy behind it). I think it should be highlighted that this is the philosophy, otherwise, new comers will discover it "the hard way" (e.g., converting a pom with a few dependencies and getting a buildfile with many)

> method is considered experimental, and it's always a good idea to make sure the generated buildfile works before modifying or sharing it. So
> the generate method wouldn't want to work around the best practice to use an undocumented method to generate a buildfile that's different from the one use for the basis of our documentation.

Maybe, but I think that most people that come from maven (or ivy) would expect transitive dependencies to work. And while compile-time transitive dependencies are a bad idea (for java-like languages), they are useful for runtime. 

> buildr tries to download pom files when generating a buildfile from pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: BUILDR-179
>                 URL: https://issues.apache.org/jira/browse/BUILDR-179
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> The download is to get transitive dependencies however it means that if for some reason the download fails (out of date pom.xml, network issues, repositories settings), then buildfile is not created. 
> what if instead of generating a compile.with #{dependencies}, it will generate compile.with transitive(#{dependencies})? then the download and resolving will be done when the buildfile is used instead of when generated.

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


[jira] Resolved: (BUILDR-179) buildr tries to download pom files when generating a buildfile from pom.xml

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Assaf Arkin resolved BUILDR-179.
--------------------------------

    Resolution: Won't Fix

We do recommend that you explicitly specify as many dependencies as possible (see also examples in the documentation), the transitive method is considered experimental, and it's always a good idea to make sure the generated buildfile works before modifying or sharing it.  So the generate method wouldn't want to work around the best practice to use an undocumented method to generate a buildfile that's different from the one use for the basis of our documentation.

> buildr tries to download pom files when generating a buildfile from pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: BUILDR-179
>                 URL: https://issues.apache.org/jira/browse/BUILDR-179
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> The download is to get transitive dependencies however it means that if for some reason the download fails (out of date pom.xml, network issues, repositories settings), then buildfile is not created. 
> what if instead of generating a compile.with #{dependencies}, it will generate compile.with transitive(#{dependencies})? then the download and resolving will be done when the buildfile is used instead of when generated.

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