Actually, you may be closer to a complete maven build than you think. (And I was able to build the docs with 'ant doc'. I was just trying to avoid having to set up the ant classpath.)
And the reason I posted here was to try to avoid having to read through the documentation for the maven javadoc plugin. Personally, I find Maven a complete pain (and you can see how much I know about it from my @VERSION@ question), but then there's something to be said for the simplicity of 'mvn clean install'. Right now I am wading through the Pivot docs trying to get a handle on them. When the smoke clears I will have a look at the maven build. You know what they say about projects: "If they can build it they will come." Thanks, Tom Sandro Martini <sandro.mart...@gmail.com> wrote: >Hi all and sorry for the delay, >as Roger said Pivot maven files was mainly done to be able to generate and >publish jar files in main Maven repository (central). >But all is driven by our Ant build; there is a dedicated task to let Ant maven >task (related jar is needed in CLASSPATH in this case) to generate and install >maven compatible jars in a local repository. > >I know that we should update our build system to maven or gradle, but time is >needed to do it because there are other tasks not so simple to migrate/rewrite. > >Any help is welcome :-) . > >Tell me if you need more info on this. > >Bye, >Sandro > >Il 20/Gen/2016 01:39, "Roger Whitcomb" <roger.whitc...@actian.com> ha scritto: > >Actually, I think the biggest problem is that our project directory structures >don't conform to the standard Maven conventions (see >https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html) > and I don't see any project descriptor settings that would change that. > >~Roger > >-----Original Message----- >From: Tom Coleman [mailto:t...@soaringclub.org] >Sent: Tuesday, January 19, 2016 9:12 AM >To: user@pivot.apache.org >Subject: Maven build and javadoc > > >Hi > >I'm trying to build the project using Maven. 2 dumb questions. Sorry. > >How can I generate javadoc from the maven root directory? > >mvn javadoc:javadoc just creates an xml file: >javadoc-options-javadoc-resources.xml. Google didn't really help. > >And how can I get a version number into the jars? Here's what I get now: > >./core/target/pivot-core-@VERSION@.jar > >Thanks. > > > > >