[
http://jira.codehaus.org/browse/MERCURY-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158766#action_158766
]
Oleg Gusakov edited comment on MERCURY-65 at 12/19/08 2:53 PM:
---------------------------------------------------------------
*In addition to the existing syntax*, I will introduce default local
(!/.m2/repository) and remote repos (central or r.s.o ?), so if nothing is
configured - those will be used, plus new syntax:
* stand-alone <localRepository/>, <remoteRepository/>
* a simpler way to add a classpath:
{code:xml|title=proposal}
<merc:dependencies refpathid="myclasspath">
<merc:dependency name="asm:asm-xml:3.0"/>
</merc:dependencies>
{code}
* cooler proposal
{code:xml|title=cooler proposal}
<classpath>
<merc:dependencies>
<merc:dependency name="asm:asm-xml:3.0"/>
</merc:dependencies>
</classpath>
{code}
* even cooler proposal
{code:xml|title=even cooler proposal}
<classpath>
<dependency name="asm:asm-xml:3.0"/>
</classpath>
{code}
I must evaluate which one is doable and most functional for the user
was (Author: olle):
*In addition to the existing syntax*, I will introduce:
* stand-alone <localRepository/>, <remoteRepository/>
* a simpler way to add a classpath:
{code:xml|title=proposal}
<merc:dependencies refpathid="myclasspath">
<merc:dependency name="asm:asm-xml:3.0"/>
</merc:dependencies>
{code}
* cooler proposal
{code:xml|title=cooler proposal}
<classpath>
<merc:dependencies>
<merc:dependency name="asm:asm-xml:3.0"/>
</merc:dependencies>
</classpath>
{code}
* even cooler proposal
{code:xml|title=even cooler proposal}
<classpath>
<dependency name="asm:asm-xml:3.0"/>
</classpath>
{code}
I must evaluate which one is doable and most functional for the user
> Implement "old" maven-ant syntax
> ---------------------------------
>
> Key: MERCURY-65
> URL: http://jira.codehaus.org/browse/MERCURY-65
> Project: Mercury
> Issue Type: Improvement
> Components: Ant tasks
> Reporter: Oleg Gusakov
> Assignee: Oleg Gusakov
>
> * As there are a lot of users that expect some kind of "investment protection"
> * simplify to allow "3 line" solutions for common tasks
> * introduce defaults - default repository, default dependency set
> * merge mercury: deps and mercury:resolve into one dependencies task
> * show how to inline mercury classpath in the build.xml instead of ~/.ant/lib
> * expose "transitive" option from "resolve" task - for non-transitive reading
> from repos
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira