RE: JUnit 5 test suites not running again

2022-07-09 Thread KARR, DAVID
junit-vintage-engine" will have to be included. > -Original Message- > From: KARR, DAVID > Sent: Friday, July 8, 2022 4:59 PM > To: Maven Users List ; i...@soebes.de; David > Karr > Subject: RE: JUnit 5 test suites not running again > > Inline. > > >

RE: JUnit 5 test suites not running again

2022-07-08 Thread KARR, DAVID
Inline. > -Original Message- > From: Karl Heinz Marbaise > Sent: Friday, July 8, 2022 9:21 AM > To: David Karr ; i...@soebes.de > Cc: Maven Users List > Subject: Re: JUnit 5 test suites not running again > > On 08.07.22 18:09, David Karr wrote: > > Inline. > > > > On Fri, Jul 8, 2022

RE: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, April 1, 2022 11:03 AM > To: Maven Users List > Subject: How can I tell what value of "maxmem" the maven-compiler-plugin > is using by default? > > I noticed that we have one build that

How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
I noticed that we have one build that is trying to compile so many files that it is running out of memory in the maven-compiler-plugin execution. I see that I can set the "maxmem" property in that plugin's configuration. What would be nice to know is what the default value is. I thought that

RE: Strategies for automatically fixing local maven repo corruption?

2022-03-23 Thread KARR, DAVID
> -Original Message- > From: Jacques Etienne Beaudet > Sent: Wednesday, March 23, 2022 3:14 PM > To: Maven Users List > Subject: Re: Strategies for automatically fixing local maven repo > corruption? > > I'll copy paste something I wrote in another thread but yea basically > there's a

RE: What steps will install dependent artifacts in local maven repo

2022-03-23 Thread KARR, DAVID
pository (or at least are expected > to be, and the Central Repository enforces it), so if 3.7.1 is > compatible with JDK 8, it will stay that way. That was my assumption, but I wanted to make sure I wasn't missing something. > On Wed, Mar 23, 2022 at 2:40 PM KARR, DAVID wrote: > > > Inline. > &

RE: What steps will install dependent artifacts in local maven repo

2022-03-23 Thread KARR, DAVID
Inline. > -Original Message- > From: Alexander Kriegisch > Sent: Wednesday, March 23, 2022 1:11 AM > To: users@maven.apache.org > Subject: Re: What steps will install dependent artifacts in local maven > repo > > Some background information, because I happen to know, being an AspectJ >

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
And I also determined that groovy-eclipse v4.0.1 was released on 3/6/22, so it just took a few days to get to our intranet repo. I don't see any statement about it being built with Java 11, but it appears that's what happened. > -Original Message- > From: KARR, DAVID > Sent

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
nal artifact whose > content would be different depending on which JDK downloaded it. > > Would you mind sharing the maven-compiler-plugin declaration with the > ecj dependency? (to try replicating the issue and understand it) > > Le mar. 22 mars 2022 à 19:20, KARR, DAV

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
The "4.x" artifacts were all compiled with Java 11. The 3.0.8 version was compiled with Java 8. > -----Original Message- > From: KARR, DAVID > Sent: Tuesday, March 22, 2022 11:20 AM > To: Maven Users List > Subject: RE: What steps will install dependent arti

RE: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread KARR, DAVID
Self-replying from my alter ego.  I have verified that if I remove the "ecj" tree from my local repo, then build one service with Java 11, with just "mvn package", then run a build of a different service with Java 8, it will get the given error. I can verify that the ecj artifact is now

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
le with JUnit4 because I > > had some suspicions in the code and it was confirmed by running the > > tests and debugging the code. > > > > Cheers > > Tibor > > > > > > On Sun, Mar 20, 2022 at 8:23 PM KARR, DAVID wrote: > > > >> Here's

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
command *mvn test - > Dtest=MyTestSuite* I hope I am on the right track. > > package pkg; > > import org.junit.platform.suite.api.SelectClasses; > import org.junit.platform.suite.api.Suite; > > @Suite > @SelectClasses(BDSHelperTest.class) > public class MyTestSuite {

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-20 Thread KARR, DAVID
elping the users. All the time. > > > The job starts with this if it is a simple problem. Always the same, > > > all the time. > > > > > > > Ok, I appreciate that. However, perhaps I didn't emphasize the correct > > thing in my last response. Fixing th

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > No problem, pls see the project again, there is an update. > T > > On Sat, Mar 19, 2022 at 9:32 PM KARR, DAVID wrote: > > > One thing that I see I neglected to mention in this p

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
One thing that I see I neglected to mention in this post, but which I did mention in the SO posting I linked to, is that I have both Junit5 and Junit4 tests in scope. I believe that is at least one element that makes this more complicated. > -Original Message- > From: Tibor Digana >

RE: Can't get Surefire to run any JUnit 5 tests

2022-03-19 Thread KARR, DAVID
> -Original Message- > From: Dan Tran > Sent: Friday, March 18, 2022 11:19 PM > To: Maven Users List > Subject: Re: Can't get Surefire to run any JUnit 5 tests > > may relate to this > https://urldefense.com/v3/__https://issues.apache.org/jira/browse/SUREFI > RE- >

RE: Where is an exact syntax reference for the "nonProxyHosts" property?

2021-06-15 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Tuesday, June 15, 2021 8:02 AM > To: Maven Users List > Subject: Where is an exact syntax reference for the "nonProxyHosts" > property? > > I have been trying to find a fully complete specification for

Where is an exact syntax reference for the "nonProxyHosts" property?

2021-06-15 Thread KARR, DAVID
I have been trying to find a fully complete specification for the syntax of the "nonProxyHosts" property in the settings.xml file. Every statement I've found, even in Maven documentation, is vague and incomplete. Is this fully documented somewhere?

RE: IT test in src/test/java is not executed by failsafe:integration-test, or fails oddly with verify

2017-10-25 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, October 25, 2017 10:56 AM > To: users@maven.apache.org > Subject: IT test in src/test/java is not executed by > failsafe:integration-test, or fails oddly with verify > > I work on a large multiproject bu

RE: IT test in src/test/java is not executed by failsafe:integration-test, or fails oddly with verify

2017-10-25 Thread KARR, DAVID
verify > > > > > > In each test submodule POM, we simply add the following: > > > org.apache.maven.plugins > maven-compiler-plugin > > &g

IT test in src/test/java is not executed by failsafe:integration-test, or fails oddly with verify

2017-10-25 Thread KARR, DAVID
I work on a large multiproject build that mostly produces OSGi bundle artifacts. The codebase has a lot of unit tests that work fine from the build. We also have quite a few IT tests, but we only execute those from Eclipse, as the nature of the framework makes those tests unreliable. I now

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-27 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, February 22, 2017 11:04 AM > To: Maven Users List <users@maven.apache.org> > Subject: RE: Strategies for overriding parent plugin configuration in > some modules without duplicating config code? >

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-22 Thread KARR, DAVID
n.apache.org_pom.html=DQIFAg=LFYZ- > o9_HUMeMTSQicvjIg=OsTemSXEn- > xy2uk0vYF_EA=FHuWQ_q8B5maEN_es6oJCbGAxMD8fxn8FxP0AQ9VZ3w=GptXYbOIzWw > xSTYZmwZufxSKr6WYerQ_ll_D1fVE-D4= How do I override the "executions" list? These properties aren't valid there. > -Original Message- > From: KARR, DAVID [mailto:

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-22 Thread KARR, DAVID
ing config code? > > Hi! > > On Mon, 20 Feb 2017 16:32 "KARR, DAVID" <dk0...@att.com> wrote: > > > Although my issue is about configuring the "jacoco-maven-plugin", I > > think it's really more of a pure Maven configuration issue, as I don't

RE: Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-20 Thread KARR, DAVID
n.apache.org_pom.html=DQIFAg=LFYZ- > o9_HUMeMTSQicvjIg=OsTemSXEn- > xy2uk0vYF_EA=FHuWQ_q8B5maEN_es6oJCbGAxMD8fxn8FxP0AQ9VZ3w=GptXYbOIzWw > xSTYZmwZufxSKr6WYerQ_ll_D1fVE-D4= Good to know that mechanism exists, but I don't think it applies to my situation. Still looks like the alternate parent pom has the best balance of trad

Strategies for overriding parent plugin configuration in some modules without duplicating config code?

2017-02-20 Thread KARR, DAVID
Although my issue is about configuring the "jacoco-maven-plugin", I think it's really more of a pure Maven configuration issue, as I don't think this situation is unique to JaCoCo. I have a somewhat large multi-module project. Each of the child modules has a parent pom that configures the

How to generate two different javadoc aggregate jars?

2016-12-02 Thread KARR, DAVID
I have a large multi-module project. In the parent pom (which is not the aggregator POM), I'm using "maven-javadoc-plugin". It has two executions, both in the package phase, one for the "jar" goal, and one for the "aggregate-jar" goal. This nicely generates a full aggregate Javadoc jar of all

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

2016-11-30 Thread KARR, DAVID
get it to work by splitting out the parent pom responsibilities into a separate child module pom, and having all the references specify the relative path to that. > On Wed, Nov 30, 2016 at 4:54 PM, KARR, DAVID <dk0...@att.com> wrote: > > > > -Original Message- > >

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

2016-11-30 Thread KARR, DAVID
lled (which happens at the end of the build). > On Wed, Nov 30, 2016 at 1:47 PM, KARR, DAVID <dk0...@att.com> wrote: > > > > -Original Message- > > > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > > > Sent: Wednesday, November 30,

RE: How does the jar plugin produce a "*-tests.jar" when I don't specify that?

2016-11-30 Thread KARR, DAVID
> > On Wed, Nov 30, 2016 at 3:19 PM KARR, DAVID <dk0...@att.com> wrote: > > > The POM for "artifact1" has two dependencies on "artifact2". One is > > the "default" artifact, and another is a jar artifact that is only > > used for uni

How does the jar plugin produce a "*-tests.jar" when I don't specify that?

2016-11-30 Thread KARR, DAVID
I'm working with a user who is getting an error from a build that looks like this: --- Could not resolve dependencies for project ::bundle:2.0.0-SNAPSHOT: Could not find artifact ::jar:tests -- I elided the groupId and artifact ids, but the trailing part of the

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

2016-11-30 Thread KARR, DAVID
re different. > > > > I have built many projects with the the one-parent structure, and they > > typically have interdependencies between the modules, and they work > > fine. Can you boil this down to a failing case on github? Can you > > share some poms? > > >

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

2016-11-29 Thread KARR, DAVID
A while ago, I started working on an existing project with many developers. The codebase has a large multi-project Maven build. The top directory is both an "aggregator" and "parent" POM, as it has a "modules" list, and all of the child modules have it as their parent POM, for dependencies

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

2016-11-11 Thread KARR, DAVID
to store this info in the very top-level POM, and have it be used in all of the subprojects. I don't understand how to make that happen. > On 10 Nov 2016 11:35 pm, "KARR, DAVID" <dk0...@att.com> wrote: > > > I'm thinking of augmenting builds to add provenance info to th

First build in CI with Maven 3.0.5 gets bundle errors

2016-11-11 Thread KARR, DAVID
I'm working with a large multi-module project that produces OSGi artifacts. I cloned it to my desktop, and it builds fine with maven 3.3.9. Today I set up a Jenkins pipeline job to build it. The first time I ran it, I saw errors like the following: --- Invalid extension descriptor

How to put project information metadata into a top-level POM, and have it be part of generated effective POM in META-INF/maven tree?

2016-11-11 Thread KARR, DAVID
I work on a large multi-project build. We produce a framework that other teams use. Although all of the teams that use our framework know who we are, it occurred to me that it would be considerate to make sure that there is metadata in the generated artifact that would give someone

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

2016-11-10 Thread KARR, DAVID
interesting is to include the exact git commit at > point of packaging, which I believe could be possible to add using the > release plugin..? (It already rewrites the scm tag of the pom). One step at a time. :) > On 10 Nov 2016 11:35 pm, "KARR, DAVID" <dk0...@att.com> wrote:

Strategies for augmenting jar manifest with source provenance info?

2016-11-10 Thread KARR, DAVID
I'm thinking of augmenting builds to add provenance info to the manifest of the artifacts we produce, to indicate what git url the current artifact is associated with (a "ContactInfo" tag might also be useful). Is this something that anyone has ever tried to do? If so, what strategies have

RE: Strange result between "bundle" and "jar" type wrt javadoc and dependency resolution

2016-10-29 Thread KARR, DAVID
ependencies instead. This is an OSGi project, and the subproject with this dependency is producing a bundle. Besides httpclient-osgi, we also have a httpcore-osgi dependency (curiously, version 4.4, not 4.5.2). > On

RE: Dependency error with javadoc:aggregate, and confused about overall javadoc aggregate setup

2016-10-28 Thread KARR, DAVID
> aggregate-jar > > > private > > true > > *.temp.* > > >

Strange result between "bundle" and "jar" type wrt javadoc and dependency resolution

2016-10-28 Thread KARR, DAVID
I have a subproject in a large multi-module project with the following dependency: -- org.apache.httpcomponents httpclient-osgi 4.5.2 bundle --

Dependency error with javadoc:aggregate, and confused about overall javadoc aggregate setup

2016-10-27 Thread KARR, DAVID
I have a somewhat largish multi-project build. It's all building successfully right now. I'm working on generating an aggregate Javadoc artifact. We're not generating a "site". It seems like the existing docs assume the use of that, so it's not completely clear how to set this up if we're

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

2016-10-19 Thread KARR, DAVID
> -Original Message- > From: Mark H. Wood [mailto:mw...@iupui.edu] > Sent: Wednesday, October 19, 2016 5:55 AM > To: users@maven.apache.org > Subject: Re: Comparing specifying repositories in pom vs. settings.xml? > > OK, I'm going to learn a lot from this thread. > > On Tue, Oct 18,

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

2016-10-17 Thread KARR, DAVID
in the build script). The requirement about "generally will want all your developers using the same set of repositories" is pretty important to me, but the recommended solution just seems counterproductive. Specifying it in the POM for the project seems to be the most direct way to

Comparing specifying repositories in pom vs. settings.xml?

2016-10-17 Thread KARR, DAVID
One thing I run into when jumping between different projects is different expectations for what maven repos I need to be using. In the past, I had to have multiple copies of "~/.m2/settings.xml" lying around, and I would hack the specified repos when I needed to. Recently, I saw a situation

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

2016-08-18 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, August 17, 2016 11:46 AM > To: Maven Users List <users@maven.apache.org> > Subject: RE: Building Docker image works in subproject, not from > aggregator > > > -Original Message-

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

2016-08-17 Thread KARR, DAVID
't needed, but I still get the error, so the issue is likely due to the "dockerDirectory" value. In any case, I tried changing the value to "${basedir}/src/docker", but it made no difference. > On Wed, Aug 17, 2016 at 1:04 PM, KARR, DAVID <dk0...@att.com> wrote: >

Building Docker image works in subproject, not from aggregator

2016-08-17 Thread KARR, DAVID
I'm using the "docker-maven-plugin" to build a simple image based on TomEE. This is one subproject in a small multiproject build. Two other subprojects build the webapps that are installed into the TomEE instance. I've been able to get the image to build by building from the "image"

RE: Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread KARR, DAVID
Or do you make a OSGi build? A docker image for Linux. > On 16/08/16 21:47, KARR, DAVID wrote: > > I have a multiproject build with three modules, not counting the top- > level. > > I can build this on either Windows or Linux, but if I'm building on > > Windows, one of

Multiproject build that needs to build one project only if on a particular os?

2016-08-16 Thread KARR, DAVID
I have a multiproject build with three modules, not counting the top-level. I can build this on either Windows or Linux, but if I'm building on Windows, one of the subprojects should not be built. I vaguely remember seeing ways to set architecture properties and check for those, but I can't

RE: Strategies for building Docker image for Tomcat with Maven-built webapps with docker-maven-plugin

2016-08-15 Thread KARR, DAVID
er-maven-plugin > > use destFileName > http://maven.apache.org/plugins/maven-dependency-plugin/copy- > mojo.html#artifactItems Ok. After some research, I think that perhaps just setting "stripVersion" to true might be all that I need. > On Mon, Aug 15, 2016 at 10:22 AM, KARR, DAV

RE: Strategies for building Docker image for Tomcat with Maven-built webapps with docker-maven-plugin

2016-08-15 Thread KARR, DAVID
act versions, so somehow the dependency copy has to remove the version number from the artifact file. What is the best way to do this? > On Wed, Aug 10, 2016 at 8:44 AM, KARR, DAVID <dk0...@att.com> wrote: > > > I have a simple multi-project build (just two projects), and the &g

Strategies for building Docker image for Tomcat with Maven-built webapps with docker-maven-plugin

2016-08-10 Thread KARR, DAVID
I have a simple multi-project build (just two projects), and the webapps produced from the two projects will be deployed to Tomcat (TomEE, actually). The TomEE instance requires some non-standard configuration for these apps to work. I'm considering having a third subproject using the

What is the minimum required config for the Maven Cobertura plugin to instrument, run, and generate xml and html reports?

2014-10-09 Thread KARR, DAVID
I have a working configuration that runs unit tests with Cobertura using Maven. I've always been a little mystified by Maven phases and how various plugins integrate with it (and I've read the user guide). I'd like to understand the minimum required configuration to get Cobertura

Does Maven provide a way to list which repository each dependency was obtained from?

2014-09-17 Thread KARR, DAVID
I don't need this, but someone else asked a related question. Does Maven provide a way to list, for a project, which repository each dependency was obtained from? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

RE: Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-14 Thread KARR, DAVID
2014 10:54, KARR, DAVID dk0...@att.com wrote: I have a situation where it would be convenient for my pom to have two dependencies that are almost identical, only being different by the version. The makeup of the artifact is such that it would be safe (and intended) to use both of them

RE: Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-14 Thread KARR, DAVID
2014 01:40, KARR, DAVID dk0...@att.com wrote: Again, I didn't want to debate whether this is convenient, I just wanted to know if Maven dependency resolution and things like the EAR plugin will have any trouble incorporating multiple dependencies with the same G:A, but different version

RE: Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-14 Thread KARR, DAVID
? On 14 January 2014 22:49, KARR, DAVID dk0...@att.com wrote: -Original Message- From: Barrie Treloar [mailto:baerr...@gmail.com] Sent: Tuesday, January 14, 2014 2:23 PM To: Maven Users List Subject: Re: Is it possible to deliberately have two dependencies with the same

Is it possible to deliberately have two dependencies with the same groupid, artifactid, and packaging, but different version?

2014-01-13 Thread KARR, DAVID
I have a situation where it would be convenient for my pom to have two dependencies that are almost identical, only being different by the version. The makeup of the artifact is such that it would be safe (and intended) to use both of them. The Java package used in each is similar, but

RE: How to script the downloading of the latest snapshot of an artifact?

2013-11-20 Thread KARR, DAVID
. Thanks. For what we're doing, this is the best solution. If we later want to implement build-based distribution, we might look at the other possibilities. On Tue, Nov 19, 2013 at 6:09 PM, KARR, DAVID dk0...@att.com wrote: Someone I work with needs to build an automated solution to get

How to script the downloading of the latest snapshot of an artifact?

2013-11-19 Thread KARR, DAVID
Someone I work with needs to build an automated solution to get the latest version of a snapshot jar from our nexus server. They've tried the simplistic wget/curl solution, but that requires hardcoding the verbose snapshot jar url. What are cleaner ways to do this? This could be automated

Access denied downloading artifact from nexus

2013-11-14 Thread KARR, DAVID
- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Access denied downloading artifact from nexus

2013-11-14 Thread KARR, DAVID
(Sorry for the initial blank body. Not sure what happened there.) I'm having trouble downloading an artifact from a nexus pro repo in a Maven build on a build server. I don't know if this is a Maven problem, or a Nexus problem, although it's probably the former. I'm working on a Maven build

RE: Access denied downloading artifact from nexus

2013-11-14 Thread KARR, DAVID
... 401 Unauthorized Reusing existing connection to nexusprohost.com:8084. HTTP request sent, awaiting response... 403 Forbidden 2013-11-14 09:47:27 ERROR 403: Forbidden. - On Nov 14, 2013, at 4:35 PM, KARR, DAVID dk0...@att.com wrote: (Sorry for the initial blank body. Not sure

How to deal with checksum errors on public artifacts?

2013-10-31 Thread KARR, DAVID
I was building a toy application that we're using to start work on a prototype for something, and a build failed with an error like the following: Could not transfer artifact org.ops4j.pax.runner:pax-runner-no-jcl:pom:1.4.0 from/to central (http://repo1.maven.org/maven2/): Checksum validation

RE: How to deal with checksum errors on public artifacts?

2013-10-31 Thread KARR, DAVID
validation on. On Thu, Oct 31, 2013 at 4:44 PM, KARR, DAVID dk0...@att.com wrote: I was building a toy application that we're using to start work on a prototype for something, and a build failed with an error like the following: Could not transfer artifact org.ops4j.pax.runner:pax-runner

How to define properties in a parent pom that are referenced in a child pom relative to the parent, not the child?

2013-08-15 Thread KARR, DAVID
I'm trying to setup javascript unit tests with phantomjs. I'm trying to store the phantomjs executable in a parent pom along with a path setting relative to that. When it's referenced from a child pom, I need the path to be relative to the parent pom, not the child pom. I have a similar

RE: How to define properties in a parent pom that are referenced in a child pom relative to the parent, not the child?

2013-08-15 Thread KARR, DAVID
as I'd like it to be that way. I've settled on the smelly workaround of simply hardcoding a reference to ../src/test/resources/... for the parent pom. 2013/8/15 KARR, DAVID dk0...@att.com: I'm trying to setup javascript unit tests with phantomjs. I'm trying to store the phantomjs executable

How to tell what arch value Maven is going to find?

2013-08-15 Thread KARR, DAVID
I defined a profile for Linux to set a path to a Linux executable. The executable is 64-bit, and the architecture is 64-bit (the uname -a output has x86_64). I didn't put anything in the profile specification for architecture. For completeness, I wanted to define a profile with 32-bit

Trouble resolving conflicting slf4j-simple references

2013-05-17 Thread KARR, DAVID
I'm working on a unit test in code that I haven't looked at before. I noticed that I was getting a NoSuchMethodError with a SLF call. This apparently is due to different versions of the SLF pieces in the dependency tree. I see both 1.6.1 and 1.5.2 in various places. I traced it back to one peer

RE: Trouble resolving conflicting slf4j-simple references

2013-05-17 Thread KARR, DAVID
-Original Message- From: KARR, DAVID Sent: Friday, May 17, 2013 11:05 AM To: Maven Users List Subject: Trouble resolving conflicting slf4j-simple references I'm working on a unit test in code that I haven't looked at before. I noticed that I was getting a NoSuchMethodError

RE: Run unit tests before commiting

2013-02-15 Thread KARR, DAVID
-Original Message- From: Alberto Ivo [mailto:alberto...@gmail.com] Sent: Friday, February 15, 2013 4:52 AM To: Maven Users List Subject: Run unit tests before commiting Hello, Nowadays When I change the code, I manually run the unit test (suite) and then commit using Eclipse

store file in top parent pom, along with property pointing to it, and ref that property in child poms

2013-01-25 Thread KARR, DAVID
My project uses a small hierarchy of parent poms. I believe it would be a good idea to set my Sonar connection settings in the top parent pom, instead of telling all the users to add a certain set of settings to their ~/.m2/settings.xml. In addition, we're using the sonar.secretKeyPath

RE: store file in top parent pom, along with property pointing to it, and ref that property in child poms

2013-01-25 Thread KARR, DAVID
-Original Message- From: KARR, DAVID Sent: Friday, January 25, 2013 10:31 AM To: Maven Users List Subject: store file in top parent pom, along with property pointing to it, and ref that property in child poms My project uses a small hierarchy of parent poms. I believe it would

RE: PowerMock tests work fine in Eclipse, but don't execute in Maven build

2013-01-21 Thread KARR, DAVID
demo project somewhere like on github, maybe we can help help you more easily. Just a small guess: isn't powermock full some special jar embedding 3rd Party code like testng and that would get selected? Cheers Le 21 janv. 2013 00:55, KARR, DAVID dk0...@att.com a écrit : I normally

PowerMock tests work fine in Eclipse, but don't execute in Maven build

2013-01-20 Thread KARR, DAVID
I normally use Mockito and JUnit with Maven. I'm trying to write some tests using PowerMock. I got the PowerMock test working fine in Eclipse, but now I'm noticing that the test is not running in the Maven build. Maven finds the test class, but it seems to think there are no tests. It's

Detecting any dependencies specified without versions?

2012-12-20 Thread KARR, DAVID
I just noticed that our large project has a lot of poms with dependencies with no version specified. I'd like to detect that at build time. I see that the enforcer plugin comes close out of the box, with the requirePluginVersions rule. However, there doesn't appear to be a

RE: Detecting any dependencies specified without versions?

2012-12-20 Thread KARR, DAVID
of devs are going through the same class this week, so perhaps I'll have another chance to diagnose this. :) Original-Nachricht Datum: Thu, 20 Dec 2012 17:09:59 + Von: KARR, DAVID dk0...@att.com An: Maven Users List users@maven.apache.org Betreff: Detecting any

RE: Proper fix for non-resolvable dependency in build server

2012-12-19 Thread KARR, DAVID
-Original Message- From: KARR, DAVID Sent: Tuesday, December 18, 2012 7:26 PM To: Maven Users List Subject: Proper fix for non-resolvable dependency in build server I have a project that is building fine on my laptop. Today I started to set up the build for this on our Bamboo

RE: Proper fix for non-resolvable dependency in build server

2012-12-19 Thread KARR, DAVID
-Original Message- From: KARR, DAVID Sent: Wednesday, December 19, 2012 9:11 AM To: Maven Users List Subject: RE: Proper fix for non-resolvable dependency in build server -Original Message- From: KARR, DAVID Sent: Tuesday, December 18, 2012 7:26 PM To: Maven Users

RE: Proper fix for non-resolvable dependency in build server

2012-12-19 Thread KARR, DAVID
-Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, December 19, 2012 10:09 AM To: Maven Users List Subject: Re: Proper fix for non-resolvable dependency in build server I have a top-level aggregator pom that specifies several modules, but this pom

RE: Proper fix for non-resolvable dependency in build server

2012-12-19 Thread KARR, DAVID
@maven.apache.org/msg127878.html but haven't seen any replies. On 12/19/2012 10:24 AM, users-digest-h...@maven.apache.org wrote: Subject: Proper fix for non-resolvable dependency in build server From: KARR, DAVID dk0...@att.com Date: 12/18/2012 10:26 PM To: Maven Users List users

Proper fix for non-resolvable dependency in build server

2012-12-18 Thread KARR, DAVID
I have a project that is building fine on my laptop. Today I started to set up the build for this on our Bamboo server. Everything is checked in. Both my laptop and the build server are using Maven 3.0.4. I have a top-level aggregator pom that specifies several modules, but this pom is not

Is the release plugin intended to be run manually?

2012-09-11 Thread KARR, DAVID
I noticed a comment in http://www.dzone.com/links/r/continuous_delivery_using_maven_3.html about not using the release plugin because it checks in POMs after updating versions, which isn't suited to a continuous delivery pipeline. Is the release plugin intended to be run manually, and not

RE: Arguments for Maven vs. Gradle

2012-09-10 Thread KARR, DAVID
it easy to specify dependencies through Maven coordinates. I would assume that means it also handles transitive dependencies, but I'm not sure. It's a good idea to know your enemy, not that I consider Gradle an enemy in any way. On 09/09/2012 5:20 PM, KARR, DAVID wrote: At the risk of starting

Arguments for Maven vs. Gradle

2012-09-09 Thread KARR, DAVID
At the risk of starting a flame war, what are some arguments for Maven vs. Gradle? This is in the context of a change and risk-averse organization that currently has a large Ant build, although with some associated Maven builds. I see the advantages of Gradle as a much better Ant, but I would

Strategies for managing coordinates of release variations of individual projects?

2012-09-01 Thread KARR, DAVID
I assume that many of you using Maven every day work with large applications in the following context: * The application consists of numerous individual projects * There are several development teams, some focusing on specific projects, some on multiples * There are multiple release trains in

Understand need for relativePath/ in parent references?

2012-08-31 Thread KARR, DAVID
I have an app with a couple of modules, and I use a small parent hierarchy to define common settings. In source control, I have a somewhat flat hierarchy, where the main Java project is a peer of the three projects that define the parent poms. I normally check out the individual projects

RE: Understand need for relativePath/ in parent references?

2012-08-31 Thread KARR, DAVID
-Original Message- From: KARR, DAVID Sent: Friday, August 31, 2012 10:09 AM To: Maven Users List Subject: Understand need for relativePath/ in parent references? I have an app with a couple of modules, and I use a small parent hierarchy to define common settings. In source

Any way to combine plugin settings between pom and parent pom?

2012-08-24 Thread KARR, DAVID
I'm investigating what abilities I have for integrating plugin configurations between a project pom and its parent. For instance, in the Surefire configuration in my project pom there are some settings that I would want for all Java projects, but there are some that are specific to a project

In plugin dev, how do you spec the containing and child elements for multi-valued param?

2012-08-17 Thread KARR, DAVID
I'm reading the Maven Complete Reference doc from Sonatype. In the section on Multi-valued Mojo Parameters, it has the example of an excludes property, where you specify an excludes container element with child exclude elements. What I don't understand is how it knows to expect the exclude

RE: In plugin dev, how do you spec the containing and child elements for multi-valued param?

2012-08-17 Thread KARR, DAVID
. But I could be wrong. /Anders On Sat, Aug 18, 2012 at 12:15 AM, KARR, DAVID dk0...@att.com wrote: I'm reading the Maven Complete Reference doc from Sonatype. In the section on Multi-valued Mojo Parameters, it has the example of an excludes property, where you specify an excludes

uses for site generation for internal enterprise software when a CI server is in use?

2012-08-15 Thread KARR, DAVID
I'm putting together a Maven benefits doc for an internal organization. I was wondering if I could make any argument for the value of Maven's site generation functionality. Our documentation is on wikis, and we have a CI server that aggregates build and analysis reports. Does anyone make

How to make failsafe:integration-test fail the mvn command, but not be part of the default build

2012-08-08 Thread KARR, DAVID
I have a build with both unit tests and component tests. I want the unit tests to run as part of the default build, but I only want the component tests to run when specifically requested with failsafe:integration-test. What I have right now does this, but I noticed that when one of the

Fact-checking a statement about Maven from a book

2012-05-29 Thread KARR, DAVID
I'm reading Continuous Delivery, which is a good book, but I read one statement about Maven that seems out of date to me. I'd appreciate a bit of fact-checking here. It said: ... in its default configuration, it is self-updating. Maven's core is very small, and in order to make itself

RE: Some questions about customizing the build on the Maven command line

2012-05-11 Thread KARR, DAVID
-Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, May 11, 2012 7:31 AM To: Maven Users List Subject: Re: Some questions about customizing the build on the Maven command line Why can't you simply make level2 a child (module) of level1, and the same for

RE: Some questions about customizing the build on the Maven command line

2012-05-11 Thread KARR, DAVID
considered creating a custom and separate pom at the level where we had the additional module, but I didn't think of having this at the top level, to specify a module below the level of the first child. I believe this could work also. -Original Message- From: KARR, DAVID Sent: Friday, May 11

Some questions about customizing the build on the Maven command line

2012-05-10 Thread KARR, DAVID
I have a top-level agg pom (call it level1) that has a module with an agg pom (call it level2) that specifies several modules. The directory that agg pom is in has an additional directory (call it level3) that is not in the modules list, but is also a pom module. I have a basic idea of how I

RE: Some questions about customizing the build on the Maven command line

2012-05-10 Thread KARR, DAVID
-Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Thursday, May 10, 2012 7:24 PM To: Maven Users List Subject: Re: Some questions about customizing the build on the Maven command line The directory that agg pom is in has an additional directory (call it

  1   2   >