← Back to team overview

dhis2-devs team mailing list archive

Re: How do I make mvn use a local snapshot?

 

Thanks. That worked with

<version>2.0.10-SNAPSHOT</version>

after downloading the docbkx source (svn checkout
http://docbkx-tools.googlecode.com/svn/trunk/ docbkx-tools-read-only)
and doing an "mvn install".



Regards,
jason

Diff here..

=== modified file 'pom.xml'
--- pom.xml	2009-12-08 18:21:43 +0000
+++ pom.xml	2009-12-09 03:50:34 +0000
@@ -16,7 +16,7 @@
     <plugins>
       <plugin>
         <groupId>com.agilejava.docbkx</groupId>
-
+        <version>2.0.10-SNAPSHOT</version>
         <artifactId>docbkx-maven-plugin</artifactId>

         <executions>

2009/12/8 Lars Helge Øverland <larshelge@xxxxxxxxx>:
>
>
> On Tue, Dec 8, 2009 at 9:45 PM, Jason Pickering
> <jason.p.pickering@xxxxxxxxx> wrote:
>>
>> Hi there. I am experimenting with the latest version of the docbkx
>> plugin for the  building of documentation, as there are some issues
>> that may be resolved in this version. I have downloaded the source of
>> the docbkx plugin and installed it to my local repository. How do I
>> make maven use it, or does it just magically know?
>>
>> Sorry, it is just still magic for me.
>>
>> Thanks,
>> Jason
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>
> Hi,
>
> plugins can be defined just like dependencies, you can add
>
> <version>2.0.9</version>
>
> to the plugin definition. Not sure if this is the latest but it is the
> latest in the maven central repo currently.
>
>
> Lars
>
>



References