On Dec 16, 2012, at 18:06 , Benson Margulies <[email protected]> wrote:

> You'll have to be a lot more specific. With the antrun plugin? With
> something else?

I've posted a couple times with my specific query, but no replies to it. I set 
it up a long time ago, so I didn't know there was more than one way to use the 
maven plugin in ant. In my ~/.ant/lib I have maven-ant-tasks-2.1.3.jar. Here's 
what I have in my build.xml:

<project name="proj" default="build-nojar" basedir="." 
xmlns:artifact="antlib:org.apache.maven.artifact.ant">

...

    <artifact:remoteRepository id="main.repository" 
url="http://mirrors.ibiblio.org/maven2"/>

...

    <artifact:dependencies pathId="runtime.classpath" 
filesetId="runtime.fileset" >
                
        <remoteRepository refid="main.repository"/>
                
            <dependency groupId="com.caucho" artifactId="hessian" 
version="4.0.7" scope="compile"/>
            ...

etc.

I don't know if that's antrun or something else.

-- 
Rick


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to