Re: Packaging doxygen output across modules?

2016-06-05 Thread org.apache.maven.user
On 2016-06-05T23:16:22 +0200 Karl Heinz Marbaise wrote: > Hi, > > so you need to have the packaging in the doxygen-maven-plugin as well > which is currently not done...? > Best would be to add a feature request ... Not necessarily, no. I think what I'm doing is a fairly

Re: Packaging doxygen output across modules?

2016-06-05 Thread org.apache.maven.user
On 2016-06-04T14:28:14 + wrote: > However, how do I now package up the resulting doxygen HTML such that > it can be added to the archive file produced by module-documentation? > What's the Maven way to handle this? I solved this by: 1. Not using the

Packaging doxygen output across modules?

2016-06-04 Thread org.apache.maven.user
Hello. I have a multi-module project: module-A module-B module-C module-documentation The module-documentation module contains documentation written in a DocBook-like system. The build for the module aggregates the javadocs of module-[A,B,C], generates XHTML documentation, and packages

Re: Extracting classes from a separate project?

2015-12-01 Thread org.apache.maven.user
'Lo, On 2015-12-01T10:45:16 -0600 Curtis Rueden wrote: > Great question! > > I see a couple of approaches: > > 1) Technical solution: I think you are on the right track to use the > maven-shade-plugin. But you shouldn't need the maven-dependency-plugin. The > shade plugin

Re: Extracting classes from a separate project?

2015-12-01 Thread org.apache.maven.user
On 2015-12-01T17:56:15 + wrote: > > On 2015-12-01T10:45:16 -0600 > Curtis Rueden wrote: > > Why not just make your single-module library artifact an "uber-JAR" > > consisting > > only of its own sources plus the relocated+minimized

Extracting classes from a separate project?

2015-12-01 Thread org.apache.maven.user
Hello. I'm intending to use some classes from the fastutil package[0]. Due to the size of the artifact(s), it's assumed that anyone using the package will use ProGuard on their application to remove unneeded classes. However: 1. I'm writing a library. 2. I'm using the fastutil classes in a way

Re: maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest

2015-11-14 Thread org.apache.maven.user
On 2015-11-13T18:04:01 -0500 Jason van Zyl wrote: > You are missing the dependencies which contain the necessary classes. I made > a PR for you. The project test now executes. > > FYI, I use this all the time now for plugin unit and integration testing: > >

maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest

2015-11-13 Thread org.apache.maven.user
Hello. I'm attempting to add a Maven plugin to a small compiler project: https://github.com/io7m/jpra However, given the following trivial pom.xml: https://github.com/io7m/jpra/blob/develop/io7m-jpra-maven-plugin/pom.xml ... and the following no-op unit test:

Re: maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest

2015-11-13 Thread org.apache.maven.user
On 2015-11-13T17:09:36 -0500 Jason van Zyl wrote: > You must be running with a version of Maven where that class does not exist? > That error means you’re using a library where that class was present during > building but not present at runtime. You running something older

Re: maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest

2015-11-13 Thread org.apache.maven.user
'Lo! On 2015-11-13T21:39:06 +0100 Karl Heinz Marbaise wrote: > > Why are you using this: > > >org.apache.maven >maven-plugin-api >2.0 > > > Better use at least version 3.0 of this... Because the documentation says 2.0:

Re: maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest

2015-11-13 Thread org.apache.maven.user
On 2015-11-13T21:07:23 + wrote: > On 2015-11-13T21:39:06 +0100 > Karl Heinz Marbaise wrote: > > > > Better use at least version 3.0 of this... > > I'll try 3.0. No luck, unfortunately. Same error. M

Re: maven-plugin-testing-harness: NoClassDefFoundError: org/apache/maven/execution/MavenExecutionRequest

2015-11-13 Thread org.apache.maven.user
On 2015-11-13T10:03:54 + wrote: > Hello. > > I'm attempting to add a Maven plugin to a small compiler project: Here's a tiny repro case. https://github.com/io7m/mvn-bug-20151113 M - To

Re: Setting a source directory convention in a language plugin?

2015-11-12 Thread org.apache.maven.user
On 2015-11-12T21:43:12 +0100 Anders Hammar wrote: > For example: > > @Parameter( defaultValue = "${project.basedir}/src/main/dsl" ) > private File dslDirectory; > Ah, thank you. I wasn't aware it was going to be that simple... M

Setting a source directory convention in a language plugin?

2015-11-12 Thread org.apache.maven.user
Hello. I'm developing a small compiler that generates Java source code from files written in a domain specific language. I'm in the process of writing a Maven plugin so that this can happen as part of an ordinary Maven build, but I'm unable to determine how I'm supposed to establish the

Suggestions for coping with skipped JavaDoc

2015-08-16 Thread org.apache.maven.user
Hello. I have a module in most of my projects that generates documentation written in a custom documentation language, and then packs that documentation into a standalone archive along with the aggregated javadocs of the project (deployed along with the rest of the Maven artifacts to Central,

Suggestions for coping with skipped JavaDoc

2015-08-16 Thread org.apache.maven.user
Hello. I have a module in most of my projects that generates documentation written in a custom documentation language, and then packs that documentation into a standalone archive along with the aggregated javadocs of the project (deployed along with the rest of the Maven artifacts to Central,

Automatically appended artifactId in inherited SCM element

2015-08-08 Thread org.apache.maven.user
Hello. I'm trying to reduce the redundancy of my existing POM files with inheritance. I've run into an issue with the generated sites. The parent pom: http://waste.io7m.com/2015/08/08/jnull.pom A submodule pom: http://waste.io7m.com/2015/08/08/jnull-core.pom The deployed site, note the

Re: Automatically appended artifactId in inherited SCM element

2015-08-08 Thread org.apache.maven.user
On 2015-08-08T20:20:25 +0200 Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, Hello! The first thing which i saw where the wrong SCM connections given: Corrected. I've actually switched to the https URIs, as those allow anonymous cloning and authenticated pushes. Apart from that it would

Re: Automatically appended artifactId in inherited SCM element

2015-08-08 Thread org.apache.maven.user
On 2015-08-08T20:20:25 +0200 Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, Hello! The first thing which i saw where the wrong SCM connections given: Corrected. I've actually switched to the https URIs, as those allow anonymous cloning and authenticated pushes. Apart from that it would

Re: source-plugin vs, the initialize phase?

2015-01-15 Thread org.apache.maven.user
'Lo. On 2015-01-15T17:41:33 +0100 Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, you problem is simply you have bound the `jar` goal of the maven-source-plugin which forks the life cycle. On 2015-01-15T16:40:36 + Stuart McCulloch mccu...@gmail.com wrote: Use the jar-no-fork and

source-plugin vs, the initialize phase?

2015-01-15 Thread org.apache.maven.user
Hi. I have a custom plugin that inserts some extra files into the jars produced by the jar plugin. Because of the way the plugin works, it will fail if it tries to make the modifications to a jar file that has already had the modifications made. For reasons that aren't really relevant here,

Re: Unpacking a zip file from the source tree

2014-04-20 Thread org.apache.maven.user
On Sat, 19 Apr 2014 21:39:19 +0200 Baptiste Mathus bmat...@batmat.net wrote: Anyway, to create an account go to http://xircles.codehaus.org/ and with that account you'll be able to access and create issues in jira.codehaus.org Thanks! @Dan Tran: Please see MTRUEZIP-36 and MTRUEZIP-37. M

example of a very simple reporting plugin?

2014-04-19 Thread org.apache.maven.user
'Lo. Is there an example out there (or some documentation) of how to write a simple reporting plugin for Maven 3.2.1? I have the following: http://waste.io7m.com/2014/04/19/NullReport.java Which results in a file called null.html using the current site skin, the main content of which just

Re: Unpacking a zip file from the source tree

2014-04-19 Thread org.apache.maven.user
On Fri, 18 Apr 2014 13:49:50 +0200 Baptiste Mathus bmat...@batmat.net wrote: May maven-remote-resources-plugin be helping? Thanks, will keep that in mind. Finally got the TrueZip plugin to work (it silently fails upon receiving incorrect parameters). M

Re: Unpacking a zip file from the source tree

2014-04-19 Thread org.apache.maven.user
On Sat, 19 Apr 2014 09:36:13 -0700 Dan Tran dant...@gmail.com wrote: Hi, Could you file a Jira case against truezip-m-p with a producible pom? 'Lo. I can't seem to find the registration link to allow me to post issues on the Truezip Jira. The login prompt says To request an account, please

Unpacking a zip file from the source tree

2014-04-18 Thread org.apache.maven.user
Hello. I have a zip file in the src directory of a project. I want to unpack this zip file and insert the contents into the generated site directory during the site phase. What is the correct way to do this? There's the dependency:unpack goal, but that only seems capable of working with

Re: Unpacking a zip file from the source tree

2014-04-18 Thread org.apache.maven.user
On Fri, 18 Apr 2014 10:10:35 + org.apache.maven.u...@io7m.com wrote: There's the TrueZip plugin, but quite frankly, it seems defective (it silently fails to do anything, and the documentation is no help at all). Pro tip: This will work: plugin

Generated content in generated sites (!)

2014-04-16 Thread org.apache.maven.user
'Lo. Currently, sites generated for my projects look something like: http://mvn.io7m.com/jaux/releases.html The releases.html page actually comes from a static releases.xml file that's generated and inserted into src/site by the shell script that performs releases. I'd like to achieve the

Re: Generated content in generated sites (!)

2014-04-16 Thread org.apache.maven.user
On Wed, 16 Apr 2014 20:39:40 +0100 Stephen Connolly stephen.alan.conno...@gmail.com wrote: On Wednesday, 16 April 2014, org.apache.maven.u...@io7m.com wrote: I'm not averse to writing a custom plugin, but I'd rather not if it's not actually required. If you want it applied uniformly,

Re: Correct way to include aggregated javadocs in subproject assembly?

2014-04-01 Thread org.apache.maven.user
Noone does this? Here's a small example that reproduces the issue: https://github.com/io7m/maven-javadoc-bug-20140401 $ mvn -C clean package The javadoc:aggregate goal runs as part of the docs project, but no javadoc is produced. M

Re: [fixed] Correct way to include aggregated javadocs in subproject assembly?

2014-04-01 Thread org.apache.maven.user
On Tue, 1 Apr 2014 19:48:14 + org.apache.maven.u...@io7m.com wrote: Noone does this? Here's a small example that reproduces the issue: https://github.com/io7m/maven-javadoc-bug-20140401 $ mvn -C clean package The javadoc:aggregate goal runs as part of the docs project, but no

Correct way to include aggregated javadocs in subproject assembly?

2014-03-31 Thread org.apache.maven.user
Hello. I have the following projects: io7m-example/ io7m-example-lib1 io7m-example-lib2 io7m-example-documentation The io7m-example-documentation project contains documentation written in a DocBook-like language which is processed into XHTML at build time and then packaged up into

Re: Correct way to include aggregated javadocs in subproject assembly?

2014-03-31 Thread org.apache.maven.user
On Mon, 31 Mar 2014 17:47:43 + org.apache.maven.u...@io7m.com wrote: When I run mvn -C clean package from the io7m-example, the io7m-example-lib1 and io7m-example-lib2 projects are compiled and tested. Additional: io7m-example-lib1 and io7m-example-lib2 are configured to produce source

Re: Strange issue with generated jars

2013-11-13 Thread org.apache.maven.user
On Tue, 12 Nov 2013 13:02:46 + org.apache.maven.u...@io7m.com wrote: Hello. I've run into a strange but easily reproduced problem with the jar files generated by Maven. Essentially, if I generate a jar file containing a large number of files (= 65536, in practice), then javac becomes

Re: Strange issue with generated jars

2013-11-13 Thread org.apache.maven.user
On Wed, 13 Nov 2013 11:33:51 -0800 George Wilson rmws...@gmail.com wrote: Unfortunately, my company's security policies do not allow for the downloading and building of external projects without approval from IT and security so I cannot really test your code (not without going to a committee,

Re: Strange issue with generated jars

2013-11-13 Thread org.apache.maven.user
On Wed, 13 Nov 2013 15:52:02 -0700 Doug Douglass douglass.d...@gmail.com wrote: I ran the sample project on a couple systems with different results. ... So it appears to be JDK bug. Thanks. Looks like I'll be taking this up with the OpenJDK people. M

Strange issue with generated jars

2013-11-12 Thread org.apache.maven.user
Hello. I've run into a strange but easily reproduced problem with the jar files generated by Maven. Essentially, if I generate a jar file containing a large number of files (= 65536, in practice), then javac becomes unable to resolve classes from that jar file. This only occurs with jars produced

Versions plugin for plugin updates only

2013-06-30 Thread org.apache.maven.user
Hello. Is it possible to get the Versions plugin to only update the version numbers of plugins? When running versions:use-latest-releases, the plugin immediately folds all my dependencies version ranges into the latest version, which is a huge pain as I then have to go back and reset them. I'd

NullPointerException in SSH wagon

2013-04-24 Thread org.apache.maven.user
'Lo. We're running into the following: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign-and-deploy-file (default-cli) on project test: Error deploying attached artifact test-javadoc.jar: Failed to deploy artifacts: Could not transfer artifact

Re: NullPointerException in SSH wagon

2013-04-24 Thread org.apache.maven.user
On Wed, 24 Apr 2013 11:54:08 -0500 Curtis Rueden ctrue...@wisc.edu wrote: Hi Mark, artifactIdwagon-ssh-external/artifactId Rather than SSH External, did you try using the Maven SSH wagon [1] instead? It uses JSch, which is pretty good now. My impression is that the Deployment of

Re: NullPointerException in SSH wagon

2013-04-24 Thread org.apache.maven.user
On Wed, 24 Apr 2013 12:19:28 -0500 Curtis Rueden ctrue...@wisc.edu wrote: Hi Mark, The problem is that wagon-ssh seems more or less undocumented, and so there's no indication that it supports keys loaded into OpenSSH's ssh-agent. We exclusively use public keys for security reasons. A

Allowing use of a wagon provider globally?

2013-01-15 Thread org.apache.maven.user
Hello. We have a set of scripts that we use to deploy artifacts to Central and a number of other sites. Essentially, a project is built using Maven. The scripts then copy the artifacts out of the 'target' directories and then sign and deploy them to Central and other sites (using

Re: Javadoc aggregation doesn't use snapshots?

2013-01-13 Thread org.apache.maven.user
*Ahem* Please excuse that duplicate. I'd sent it from the wrong address originally (I use bespoke addresses for easier filtering and to track leaks when receiving spam) and had assumed it'd been silently dropped... M - To

Re: Javadoc aggregation doesn't use snapshots?

2013-01-12 Thread org.apache.maven.user
Opened: https://jira.codehaus.org/browse/MJAVADOC-360 For anyone not following this bug, I've put together a vastly simpler case that demonstrates the problem: https://github.com/io7m/io7m-jcanephora/tree/reduction The problem's reproduced with a single module and a couple of

Re: Javadoc aggregation doesn't use snapshots?

2013-01-09 Thread org.apache.maven.user
Anyone? This has become a blocking issue for me, and am quite surprised that it exists at all given that the project really isn't complicated. Would it help if I put the code on github so that people could look at it more easily?

Re: Javadoc aggregation doesn't use snapshots?

2013-01-09 Thread org.apache.maven.user
On Wed, 9 Jan 2013 14:30:47 -0500 Benson Margulies bimargul...@gmail.com wrote: A JIRA might get more useful attention, pointing to github or whatever. Opened: https://jira.codehaus.org/browse/MJAVADOC-360 Regards, M - To

Javadoc aggregation doesn't use snapshots?

2013-01-08 Thread org.apache.maven.user
Hello. I have a multimodule project at http://fossil.io7m.com/repo.cgi/io7m-jcanephora The root module is responsible for aggregating javadoc from all of the submodules. I recently switched to using SNAPSHOT dependencies, rather than having to constantly produce new releases for minor changes.

Re: Javadoc aggregation doesn't use snapshots?

2013-01-08 Thread org.apache.maven.user
On Tue, 8 Jan 2013 14:19:14 + Stephen Connolly stephen.alan.conno...@gmail.com wrote: I haven't looked at your project but I have a suspicion as to what is going on. By default the javadoc.jar is not generated by a default build, so as a result there is no javadoc.jar in the reactor and

Enabling snapshot fetching outside of project pom?

2012-12-20 Thread org.apache.maven.user
Hi. Is it possible to enable the fetching of snapshots as dependencies in settings.xml, as opposed to using a distributionManagement element in the project's pom file? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Enabling snapshot fetching outside of project pom?

2012-12-20 Thread org.apache.maven.user
On Thu, 20 Dec 2012 12:18:11 + org.apache.maven.u...@io7m.com wrote: Hi. Is it possible to enable the fetching of snapshots as dependencies in settings.xml, as opposed to using a distributionManagement element in the project's pom file? *ahem* Fixed my own problem. Dependencies

1.0.0-SNAPSHOT considered older than 1.0.0?

2012-12-20 Thread org.apache.maven.user
Hi. I can't find any documentation on the Maven site about snapshots. I'm trying to determine whether a snapshot is considered to be older or newer than the version number prefix. Is 1.0.0-SNAPSHOT considered to be the current HEAD, having a theoretical 1.0.0 at some point in the past, or is

Re: 1.0.0-SNAPSHOT considered older than 1.0.0?

2012-12-20 Thread org.apache.maven.user
On Thu, 20 Dec 2012 15:08:26 +0100 Arnaud Héritier aherit...@gmail.com wrote: I don't have the time to check the doc but if it's not in, this is a big error (don't hesitate to open an issue) A SNAPSHOT is the development version before producing the release. A SNAPSHOT is older than its

Match syntax?

2012-11-29 Thread org.apache.maven.user
Hello. Quite a few things in Maven take patterns as input. One example would be the Assembly plugin, which accepts strings of the form *.java, etc, in its configuration when referring to files to include/exclude. Is there a description anywhere of the syntax of these match patterns? Are they just

Re: Match syntax?

2012-11-29 Thread org.apache.maven.user
On Thu, 29 Nov 2012 19:12:37 +0100 Robert Scholte rfscho...@apache.org wrote: These patterns were introduced with Ant. http://ant.apache.org/manual/dirtasks.html#patterns is probably the best page describing the usage. Thank you!

Dependencies between the test sections of modules?

2012-07-17 Thread org.apache.maven.user
I have a multi-module project P, with modules P.Core, P.A, P.B. Both P.A and P.B are different implementations of an API specified in P.Core. In order to test that all implementations of P.Core have the same semantics, P.Core exports a set of abstract classes containing junit 4 tests which are

Re: Dependencies between the test sections of modules?

2012-07-17 Thread org.apache.maven.user
On Tue, 17 Jul 2012 14:44:57 +0200 Anders Hammar and...@hammar.net wrote: Yes, create a jar of the test classes: http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html There are some limitations in this though (test dependencies are not transitive). Moving these test classes to

Saxon xinclude?

2012-07-15 Thread org.apache.maven.user
Hello. I have the following: $ find src/ src src/main src/main/txt src/main/txt/file.txt src/main/xsl src/main/xsl/main.xsl src/main/xml src/main/xml/main.xml $ cat src/main/txt/file.txt HELLO $ cat src/main/xsl/main.xsl ?xml version=1.0 encoding=UTF-8? xt:stylesheet version=2.0

Re: Generating javadoc for a set of unrelated projects?

2012-07-13 Thread org.apache.maven.user
On Thu, 12 Jul 2012 13:10:08 -0500 Curtis Rueden ctrue...@wisc.edu wrote: Hi org.apache.maven.user, What's the simplest way to generate (aggregated) javadoc for this set of projects? Is it enough that your javadocs cross-link with each other at their respective published locations

Generating javadoc for a set of unrelated projects?

2012-07-12 Thread org.apache.maven.user
Hello. I have a set of projects, with some interdependencies. I can't modify the pom files of the individual projects, and there aren't any real links between them other than some artifact dependencies. What's the simplest way to generate (aggregated) javadoc for this set of projects?

Moving to maven-compatible version numbers?

2012-06-27 Thread org.apache.maven.user
Hello. I'm working on a project that uses version numbers of the form: 2.0-rc9 Where '2' is the major version, '0' is the minor version, and 'rc9' is obviously some sort of qualifier - this one being release candidate 9. Obviously, Maven doesn't deal with this too well (it falls back to

Unable to push to scp repository

2012-06-27 Thread org.apache.maven.user
Hello. I have the following pom: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;

Re: Unable to push to scp repository

2012-06-27 Thread org.apache.maven.user
On Wed, 27 Jun 2012 17:34:13 + org.apache.maven.u...@io7m.com wrote: mvn -X gpg:sign-and-deploy-file \ -DpomFile=pom.xml \ -Dfile=test-1.0.0.jar \ -Durl=scp://www/home/m0/repos \ -DrepositoryId=www-test-mirror Naturally, a minute or so after I clicked send,

Re: Naming of jar artifacts

2012-06-21 Thread org.apache.maven.user
On Thu, 21 Jun 2012 07:38:32 +0200 Anders Hammar and...@hammar.net wrote: Is there any way to get Maven to avoid appending version numbers to jar files without breaking package resolution, or requiring acrobatics on the part of someone wanting to use the package? No. Or to clarify, you

Re: Naming of jar artifacts

2012-06-21 Thread org.apache.maven.user
On Thu, 21 Jun 2012 17:27:18 +0200 Anders Hammar and...@hammar.net wrote: Yes, you use classifiers for that. Normally not a clean Maven solution though. Please do understand they will all have the same set of dependencies as they share one pom. Yes, the dependencies are fine. I'm aware this

Re: Fetching classified artifacts (was: Naming of jar artifacts)

2012-06-21 Thread org.apache.maven.user
On Thu, 21 Jun 2012 15:39:58 + org.apache.maven.u...@io7m.com wrote: On Thu, 21 Jun 2012 17:27:18 +0200 Anders Hammar and...@hammar.net wrote: Yes, you use classifiers for that. Normally not a clean Maven solution though. Please do understand they will all have the same set of

Re: Fetching classified artifacts (was: Naming of jar artifacts)

2012-06-21 Thread org.apache.maven.user
On Thu, 21 Jun 2012 12:07:03 -0500 Wayne Fay wayne...@gmail.com wrote: I sort of want to have the project depend on its own extra, classified artifacts, but I imagine that's considered a circular dependency and will drive some tools insane... Make yet another project called

Re: Fetching classified artifacts (was: Naming of jar artifacts)

2012-06-21 Thread org.apache.maven.user
On Thu, 21 Jun 2012 17:18:22 + org.apache.maven.u...@io7m.com wrote: On Thu, 21 Jun 2012 12:07:03 -0500 Wayne Fay wayne...@gmail.com wrote: I sort of want to have the project depend on its own extra, classified artifacts, but I imagine that's considered a circular dependency and

Re: Fetching classified artifacts (was: Naming of jar artifacts)

2012-06-21 Thread org.apache.maven.user
On Thu, 21 Jun 2012 19:46:45 + org.apache.maven.u...@io7m.com wrote: On Thu, 21 Jun 2012 17:18:22 + org.apache.maven.u...@io7m.com wrote: On Thu, 21 Jun 2012 12:07:03 -0500 Wayne Fay wayne...@gmail.com wrote: I sort of want to have the project depend on its own extra,

Naming of jar artifacts

2012-06-20 Thread org.apache.maven.user
Hello. I'm attempting to package http://jogamp.org for use with Maven (with the assistance of the author). Because the package provides a binding to OpenGL, it obviously needs to call native code. The way that the package deals with this is to provide, for example, a natives package for each