buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ittay Dror (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BUILDR-179) buildr tries to download pom files when generating a buildfile from pom.xml
Date Wed, 22 Oct 2008 13:34:44 GMT

    [ 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.


Mime
View raw message