Re: Continuous Delivery with Maven now possible?

2017-05-04 Thread Curtis Rueden
Hi Dan, Karl & everyone, > See Karl's Blog Link, please? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Wed, May 3, 2017 at 7:54 PM, Dan Tran <dant...@gmail.com> wrote:

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-05-01 Thread Curtis Rueden
so that the problem can be fixed before even more commits are made at that same version number. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Mon, Apr 24, 2017 at 9:09 PM, Charles

Re: javafx-maven-plugin seems to ignore finalName parameter

2017-04-27 Thread Curtis Rueden
be the best person to answer you. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Thu, Apr 27, 2017 at 8:23 AM, Uwe <uwe.ander...@amsde.com> wrote: > I want the javafx-mav

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Curtis Rueden
nd, I think many people just use a "snapshots all the time" approach because it is initially easier, without realizing how this will burn them in the future. That said, I also think there should be a property to disable the warning, since there are valid use cases (see above) for usin

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Curtis Rueden
builds. Regards, Curtis P.S. to Rick Huff: Thanks for taking the time to reply. :-) -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Mon, Apr 24, 2017 at 12:37 PM, jieryn <jie...@gmail.c

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Curtis Rueden
e Bill of Materials POM and I need to know things like "which components have new releases available" and "which components have SNAPSHOT builds since the last release." How do other people answer these questions without custom tooling, and without using LATEST or RELEASE tags? Regards

Re: understanding maven version resolution: minor and snapshots

2017-04-21 Thread Curtis Rueden
uot;version must be at least as new as 3.2.0". Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Fri, Apr 21, 2017 at 6:18 PM, Jörg Wille <joerg.wi...@gmail.com> wrote: >

Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-13 Thread Curtis Rueden
e. Thanks for any insight, workarounds, counterarguments, agreement. (Especially if you agree: please speak up, so the core Maven devs know I'm not just an outlier here!) Regards, Curtis [1] https://github.com/ctrueden/jrun -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software Im

Re: dependency question

2017-04-11 Thread Curtis Rueden
u mean "social support" as opposed to technical functionality? Because they are still present in the codebase, and they still work technically: https://github.com/apache/maven/blob/master/maven- resolver-provider/src/main/java/org/apache/maven/repository/internal/ DefaultVersionResolver.java#

Re: dependency question

2017-04-11 Thread Curtis Rueden
ently. The only way (I know of) to achieve reproducible builds is to use fixed release versions, always. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Tue, Apr 11, 2017 at 9:57 AM, M

Re: Set Windows File Version metadata?

2017-04-10 Thread Curtis Rueden
nice Maven plugin for it, too: https://github.com/javafx-maven-plugin/javafx-maven-plugin Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Mon, Apr 10, 2017 at 6:03 AM, James Green

Re: How to add class file to build & classpath?

2017-04-06 Thread Curtis Rueden
, but in your case it will be your javassist-based approach of course. The main-project module depends on the adhoc-dependency module just fine, and is able to see the generated class without issue. Does it work for you? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu

Re: How to add class file to build & classpath?

2017-04-06 Thread Curtis Rueden
parate module of a multi-module build, then add that module as a dependency to your main project module? Could you post an MCVE, particularly your POM, which shows your current approach? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji main

Re: Getting maven to create a bundle manifest incrementally in eclipse

2017-03-21 Thread Curtis Rueden
urs. But I don't have a deep understanding of the M2E integration. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Tue, Mar 21, 2017 at 10:01 AM, Bill Mair <b...@billmairsolutions.ltd.uk&

Re: Gentoo packaging / reproducibility of Maven-based Java projects

2017-03-20 Thread Curtis Rueden
ich are too arduous to build from source will kill downstream potential for inclusion with Gentoo, but that's always/already true for a 100% source-based distro. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net

Gentoo packaging / reproducibility of Maven-based Java projects

2017-03-17 Thread Curtis Rueden
for source-oriented Linux distributions, or otherwise for reproducibility. Comments and ideas very welcome. Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden

Re: Maven password encryption by project

2017-03-17 Thread Curtis Rueden
riable or similar. For manual deployment, developers use their own ~/.m2/settings.xml with their own credentials—i.e., for us, the .travis/settings.xml is _only_ for Travis builds. HTH, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji m

Re: Plugin assembly: Howto use 'single' goal as an agregator ?

2017-03-14 Thread Curtis Rueden
Hi Alix, Why not stick with the old version of maven-assembly-plugin until you have to refactor your build more thoroughly? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Tue, Mar 14

Re: uber source jar

2017-03-08 Thread Curtis Rueden
om/imagej/imagej/blob/imagej-2.0.0-rc- 59/pom.xml#L395-L626 -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Wed, Mar 8, 2017 at 4:05 PM, Ben Tatham <bentat...@nanometrics.ca> wrote: > Is ther

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-06 Thread Curtis Rueden
in each child POM, maybe the scijava-maven-plugin's requireElements rule _can_ help you here? Or do you, again, only want to set the description in some intermediate POM layer? Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer

Re: Download an artifact and its dependencies without a pom.xml

2017-03-02 Thread Curtis Rueden
://github.com/ctrueden/jrun [2] Windows users need POSIX-compliant shell, though. I did not test it yet. -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Thu, Mar 2, 2017 at 9:50 AM, Curtis Rueden <ctrue...

Re: Defining a property designed to be overridden?

2017-03-02 Thread Curtis Rueden
ot enforcing these things... Well, since this rule is mostly for you yourself, and not some nebulous cloud of community developers consuming your stuff, you can probably get away with a nice shell script that calls grep over your POMs, and barfs when various things are not found. Easy, right? Regard

Re: Defining a property designed to be overridden?

2017-03-02 Thread Curtis Rueden
pefully someone else here can comment in more detail, and/or suggest alternative solutions here. In any case, if you pursue this, it should work to test locally by installing the plugin into your local repo cache using the "install" phase, and then using "org.scijava:scijava-maven-plugi

Re: Defining a property designed to be overridden?

2017-03-02 Thread Curtis Rueden
eckout), the enforcer would fail because it would not find the local parent POM to validate against. One can also imagine various "aggegator != parent" organizations where the parent is not available locally, which would also all fail to support this scheme. Thoughts? -- Curtis Rued

Download an artifact and its dependencies without a pom.xml

2017-03-02 Thread Curtis Rueden
tputDirectory=. dependency:copy-dependencies; rm pom.xml; java -cp '*' "$m" Can this be done more elegantly? Thanks, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden

Re: Defining a property designed to be overridden?

2017-03-02 Thread Curtis Rueden
operty! true Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Thu, Mar 2, 2017 at 2:50 AM, <org.apache.maven.u...@io7m.com> wro

Re: Defining a property designed to be overridden?

2017-03-01 Thread Curtis Rueden
reProperty.html [2] http://www.mojohaus.org/extra-enforcer-rules/ requirePropertyDiverges.html -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On W

Re: Defining a property designed to be overridden?

2017-03-01 Thread Curtis Rueden
-maven-plugin-1.0.0/src/main/java/org/scijava/maven/plugin/enforcer/ RequireElements.java#L55-L61 -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden On Wed, Mar 1, 2017 at 12:35 PM, <org.apache.maven.u...@io7

Re: jaxb archetype (newbie)

2017-01-17 Thread Curtis Rueden
tps://maven.apache.org/guides/plugin/guide-java-plugin-development.html "Important Notice" [3] https://maven.apache.org/guides/mini/guide-creating-archetypes.html "Alternative way to start creating your Archetype" -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/so

Re: jaxb archetype (newbie)

2017-01-16 Thread Curtis Rueden
. > 3. Pointers to how to convert a custom ant task into a maven goal? You can use the maven-antrun-plugin: http://maven.apache.org/plugins/maven-antrun-plugin/ Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://i

Re: Managing offline links across a multi-module project with javadoc

2017-01-16 Thread Curtis Rueden
of: * ${session.executionRootDirectory} * directory:execution-root goal (via https://github.com/jdcasey/ directory-maven-plugin) * scijava:set-rootdir goal (via https://github.com/scijava/ scijava-maven-plugin) Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer

Re: Excluding -beta-N from a range

2017-01-12 Thread Curtis Rueden
Hi Benson, > I did not know how to tell them how to write a range that has the > desired effect. Is there one? Would it work to use a hacky range like: [1.0.0,1..] ? Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji main

Re: maven-enforcer-plugin rules question

2017-01-11 Thread Curtis Rueden
10 minutes. Maybe someone else here has more experience with it. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Wed, Jan 11, 2017 at 6:10 AM, Martin Gainty <mgai...@hotmail.com>

Re: maven-enforcer-plugin rules question

2017-01-10 Thread Curtis Rueden
Hi Martin, I do not see how your example constitutes a "package cycle"? Both ClassA and ClassB belong to the same package. Put ClassA or ClassB into a different package, and see if the rule complains. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.ed

Re: maven-enforcer-plugin rules question

2017-01-10 Thread Curtis Rueden
Hi Martin, A quick Google search revealed this: https://github.com/andrena/no-package-cycles-enforcer-rule I haven't tried it personally. Though now that I know about it, I'm sorely tempted—it would certainly improve the API design. Regards, Curtis -- Curtis Rueden LOCI software architect

Re: Slightly more advanced resource filtering (templating)?

2017-01-03 Thread Curtis Rueden
} ^([0-9]+)\.([0-9]+)\.([0-9]+).*$ $1.$2.$3 false Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Tue, Jan 3, 2017 at 12:32 PM, Guillaume Boué <guillaume_b...@orange.fr>

Re: maven-jar-plugin

2016-12-23 Thread Curtis Rueden
he.org/plugins/maven-shade-plugin/ * http://one-jar.sourceforge.net/ Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Wed, Dec 21, 2016 at 5:52 AM, 亢龙不悔 <1016460...@qq.com> wro

Re: ${project.parent.parent.version} does not work

2016-12-02 Thread Curtis Rueden
ontrol the grandparent, then sorry, I don't know a simple way. Although you could elaborate on why you need this, and perhaps there is a different/better/simpler approach. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software On Fri, Dec 2, 2016 at 12:30 PM, F

Re: Need to fully understand bad implications of combined aggregator and parent pom

2016-11-30 Thread Curtis Rueden
ve never had that problem with multi-module projects that use a combined parent/aggregator in the top-level directory. This sounds like a bug to me. Can you please create an SSCCE / MCVE? Then maybe the community can comment further on what is going wrong for you. Regards, Curtis -- Curtis Rueden L

Re: Dependency convergence errors - how to resolve?

2016-11-29 Thread Curtis Rueden
e of your previous issue, and find out how to solve it without using this enforcer rule. Or maybe someone else who uses this rule can comment further on its intended use, and a way to achieve what you want. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software On

Re: Use same jar (different version) in one project

2016-11-29 Thread Curtis Rueden
tis [1] http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.commons%22%20AND%20a%3A%22commons-math3%22 [2] http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.commons%22%20AND%20a%3A%22commons-math%22 -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software Image

Re: Dependency convergence errors - how to resolve?

2016-11-19 Thread Curtis Rueden
tis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Fri, Nov 18, 2016 at 12:32 PM, Niranjan Rao <nhr...@gmail.com> wrote: > Greetings, > > I have set maven enforcer plugin with dependency convergence.

Re: Strategies for augmenting jar manifest with source provenance info?

2016-11-11 Thread Curtis Rueden
https://github.com/scijava/pom-scijava-base/blob/pom-scijava-base-1.0.0/pom.xml#L383-L400 Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Th

RE: Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread Curtis Rueden
You can add source directories using the build-helper-maven-plugin. On Oct 22, 2016 4:39 PM, "Robert Patrick" wrote: > I am using the section of the POM, not my own plugin, to > populate some tokens in a Java source file that we use to get build > information

Re: Comparing specifying repositories in pom vs. settings.xml?

2016-10-18 Thread Curtis Rueden
> I'm trying, without success, to imagine why you do not simply > accumulate elements as required. Wouldn't that cause Maven to ping every server sequentially for every needed artifact? Better to set up a Maven repository manager (Nexus, Artifactory, etc.) and proxy all the needed sources, no?

Re: Comparing specifying repositories in pom vs. settings.xml?

2016-10-17 Thread Curtis Rueden
d developers if they try to import the project into their favorite IDE and it fails to build. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Mon, Oct 17, 2016 at 4:48 PM, Manfred Moser <manf

Injecting a transitive dependency via dependencyManagement

2016-10-13 Thread Curtis Rueden
-bridge-1.8.pom [3] https://github.com/apache/batik/blob/batik-1_8/sources/org/apache/batik/bridge/PaintServer.java#L46-L53 [4] http://maven.40175.n5.nabble.com/How-to-manage-dependency-quot-includes-quot-td5857771.html -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead

Re: [EXTERNAL] Re: help with version range

2016-09-23 Thread Curtis Rueden
I think it is unsubstantiated to claim "most people" here. > There should be a simple way to achieve this I agree. Why not propose a new syntax, or even a patch? Maven is open source. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead,

Re: [EXTERNAL] Re: help with version range

2016-09-23 Thread Curtis Rueden
gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf > Of Curtis Rueden > Sent: Friday, September 23, 2016 9:01 AM > To: Maven Users List > Subject: [EXTERNAL] Re: help with version range > > Hi Justin, > > You could write "[1.1.0,1.1.9]", no? A bit hacky, but would

Re: SNAPHOST Depedency of plugin not found

2016-09-23 Thread Curtis Rueden
Hi Oliver, Can you share your POM? Did you configure the ? Regards, Curtis On Sep 23, 2016 3:54 AM, "Oliver B. Fischer" wrote: > Hi, > > I have a plugin dependency (currently only available as SNAPSHOT) declared > for the Maven dependency plugin. > > If I declare it

Re: help with version range

2016-09-23 Thread Curtis Rueden
Hi Justin, You could write "[1.1.0,1.1.9]", no? A bit hacky, but would match the versions you want in practice. Regards, Curtis On Sep 23, 2016 8:38 AM, "Justin Georgeson" wrote: > I’m using the parent version range feature with “[1.1.0,1.2.0)” and it had > been going

Re: Help with transitive shading

2016-09-21 Thread Curtis Rueden
case, no? Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Fri, Sep 16, 2016 at 12:21 PM, James Johansville < james.johansvi...@gmail.

Re: build no.

2016-08-31 Thread Curtis Rueden
Hi Kashif, Have a look at the buildnumber-maven-plugin from mojohaus: http://www.mojohaus.org/buildnumber-maven-plugin/usage.html Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software On Tue, Aug 30, 2016 at 3:36 AM, Kashif BHATTI <kashifz...@gmail.

Re: Property interpolation in child pom

2016-08-24 Thread Curtis Rueden
whether that makes a difference? If it does not matter, then (from my non-expert perspective) I am inclined to agree this seems like a defect, and you could file an issue in JIRA. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer

Re: POM Model version 4.1.0 in 3.4.0-SNAPSHOTs

2016-08-24 Thread Curtis Rueden
portant... but if we stop supporting it, our community will need some time to get used to it. In general, thanks to you both for investing so much time in this discussion. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://

Re: POM Model version 4.1.0 in 3.4.0-SNAPSHOTs

2016-08-24 Thread Curtis Rueden
ng POM has no effect anymore. I still feel this is a bug (or at least undesired quality) of the new approach. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden On Sun, Aug 21, 2016 at 10:12 AM,

Re: POM Model version 4.1.0 in 3.4.0-SNAPSHOTs

2016-08-22 Thread Curtis Rueden
rform my own complete dependency resolution—it's much simpler and more robust to lean on the Maven CLI and parse the results of e.g. "mvn dependency:list" or some such. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software On Sun, Aug 21, 2016 at

Re: Create test jar during build without attaching

2016-08-19 Thread Curtis Rueden
he question asked. > > The purpose of this thread is to figure out the best way to create a jar > during the build without attaching. That's the requirement. That's the > goal. > > On Fri, Aug 19, 2016 at 5:09 PM Curtis Rueden <ctrue...@wisc.edu> wrote: > > > Hi C

Re: Create test jar during build without attaching

2016-08-19 Thread Curtis Rueden
. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Fri, Aug 19, 2016 at 1:46 PM, Christopher <ctubb...@apache.org> wrote: >

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-19 Thread Curtis Rueden
. for the colorized output. So beautiful! -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Fri, Aug 19, 2016 at 3:05 AM, Christian Schulte &l

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread Curtis Rueden
a discussion for the dev list? Regards, Curtis [1] https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ h

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-17 Thread Curtis Rueden
rride the value of foo.version in your POM properties. This worked in Maven 3.3, but is currently broken in 3.4.0-SNAPSHOT. My understanding is that this is a bug distinct from the parent-vs-BOM versioning issue. No? Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/softw

Re: Building Docker image works in subproject, not from aggregator

2016-08-17 Thread Curtis Rueden
Hi David, Just a shot in the dark, but does it work to write: ${baseDir}/src/docker instead? Regards, Curtis On Wed, Aug 17, 2016 at 1:04 PM, KARR, DAVID wrote: > I'm using the "docker-maven-plugin" to build a simple image based on > TomEE. This is one subproject in a

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-16 Thread Curtis Rueden
be ideal if in the future (something for Maven 4?), as much of this logic as possible could be pushed out of core and into plugins, so that they can be pinned in the POM, to promote better build reproducibility. If you actually made it through this whole thing: thank you for reading. Regards, Cu

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-15 Thread Curtis Rueden
ub.com/ctrueden/a49622e77a65437208feb915a887f929 (Apologies if I misunderstood what you were asking to be tested.) Regards, Curtis P.S. The "Multiple conflicting imports" warning is very helpful. -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji m

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-15 Thread Curtis Rueden
Hi Stephane, Why can't we have the best of both worlds? Backwards compatibility, but with a "stop sucking" flag which enables the new better behavior? As I said previously, unless the previous behavior is preserved, all of my communy's existing releases (hundreds of projects, thousands of tags)

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-12 Thread Curtis Rueden
rds compatibility. All my old builds which used to work will no longer work. Wouldn't it be better to have some new configuration to achieve the desired result for previously broken builds? Maven component releases are immutable -- I can't go back and fix all my old releases to work with Maven 3.4.0

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-12 Thread Curtis Rueden
tter to me. However, if this behavior really must be changed, I would suggest pushing it till Maven 4, since it will surely break a lot of existing builds. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rued

Re: Increasing Java Heap Size

2016-08-08 Thread Curtis Rueden
ort of application, personally.) Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Mon, Aug 8, 2016 at 8:47 PM, lando <lan...@gmail.com&

Re: How does maven internally manages package dependency?

2016-06-16 Thread Curtis Rueden
> Maven does manage dependencies at the package level By which I meant "Maven does _not_ manage dependencies at the package level" On Thu, Jun 16, 2016 at 10:41 AM, Curtis Rueden <ctrue...@wisc.edu> wrote: > I almost responded to this question with "Mav

Re: How does maven internally manages package dependency?

2016-06-16 Thread Curtis Rueden
I almost responded to this question with "Maven does manage dependencies at the package level. Use OSGi for that." But then I realized that Debraj is specifically asking about how the Maven project itself keeps track of its package interdependencies. Debraj, I am an outsider, so do not know for

Re: Maven and Eclipse

2016-06-14 Thread Curtis Rueden
it is supposed to? -Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software On Tue, Jun 14, 2016 at 12:35 PM, <michael.ctr.taru...@faa.gov> wrote: > And one last thing on this. > > So now that I have resolved the Maven Dependencies problem, which it > appea

Re: Maven and Eclipse

2016-06-14 Thread Curtis Rueden
f Eclipse complains about the pom.xml being out of sync. This will likely depend on how you updated from your SCM: through Eclipse or externally. Glad that you figured out about the settings.xml file. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software Imag

Re: Maven and Eclipse

2016-06-08 Thread Curtis Rueden
if you migrated your workspace from Luna it might be that something got hosed up there. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/

Re: Dealing with .jars that have overlapping .classes

2016-04-22 Thread Curtis Rueden
excludes to your maven-enforcer-configuration. Especially for cases like joda, chances are the two copies of the classes are identical, so having both on the classpath will work just fine, pragmatically. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-24 Thread Curtis Rueden
Hi Mark, The javadoc of annotationProcessorPaths [1] is not very reassuring for your intended use case: "Classpath elements to supply as annotation processor path. If specified, the compiler will detect annotation processors only in those classpath elements." That makes it sounds like it merely

Re: "conditional" parent POM?

2016-03-10 Thread Curtis Rueden
Hi Max, Why do you need two different parents? What configuration is different between your "wild" parent and your internal one? Would it be sufficient to enclose the internal-specific configuration (e.g., distributionManagement) in a profile? This technique is what my OSS projects do [1].

Re: Installation issue

2016-02-18 Thread Curtis Rueden
Hi Patric, I suggest installing Maven on OS X using Homebrew (http://brew.sh/). Installation is as simple as "brew install maven" and then the "mvn" command exists in /usr/local/bin. Regards, Curtis On Tue, Feb 16, 2016 at 4:52 AM, Patric Hindenberger < patric.hindenber...@gmail.com> wrote: >

Re: Way Java 8 resolves interface dependencies seems to play havoc

2016-02-04 Thread Curtis Rueden
uot; in the JBoss BOM. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Wed, Feb 3, 2016 at 11:07 PM, Shaddy Baddah < beryllium-b

Re: Extracting classes from a separate project?

2015-12-01 Thread Curtis Rueden
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 is pretty powerful. Why not just make your single-module library artifact an "uber-JAR"

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Curtis Rueden
Hi Adrien, > most of the time differences between eclipse and command line > compilation are due to scopes problems. I agree that Eclipse's handling of scopes is a common reason for code which works in Eclipse, but actually fails on the CLI. However, there are also significant differences in

Re: animal-sniffer-maven-plugin repo missing

2015-11-26 Thread Curtis Rueden
You mean this? https://github.com/mojohaus/animal-sniffer/tree/master/animal-sniffer-maven-plugin On Thu, Nov 26, 2015 at 9:44 PM, Martin Gainty wrote: > anyone know what happened to animal-sniffer-maven-plugin repo? >

Re: regex-property goal of build-helper-maven-plugin documentation is incorrect

2015-11-16 Thread Curtis Rueden
Hi Steve, > Can someone fix it? I was going to respond with "You can!" But it seems it was already fixed almost a year ago: https://github.com/mojohaus/build-helper-maven-plugin/commit/cdaa047253fdcb64f94e81a6e8575191b5919ab0 The site just hasn't been regenerated and uploaded, I guess?

Re: Please reopen MNG-4533 Add an always active profile activator

2015-11-14 Thread Curtis Rueden
Hi Arend, > The idea is to have a profile which is always active, unless > explicitly deactivated. To achieve that use case, I like to activate based on a property value. Then you can change the property value from the CLI to deactivate it, without affecting any other profiles. This is more

Re: Build Number Maven Plugin branch naming

2015-11-11 Thread Curtis Rueden
Hi Victor, > I would like to change the way $svnVersion is set for my branches. > That is, I would like to shorten it a bit Not sure if the buildnumber-maven-plugin has a direct way, but the build-helper-maven-plugin has a regex-property goal for manipulating properties.

Re: Installing on Solaris

2015-11-06 Thread Curtis Rueden
Hi James, Probably you meant to set JAVA_HOME, not CLASSPATH. The JAVA_HOME variable points to your Java installation, whereas CLASSPATH points to .jar files (and/or directories of .class files) you want to be available to Java after it starts up. Regards, Curtis On Fri, Nov 6, 2015 at 12:24

Re: Add third party jars from the file system to final executable jar without adding the third party jars in local maven repo

2015-10-26 Thread Curtis Rueden
Hi Reena, Stephen Connelly wrote a great blog post a couple of years ago addressing similar use cases. The URL is/was: http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html Unfortunately, it seems the CloudBees Developer Blog is currently not working (it redirects to

Re: publishing sub-modules without requiring the parent module to be published?

2015-10-12 Thread Curtis Rueden
Hi Kevin, Having a public project extend a private one seems fundamentally broken/impossible to me. Presumably your "parent project" is just a POM and not a JAR, right? Can you use a structure like: toplevelPublicPOM - publicProject1 - publicProject2 - privateParentPOM -- privateProjectA

Re: War file name and sftp to server

2015-10-08 Thread Curtis Rueden
Hi K R, > How do I sftp it to the server? What kind of server? Web server? Maven repository? Something else? == Web server == If it's just a web server, typically that is done outside of the Maven build. You can also rename the file at that point. Alternately, you can use the exec-maven-plugin

Re: Copy-dependencies goal error

2015-10-06 Thread Curtis Rueden
Hi Wayne, > I'm glad Greg was able to help you solve your problem. Greg's response was great. But in fairness, it was Bernd who actually stated the solution to Michael's problem. It would be nice if this thread could wrap up with Michael acknowledging that Bernd's fix actually does the job.

Re: Copy-dependencies goal error

2015-10-05 Thread Curtis Rueden
Hi Michael, > Can you explain " you are using dependencyManagement with dependencies > declared with scope "import""? https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies > I don't see anything in either my settings.xml or pom.xml that >

Re: License Auditing

2015-10-05 Thread Curtis Rueden
Hi Jim, I struggled with licensing-related tooling too when I researched it awhile back—and my needs were simpler than yours. We ended up using license-maven-plugin to programmatically manage license headers of all our sources, with a single header with unified copyright date range and

Re: MRELEASE: Release only modules, not project itself

2015-09-24 Thread Curtis Rueden
Hi Wouter, Is the top-level POM also the parent pom of the modules? Or only an aggregator? If it's the parent, then you have to release it [1], because consuming the modules later will require the parent POM as a "dependency" of sorts in order to fully interpolate each module POM. If it's only

Re: Best strategy for using lots of modules/projects with some private and some OSS

2015-09-22 Thread Curtis Rueden
Hi Kevin, My projects opt for independent versioning of modules to facilitate "release early, release often." To do this for large sets of components like yours requires a Bill of Materials -- i.e., common parent POM with dependencyManagement section. FWIW, the docs we have about our projects

Re: Parent snapshot pom questions

2015-07-30 Thread Curtis Rueden
Hi Dave, Maven is not safe for concurrent builds from the same local repository cache. Do these CI jobs share the same cache? If so that would explain the nondeterminism you are seeing. It is best practice if each job has its own local repo cache, as expensive as that is disk-wise. Or you can

Re: build error on strutsel

2015-07-27 Thread Curtis Rueden
? Hector -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 4:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, Maybe you are depending on the wrong version of those

Re: build error on strutsel

2015-07-24 Thread Curtis Rueden
aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist

Re: build error on strutsel

2015-07-24 Thread Curtis Rueden
[mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline

Re: How to delete certain snapshots from Nexus

2015-07-24 Thread Curtis Rueden
, Jul 22, 2015 at 10:12 PM, Curtis Rueden ctrue...@wisc.edu wrote: Hi Dave, if you have a plugin that solves the same problem that is fine. If you could elaborate on your solution that would be great. The plugin I mentioned, scijava-maven-plugin [1], has a verify-no-snapshots goal

Re: build error on strutsel

2015-07-24 Thread Curtis Rueden
Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the

  1   2   3   4   >