Re: Auditing version ranges

2017-08-15 Thread Mark Raynsford
pache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html Thanks, didn't see that one. I'll give it a shot. -- Mark Raynsford | http://www.io7m.com pgpx3h6jMru7m.pgp Description: OpenPGP digital signature

Auditing version ranges

2017-08-15 Thread Mark Raynsford
plugin to reject snapshot versions [1], and am using the dependency plugin to fail builds with undeclared dependencies. [0] https://github.com/Zlika/reproducible-build-maven-plugin [1] https://github.com/scijava/scijava-maven-plugin -- Mark Raynsford | http://www.io7m.com pgpMS8Kfc0KU6.pgp

Re: Excessive "checking for updates" on Travis CI

2017-06-29 Thread Mark Raynsford
On 2017-06-29T19:38:40 +0200 Karl Heinz Marbaise wrote: > HI, > > first you are using version ranges...that's the reason for that... > > Simple recommendation I can give is: Don't use version ranges... > > Hello. I maintain ~70 projects with complex interdependencies

Re: Excessive "checking for updates" on Travis CI

2017-06-30 Thread Mark Raynsford
Apologies if that came off as rude, it wasn't intended to be. Upon re-reading it, I think it came off as a bit harsh. M pgppS5LvgbIs9.pgp Description: OpenPGP digital signature

Excessive "checking for updates" on Travis CI

2017-06-29 Thread Mark Raynsford
Hello. I use the free Travis CI service to build my various projects on each commit. I have a project that has a rather large number of modules (~90) and upon building each module, I see lots of this in the log: [INFO] artifact com.io7m.junreachable:com.io7m.junreachable.core: checking for

Re: Overriding the site plugin

2017-10-15 Thread Mark Raynsford
On 2017-10-15T16:54:15 + Mark Raynsford <org.apache.maven.u...@io7m.com> wrote: > > Basically, I'd like to type "mvn site" and get my own plugin instead of > the existing maven-site-plugin. Er, to clarify, I mean that I'd like to execute a new plugin entirely, not

Re: Overriding the site plugin

2017-10-15 Thread Mark Raynsford
On 2017-10-15T17:02:19 + Mark Raynsford <org.apache.maven.u...@io7m.com> wrote: > > Er, to clarify, I mean that I'd like to execute a new plugin entirely, > not just a different version of the maven-site-plugin. I realized after > I sent the message that it could be interpr

Overriding the site plugin

2017-10-15 Thread Mark Raynsford
cally, I'd like to type "mvn site" and get my own plugin instead of the existing maven-site-plugin. -- Mark Raynsford | http://www.io7m.com pgpG1XBXAEXa4.pgp Description: OpenPGP digital signature

Accessing licenses/license as POM properties?

2018-05-18 Thread Mark Raynsford
Hello. Is there a way to access the contents of the element as POM properties? I'd like to reference the URL of the first license element in a plugin execution, but there doesn't appear to be a ${pom.license.url} or anything similar. -- Mark Raynsford | http://www.io7m.com pgppgAgtlZLqn.pgp

Re: Accessing licenses/license as POM properties?

2018-05-19 Thread Mark Raynsford
se.org/legal/epl-v10.html;description ="Eclipse Public License" > Also, check what "mvn help:effective-pom" produces on your project vs. > my project. The effective POM for my project shows the unexpanded ${project.licenses[0]} text. I feel like I might be running into

Re: Accessing licenses/license as POM properties?

2018-05-19 Thread Mark Raynsford
, other expressions (like ${project.description}) are expanded properly, but more complex expressions aren't. -- Mark Raynsford | http://www.io7m.com pgpFjONIzyHYR.pgp Description: OpenPGP digital signature

Re: Accessing licenses/license as POM properties?

2018-05-18 Thread Mark Raynsford
License@3eba57a7] ... which is clearly the result of calling toString() on something that hasn't overridden it. Point is that the project.licenses property is definitely present, it's just that I'm unable to access any of the elements. -- Mark Raynsford | http://www.io7m.com pgp8naM0lCYGF.pgp Description: OpenPGP digital signature

Re: How to create a site/doxia plugin?

2018-07-02 Thread Mark Raynsford
s an example of how to do this: https://github.com/io7m/primogenitor/blob/develop/pom.xml#L908 -- Mark Raynsford | http://www.io7m.com pgpM45UDaunEa.pgp Description: OpenPGP digital signature

Re: Inserting a single module-info after shading

2018-02-03 Thread Mark Raynsford
On 2018-02-03T13:43:18 + Mark Raynsford <org.apache.maven.u...@io7m.com> wrote: > > It seems like I'd need to compile the module-info.java against a fake > source directory (to stop the compiler complaining that the module is > empty) and then insert the resulting modu

Inserting a single module-info after shading

2018-02-03 Thread Mark Raynsford
though. Is there a better way? -- Mark Raynsford | http://www.io7m.com pgp60bNlL2pJb.pgp Description: OpenPGP digital signature

Getting a list of "to be modularized" dependencies in topological order?

2018-02-20 Thread Mark Raynsford
topologically (so that dependencies on the leaves of the tree are listed first). This lets me know the most efficient order in which to update dependencies. Is there a plugin available that can do this? I've not been able to find anything. -- Mark Raynsford | http://www.io7m.com pgpHiLcTokQg2

Re: New JDK 9 module chasing tool (was: Getting a list of "to be modularized" dependencies in topological order?)

2018-02-24 Thread Mark Raynsford
're analyzing isn't in Maven Central, you will see a (harmless) error stacktrace as the resolver tries to resolve it from Central. There's an easy fix for this, I just haven't done it yet. -- Mark Raynsford | http://www.io7m.com pgpK7CmSPCotl.pgp Description: OpenPGP digital signature

New JDK 9 module chasing tool (was: Getting a list of "to be modularized" dependencies in topological order?)

2018-02-23 Thread Mark Raynsford
with Sonatype and am just waiting for them to upgrade their infrastructure. Until that happens, you'll have to clone and "mvn install" this yourself. Sorry! -- Mark Raynsford | http://www.io7m.com pgpltlP_VR_C6.pgp Description: OpenPGP digital signature

Re: Getting a list of "to be modularized" dependencies in topological order?

2018-02-21 Thread Mark Raynsford
a tree, but that's probably the closest you can get > right now. > OK, thanks. I think I need to write a plugin! -- Mark Raynsford | http://www.io7m.com pgpnV5jDHQGmK.pgp Description: OpenPGP digital signature

Re: Writing own plugin: The parameter annotation - does it work?

2018-04-16 Thread Mark Raynsford
s for you these days, I'm not sure). -- Mark Raynsford | http://www.io7m.com pgpjIFyPlMKZV.pgp Description: OpenPGP digital signature

Re: Copying dependencies (including reactor modules)

2018-10-22 Thread Mark Raynsford
that make up a given project? -- Mark Raynsford | http://www.io7m.com pgpghZ4GFiOXs.pgp Description: OpenPGP digital signature

Re: Copying dependencies (including reactor modules)

2018-10-21 Thread Mark Raynsford
mbly-plugin/ 'Ello. Thanks for the suggestion. Unfortunately, the Assembly plugin seems to be a no-go because it's not possible to specify a descriptor file on the command line via a property. It has to be specified in a POM file somewhere. -- Mark Raynsford | http://www.io7m.com pgpBYdXApyxhF.pgp

Copying dependencies (including reactor modules)

2018-10-21 Thread Mark Raynsford
/jregions $ mvn magic-copier:copy -DoutputDirectory=/tmp/out ... and end up with all of the project's runtime artifacts, and the transitive runtime-scoped dependencies of the project, in /tmp/out. I'm not opposed to writing a custom plugin to do this, but I'd prefer to avoid that if possible. --

Re: Copying dependencies (including reactor modules)

2018-10-29 Thread Mark Raynsford
I've put together a small plugin to address this issue: https://github.com/io7m/halite -- Mark Raynsford | http://www.io7m.com pgpX3tqYJgKgO.pgp Description: OpenPGP digital signature

PSA: You can't push POMs with child.inherit.append.path attributes to Maven Central yet

2018-11-01 Thread Mark Raynsford
-4085 Just letting everyone know that they'll run into this until Sonatype do whatever updates are required. -- Mark Raynsford | http://www.io7m.com pgpcmKfhuQ2lX.pgp Description: OpenPGP digital signature

Specifying a deployment repository *only* by ID?

2018-11-03 Thread Mark Raynsford
This is cumbersome, because I've already provided that URI and layout in the ~/.m2/settings.xml file. I'd much rather do: $ mvn deploy -DaltDeploymentRepository=releases Is there some way I can achieve this without putting anything in the project's pom.xml? -- Mark Raynsford | http://www.io7m.com

Username/password not sent for altDeploymentRepository?

2018-11-04 Thread Mark Raynsford
ear: I'm deploying to /repository/example-releases, as this is a repository that holds local releases, but I'm downloading artifacts via /repository/releases as this is a repository group that contains a proxy for Central. -- Mark Raynsford | http://www.io7m.com pgpF52OiH7a5s.pgp Description: OpenPGP digital signature

Re: Username/password not sent for altDeploymentRepository?

2018-11-04 Thread Mark Raynsford
On 2018-11-04T12:30:32 + Mark Raynsford wrote: > > 2018-11-04 12:14:16,266 [qtp367589601-760] INFO > org.apache.archiva.security.ArchivaServletAuthenticator [] - Authorization > Denied [ip=10.2.4.1,permission=archiva-upload-repository,repo=arc7-releases] > : no match

Re: Specifying a deployment repository *only* by ID?

2018-11-04 Thread Mark Raynsford
On 2018-11-04T00:24:46 +0100 "Mirko Friedenhagen" wrote: > Hello Mark, > > you may put the property in a profile of your settings.xml and just call „mvn > -P releases deploy“ given the profile is called releases. Ah, yes, thank you! Didn't think of that. --

Re: Username/password not sent for altDeploymentRepository?

2018-11-05 Thread Mark Raynsford
". Given MDEPLOY-244, it looks as though "example-releases::default" is being treated as the repository ID (and therefore isn't finding credentials in settings.xml). -- Mark Raynsford | http://www.io7m.com pgpkRSUoQ1UQL.pgp Description: OpenPGP digital signature

Re: PSA: You can't push POMs with child.inherit.append.path attributes to Maven Central yet

2018-11-02 Thread Mark Raynsford
definitive solution: sorry for the mistakes, and eager to see more > user tests to detect such issues earlier in the future It was slightly poor timing on my part. I was incredibly busy throughout the entire 3.6.0 release and only had time to test one plugin. I should be more available for 3.6.1. -- Mark R

Re: Username/password not sent for altDeploymentRepository?

2018-11-04 Thread Mark Raynsford
with ids "example-releases" and "example-snapshots" and the credentials are picked up correctly by the deploy plugin. -- Mark Raynsford | http://www.io7m.com pgpxFdu1Tdhlc.pgp Description: OpenPGP digital signature

Re: Copying dependencies (including reactor modules)

2018-12-08 Thread Mark Raynsford
er to run a > development server. As part of a test suite? > It's pretty weird imho, that, when excluding a groupId, the plugin still > tries to download dependencies with that groupId, even if later it is going > to exclude them! Which plugin are you referring to here? -- Mark Raynsford

Jar plugin: Per-entry compression settings?

2019-03-07 Thread Mark Raynsford
(), however, is pretty much dependent on those particular resources not being compressed. It seems as though the jar plugin only allows me to turn compression on or off for the entire archive. Is there any way I can specify that I want everything compressed except for a few specific entries? -- Mark

Finding out what the versions plugin did

2019-07-07 Thread Mark Raynsford
there some better way to do this? -- Mark Raynsford | http://www.io7m.com pgpxfNYhIx3l_.pgp Description: OpenPGP digital signature

More module-related Javadoc issues

2020-06-07 Thread Mark Raynsford
a little better please assist? -- Mark Raynsford | https://www.io7m.com pgprJjH9iYo60.pgp Description: OpenPGP digital signature

Re: Scratching my head over repositories ...

2021-04-22 Thread Mark Raynsford
hub.com/io7m/primogenitor/blob/develop/pom.xml#L1035 ... and deploying to Central is literally just: $ mvn -Dio7m.release=true deploy The main problem is that the nexus-staging-maven-plugin isn't free software. The reason for this escapes me. -- Mark Raynsford | https://www.io7m.com pgp4w

Re: Maven Book recommendation

2022-01-29 Thread Mark Raynsford
His work was a direct influence over the primogenitor pom that I use in over a hundred projects: https://github.com/io7m/primogenitor -- Mark Raynsford | https://www.io7m.com pgpyLTts6pT3Q.pgp Description: OpenPGP digital signature

Splitting a dependency tree with the assembly plugin

2022-05-07 Thread Mark Raynsford
odules". I _think_ what's happening is that because com.io7m.junreachable.core is also transitive dependency of com.io7m.eigion.gui, it's being excluded. Is there perhaps a more intelligent way to achieve what I'm trying to achieve? -- Mark Ra

Re: Splitting a dependency tree with the assembly plugin

2022-05-07 Thread Mark Raynsford
encies would need to be arranged. -- Mark Raynsford | https://www.io7m.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Splitting a dependency tree with the assembly plugin

2022-05-08 Thread Mark Raynsford
istribution zip, and the distribution model unpacks the distribution and re-packs it with the contents of the other application. I've had to introduce profiles in order to avoid breaking the build if assemblies are skipped. -- Mark Raynsford | https

Working around "Can't compile test sources when main sources are missing a module descriptor"

2023-06-29 Thread Mark Raynsford
org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile failed: Can't compile test sources when main sources are missing a module descriptor -> [Help 1] Is there perhaps a better way to get the Compiler plugin to ignore src/main/java and just compile the tests? -- Mark Raynsford | ht