Re: [VOTE] Require Java 17 for Maven 4

2024-02-27 Thread Mark Eggers
+1 (nonbinding) On 2/27/2024 11:30 PM, Benjamin Marwell wrote: Hi Maven Devs/Users/Committers and PMC members! After several discussions on the mailing lists, I would like to start a vote in favour of setting the minimal Java bytecode target of Maven-Core 4 to 17 and hence require Java 17 for

Re: maven debugging frustrations

2023-12-19 Thread Mark Eggers
/19/2023 2:16 PM, mark.yagnatin...@barclays.com.INVALID wrote: Thanks, I've heard of all three; the first two don't seem like they'd help here. The third tends to spew junk and not useful stuff -Original Message- From: Mark Eggers Sent: Tuesday, December 19, 2023 5:11 PM To: users

Re: maven debugging frustrations

2023-12-19 Thread Mark Eggers
Some commands that might help you get started: What are you using to build the artifact mvn help:effective-pom mvn help:effective-pom -Dverbose What artifacts are being brought in -- mvn

Re: Excluding artifact from project-info-reports dependency report

2023-12-19 Thread Mark Eggers
. . . . However, that doesn't seem to be available. Of course, then you wouldn't be able to tell of that WAR dependency had updates. Hmm. Thanks for replying. Mark /mde/ On 12/19/2023 3:32 AM, Nils Breunese wrote: Can’t these resources be packaged in plain JARs and added as a regular

Excluding artifact from project-info-reports dependency report

2023-12-18 Thread Mark Eggers
). I'm using maven-project-info-reports-plugin 3.5.0 with a variety of Maven versions (3.6.3, 3.9.6), and a variety of JDKs (8, 11, 17). Any ideas would be greatly appreciated. Thanks in advance, Mark /mde/ - To unsubscribe, e

Re: maven-checkstyle-plugin using project dependencies?

2023-12-18 Thread mark
Op 15-12-2023 om 18:01 schreef David Hoffer: Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin

Re: how to log exact HTTP request and response maven sends over the wire?

2023-10-30 Thread mark
Op 30-10-2023 om 16:14 schreef mark.yagnatin...@barclays.com.INVALID: I have to edit the file? There's no way to set this from command line? You can set them as properties on the Maven commandline eg. -Dorg.slf4j.simpleLogger.log.org.apache.maven.wagon.providers.http.httpclient=debug like

Re: Feedback sought

2023-10-14 Thread Mark Derricutt
just seemed to stalemate (at least as far as I saw). Palantir/spotless does at least require JDK 11+ I believe so that's a big blocker, at least as far as the build JDK goes. Mark (with 2cents) On 15/10/23 3:10 pm, Joseph Kesselman wrote: My experience is that they can actually be useful

Re: [ANN] Apache Maven 4.0.0-alpha-7 released

2023-08-27 Thread Mark Derricutt
On 29/06/2023 at 3:16:24 PM, Guillaume Nodet wrote: > Maven 4.0.0-alpha-7 is available via https://maven.apache.org/download.cgi > Interesting - I noticed over the weekend that under 4.0.0-alpha-7 surefire isn’t picking up any of my Junit 5 tests, but maven 3.9.4 is. I haven’t had a chance

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

Maven Plugin Validation: Questions and Improvements

2023-06-13 Thread Mark Symons (Fujitsu)
lugin need to be fixed sooner rather than later? Mark Symons Software Security Specialist, UK Delivery Fujitsu Langley Gate, Swindon Road, Kington Langley, Chippenham, SN15 5SE UK Tel: +44 (0) 7917 747950 Email: mark.sym...@fujitsu.com Web: https://www.fujitsu.com/uk/ Unless otherwise stated, this

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

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

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: Determine Maven Dependencies after a build

2022-04-15 Thread Mark Derricutt
On 16/04/2022 at 3:09:09 AM, "Creager, Greg" wrote: > Is there a drawback to simply running resolve-ranges before official > builds to ensure the pom has static versions? That seems like it would > resolve having published poms with version ranges in production. > mvn versions:resolve-ranges

Re: Determine Maven Dependencies after a build

2022-04-13 Thread Mark Derricutt
I don’t believe there currently is a way for this is native maven. We ended up writing a custom tool/mojo for resolution management using a DSL like: repository https://repo1.maven.org/maven2/ as central; resolve highest org.antlr:antlr4-maven-plugin:[4.10,5.0.0) via central; locked

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

Re: [ANN] Maven Resolver 1.7.1 released

2021-06-27 Thread Mark Derricutt
Interesting - updating to this version from 1.7.0 in my own plugin now yields an NPE when creating a RepositorySystem - guess I know one thing I’m working on this week :) -- "Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree Release Notes - Maven Resolver

Re: pvn package command dependencies error

2021-05-04 Thread Mark H. Wood
ne who has done it with a released version of DSpace. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: PGP signature

Re: Attaching dependency-reduced POM to build using Maven Assembly or Shade

2021-04-25 Thread Mark Eggers
For executable JARs I do this as well. Sometimes for simpler projects, I'll add: true lib/ to the JAR plugin. I use the assembly plugin to place everything in its proper place. That way I can just ship a tar.gz or zip file with all of the bits. Unzip / untar

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: Scratching my head over repositories ...

2021-04-22 Thread V. Mark Lehky
I think you should be able to define your repo to take precedence over Maven Central. >From documentation Remote repository URLs are queried in the following order for artifacts until one returns a valid

Re: [maven-failsafe-plugin] run suites in parallel using maven failsafe

2021-04-13 Thread V. Mark Lehky
guration parallel=suites, threadCountSuites=2, > test=SuiteMainTest. > This would work as you want to. > > It would nice to write an example in our documentation. If you want to > participate in the open source, you can open a pullrequest in GitHub. > > > Cheers > Tibor >

[maven-failsafe-plugin] run suites in parallel using maven failsafe

2021-04-12 Thread V. Mark Lehky
I am trying to run my tests in parallel, and I have a use-case different from all others that I have been able to find. My tests are laid out pretty straight-forward, something like the following: src/test/java/ +-features.areaA | +-SomeStory.java | +-AnotherStory.java | ... +-features.areaB |

Re: Maven internal company component sharing best practices

2021-04-12 Thread Mark Eggers
On 4/12/2021 11:11 AM, Alexander Kriegisch wrote: IMO you are right, David. I would suggest your colleagues follow your idea in order to avoid the concerns you raised. You have such nice, independent single-module apps now. Why sacrifice that and pruposefully killing modularisation by doing

Re: GitHub Actions yml

2021-02-14 Thread mark
Op 14-02-2021 om 04:05 schreef Anthony Whitford: However, I would ideally also like to see workflows for running Site (and SCM-Publish to GitHub Pages) there's a generic publishing action you can use to push some directory into a gh-pages branch:

Re: Version ranges: bug or feature

2020-11-11 Thread mark
You may be able to configure/improve this by setting up your repositories (eg the updatePolicy and type of artifacts) see https://maven.apache.org/pom.html#repositories -M - To unsubscribe, e-mail:

Re: Resource plugin - LifecycleExecutionException - Input length = 1

2020-08-13 Thread Mark Prins
Op wo 12 aug. 2020 om 21:47 schreef Tobias : > > > Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin:3.2.0:testResources > (default-testResources) on project XXX: Input length = 1 > > See [2] below for a more detailed stack trace. > > Do you know what goes wrong and how

mismatch between maven-release-plugin site and available artifacts

2020-07-10 Thread Mark Prins
/maven/plugins/maven-release-plugin/ can anyone resolve this? TIA, Mark - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven moving to the next level: the build/consumer pom

2020-06-23 Thread Mark Derricutt
be elided if the parent version matched AND that dependency is part of the reactor. However, I have seem people use reactors purely as build-coordinators, and not always used. I'd much rather seeing them stay - esp. if using version ranges ( we force [] ranges for instance ). Mark On 24/06/2

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: missing dependency version

2020-03-12 Thread mark
looks like you got a html document instead of a pom file as a response On 2020-03-12 20:00, Rune Gellein wrote: Hi, I was have just moved to using the maven resolver ant task and I am now getting this error: /org.apache.maven.model.building.ModelBuildingException: 4 problems were encountered

Re: Best Practice for distributing test utilities?

2020-03-12 Thread Mark Prins
refactor foo to a multimodule one with the test utilities as an artifact and one with the code + tests for original foo, you can then depend on the test module with scope test in the main module and keep everything in source repo making it easy to stay in sync On 12-03-2020 14:55, Andreas

Re: Configure default execution phase

2019-12-23 Thread Mark Prins
You should be able to change the default execution phase of a plugin (as well as bind a goal to any other phase) by configuring explicit executions bound to a phase see: https://maven.apache.org/guides/mini/guide-default-execution-ids.html You would need to use an id of "default-update" to

Re: is there a maven plugin to identify ancient pom dependencies

2019-12-23 Thread Mark Prins
ing like this: https://www.mojohaus.org/versions-maven-plugin/display-dependency-updates-mojo.html Hope that helps Enrico Il sab 21 dic 2019, 18:31 mark ha scritto: On 2019-12-20 13:39, Marlow, Andrew wrote: Hello everyone, I am using the owasp maven dependency plugin to tell me when I am using components th

Re: is there a maven plugin to identify ancient pom dependencies

2019-12-21 Thread mark
On 2019-12-20 13:39, Marlow, Andrew wrote: Hello everyone, I am using the owasp maven dependency plugin to tell me when I am using components that have CVEs. That’s great. I was wondering if there was something similar that would tell me when I am using very old components (where the

Re: Augment pom dependencies information with custom ones

2019-12-06 Thread Mark H. Wood
paces instead of killing the build with an ERROR. Then a POM document could be augmented for processing by other tools (such as a slightly different XSL transform). -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street I

Re: Maven Release Plugin Message Format

2019-11-01 Thread Mark Prins
don' t recall any commits like that, generally I see that the last commit in a tag is "[maven-release-plugin] prepare release ..." and in my master branch I see "[maven-release-plugin] prepare release

Re: POM parent/import relationship visualization

2019-10-29 Thread Mark Eggers
On 10/29/2019 9:01 AM, Tomo Suzuki wrote: > Hi Marco, > > Thank you for response. NetBeans' "Effective" almost worked. It showed the > problematic artifact "grpc-api:1.24.0", which I was looking for, and showed > it's from "grpc-bom". Great. But I also want to see where this grpc-bom > coming

Re: Quicker local maven builds article

2019-10-22 Thread Mark H. Wood
ot being able to grep for specific GAVs is a critical flaw. Wrong tool. grep is for text, not structured documents. Try XQuery. But this is wandering away from "how can we avoid rebuilding unchanged stuff?" -- Mark H. Wood Lead Technology Analyst University Library Indiana University

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

Re: Surefire plugin with multi-release?

2019-04-08 Thread Mark Derricutt
Well this escalated quickly :) Now to find some time to look at this. I'll pull the plugin code later On 6 Apr 2019, at 19:52, Tibor Digana wrote: > Mark, do not forget to update documentation with certain usecase(s). > Configure your tool (prefer IntelliJ IDEA) with code styl

Re: Surefire plugin with multi-release?

2019-04-04 Thread Mark Derricutt
wanted? --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+Ma

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

Re: Is specifying direct dependencies a good practice?

2019-01-10 Thread Mark H. Wood
On Thu, Jan 10, 2019 at 09:14:45AM -0500, Mark H. Wood wrote: > I try always to declare all direct dependencies, regardless of whether > they are also transitive dependencies (today). > > One reason for this is that it improves the documentation of the > project. Not only does it

Re: Is specifying direct dependencies a good practice?

2019-01-10 Thread Mark H. Wood
s no more, can break the build in a way that is quite avoidable. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: PGP 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

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: 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: 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

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: 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. --

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

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

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

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

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
On 2018-10-21T22:27:28 +0200 mark wrote: > > I'd look into a packaging plugin like m-assembly-p with a "dir" format > and not a dependency gathering plugin because project artifacts are not > dependencies > > https://maven.apache.org/plugins/maven-asse

Re: Copying dependencies (including reactor modules)

2018-10-21 Thread mark
On 10/21/18 8:02 PM, Mark Raynsford wrote: Hello. I'd like to, for an arbitrary project (in other words, a project for which I cannot edit the pom.xml files), copy the project's artifacts and the project's dependency artifacts into a directory. The maven-dependency-plugin copy-dependencies

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: [ANN] Apache Maven Install Plugin Version 3.0.0-M1 Released

2018-10-01 Thread Mark Derricutt
plugin back down, and raise a ticket for Karaf. Mark --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://w

Re: Not a chance to show conflicts in dependency tree?

2018-09-11 Thread Mark Prins
On 11-09-18 10:56, Nicolas Peifer wrote: Hi, I'm trying to show dependency conflicts using "mvn dependency:tree -Dverbose -Dincludes=commons-collections" as described in the documentation[1]. Unfortunately, this gives the following error: "Verbose not supported since maven-dependency-plugin

Integration testing of command line tools?

2018-08-20 Thread Mark H. Wood
and just calling the appropriate method on an instance created by the test suite? Without stubbing or mocking the underlying code, of course, since it's an integration test. Is there a better place to ask? -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue

Re: Announcing OSSIndex plugins for Apache Maven: Scan your dependencies for known vulnerabilities

2018-07-25 Thread Mark Derricutt
OWASP dependency checker. Cheers Mark --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chalice

Re: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter ->

2018-07-03 Thread Mark Prins
On 30-06-18 16:39, Karen Goh wrote: Hi expert, I used maven build and run goal : deploy to see how my spring framework project run but I got the above error. There is this stackoverflow person which has similar problem as mine:

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: 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-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-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

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: site with file copy

2018-05-04 Thread Mark Prins
director, but only on the site goal. You could use the anrun plugin during the (pre-)site phase or stick the files into src/site/resources/ (with optional directories) so the site plugin picks them up. -Mark - To unsubscribe, e

Re: How to hide internal build details from deployed pom.xml ?

2018-04-22 Thread Mark Prins
You can deploy artifacts using a custom, cleaned up pom that doesn't have a build section -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.

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: maven release plugin

2018-03-01 Thread Mark Derricutt
On 1 Mar 2018, at 23:18, Matthew Broadhead wrote: > Thanks Mark.  looks easy enough.  i may try a maven plugin first though as i > like the idea of maven controlling all the git pushes etc I tend to NOT let maven do the git pushes, for the cases we're doing releases on a hot fix, or a s

Re: maven release plugin

2018-02-28 Thread Mark Derricutt
hen does a batch release/push. I don't think I've ever had any issues with maven versioning, unless the version number as part of the release/merge has changed to something unexpected. YMMV Mark --- "The ease with which a change can be implemented has no relevance at all to whether it is th

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

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: 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

Re: maven-war-plugin addClasspath useless, because it cannot add absolute paths

2018-01-25 Thread Mark Prins
2018-01-25 11:43 GMT+01:00 Basin Ilya : > Hi List. > As far as I know, Class-Path in MANIFEST.MF of a .war file is only useful > when you need to add jars that are not in WEB-INF/lib and not provided by > the container. > this really depends on the classloader of the

Re: Avoid guava version conflict with hbase by shading

2018-01-22 Thread Mark Prins
On 21-01-18 08:21, Debraj Manna wrote: Mark One more query if some other dependency (let's say elasticsearch for example) leaks its usage of guava then it may happen I end up again with two incompatible versions of guava. What is the recommended way of handling this? You would need to find

Re: Avoid guava version conflict with hbase by shading

2018-01-20 Thread Mark Prins
my code? On Sat, Jan 20, 2018 at 1:44 PM, Mark Prins <mc.pr...@gmail.com> wrote: > You could try shading the new guava to a different package and use that in > your code. > E.g. jena-shaded-guava does that > > Op 20 jan. 2018 09:02 schreef "Debraj Manna" <s

Re: Avoid guava version conflict with hbase by shading

2018-01-20 Thread Mark Prins
You could try shading the new guava to a different package and use that in your code. E.g. jena-shaded-guava does that Op 20 jan. 2018 09:02 schreef "Debraj Manna" <subharaj.ma...@gmail.com>: > Mark > > hbase and hadoop is using the old guava. Is there a way I can use

Re: Avoid guava version conflict with hbase by shading

2018-01-19 Thread Mark Prins
It seems that the guava versions are not API compatible, so shading is unlikely to help. You will need to downgrade to a compatible version of guava or get the other projects to upgrade. -M Op 20 jan. 2018 07:51 schreef "Debraj Manna" : I have posted more details in

Re: Package failed

2017-10-31 Thread Mark Prins
2017-10-31 10:27 GMT+01:00 Oleg Lempert : > Hi > I running project with option / -Dmaven.test.skip=true > this hint is just for the compiler/surefire/failsafe plugin, but does not mean that dependency resolution will not happen for this artifact because in fact it will (and

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

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

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

Re: failsafe: proper shutdown on failure

2017-10-02 Thread Mark Prins
I think the build is halted after the failure, so no further phases are processed. Using "-fae" (fail-at-end) may help, but I may be wrong. Mark - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additi

Re: When time do we need to delete .m2/repository

2017-09-17 Thread Mark Derricutt
available, is a slight comfort ( esp. from some bad experiences of a corrupt local nexus server and having try and source some older artefact builds ). --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all

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: Maven not getting latest artefact after deploy:deploy-file

2017-08-04 Thread Mark Prins
On 03-08-17 17:57, Mehul Sanghvi wrote: I will do my best to illustrate with as simple an example as I can. Hopefully I don't miss anything by simplifying it. Project-A: com.my.dept dept-artefact 11.3.0.1.0-SNAPSHOT The above is uploaded to Nexus using deploy:deploy-file Project-B depends

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

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

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

Questions about

2017-06-28 Thread Mark H. Wood
reference? o Where *is* it documented? Lots of people seem to know about it. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Descri

Maven 3.5.0 and the versions plugin

2017-04-13 Thread Mark Eggers
Folks, I'm working on upgrading an environment to maven 3.5.0. With prerequisites in pom.xml, I get the expected message: [WARNING] The project org.mdeggers:CSEquity:war:1.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin

  1   2   3   4   5   6   7   8   9   10   >