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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
though. Is there a
better way?
--
Mark Raynsford | http://www.io7m.com
pgp60bNlL2pJb.pgp
Description: OpenPGP digital signature
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 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
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
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
s for you these days, I'm not
sure).
--
Mark Raynsford | http://www.io7m.com
pgpjIFyPlMKZV.pgp
Description: OpenPGP digital signature
that make up a given project?
--
Mark Raynsford | http://www.io7m.com
pgpghZ4GFiOXs.pgp
Description: OpenPGP digital signature
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
/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.
--
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
-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
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
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
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
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.
--
". 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
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
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
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
(), 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
there some better way to do this?
--
Mark Raynsford | http://www.io7m.com
pgpxfNYhIx3l_.pgp
Description: OpenPGP digital signature
a little better please
assist?
--
Mark Raynsford | https://www.io7m.com
pgprJjH9iYo60.pgp
Description: OpenPGP digital signature
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
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
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
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
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
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
42 matches
Mail list logo