You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Tarau <ad...@gmail.com> on 2008/10/26 04:35:51 UTC

Ant Tasks for Maven - install sources, javadoc

I'm trying(without success) to deploy Velocity artifacts into a Maven
repository and I cannot figure out how to add aditional artifacts like
sources, javadoc and also an aditional jar with all Velocity dependencies.

I was able(following some example) to install Velocity main artifact, but my
luck stopped here.

Any examples how to do this?

Thanks.

-- 
View this message in context: http://www.nabble.com/Ant-Tasks-for-Maven---install-sources%2C-javadoc-tp20170156p20170156.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Ant Tasks for Maven - install sources, javadoc

Posted by Adrian Tarau <ad...@gmail.com>.
Thanks,

Indeed the use of classifier solved the problem. After I wrote the post I
realized what's the use of classifier :)

"Additional jar with all Velocity dependencies" means a second jar which
contains Velocity classes and all dependencies. I've used classifier for
this one too it it worked great.


Wayne Fay wrote:
> 
> Essentially, you use the same "mvn install:install-file" command, but add:
> -Dclassifier=sources
> or
> -Dclassifier=javadoc
> depending on what you are trying to install.
> 
> As for the "additional jar with all Velocity dependencies," I'm unsure
> whate exactly you're talking about. Can you explain this a little
> more, especially where did this Jar come from and what is in it?
> 
> Wayne
> 
> On Sat, Oct 25, 2008 at 8:35 PM, Adrian Tarau <ad...@gmail.com>
> wrote:
>>
>> I'm trying(without success) to deploy Velocity artifacts into a Maven
>> repository and I cannot figure out how to add aditional artifacts like
>> sources, javadoc and also an aditional jar with all Velocity
>> dependencies.
>>
>> I was able(following some example) to install Velocity main artifact, but
>> my
>> luck stopped here.
>>
>> Any examples how to do this?
>>
>> Thanks.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Ant-Tasks-for-Maven---install-sources%2C-javadoc-tp20170156p20170156.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Ant-Tasks-for-Maven---install-sources%2C-javadoc-tp20170156p20173732.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Ant Tasks for Maven - install sources, javadoc

Posted by Wayne Fay <wa...@gmail.com>.
Essentially, you use the same "mvn install:install-file" command, but add:
-Dclassifier=sources
or
-Dclassifier=javadoc
depending on what you are trying to install.

As for the "additional jar with all Velocity dependencies," I'm unsure
whate exactly you're talking about. Can you explain this a little
more, especially where did this Jar come from and what is in it?

Wayne

On Sat, Oct 25, 2008 at 8:35 PM, Adrian Tarau <ad...@gmail.com> wrote:
>
> I'm trying(without success) to deploy Velocity artifacts into a Maven
> repository and I cannot figure out how to add aditional artifacts like
> sources, javadoc and also an aditional jar with all Velocity dependencies.
>
> I was able(following some example) to install Velocity main artifact, but my
> luck stopped here.
>
> Any examples how to do this?
>
> Thanks.
>
> --
> View this message in context: http://www.nabble.com/Ant-Tasks-for-Maven---install-sources%2C-javadoc-tp20170156p20170156.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org