How do I make mvn use a local snapshot?

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

Hi,

plugins can be defined just like dependencies, you can add

2.0.9

to the plugin definition. Not sure if this is the latest but it is the latest in the maven central repo currently.

Lars

···

On Tue, Dec 8, 2009 at 9:45 PM, Jason Pickering jason.p.pickering@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

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@gmail.com>:

On Tue, Dec 8, 2009 at 9:45 PM, Jason Pickering > <jason.p.pickering@gmail.com> 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@lists.launchpad.net
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