I have a feeling this has been covered before, but I'll ask just in case.
I have a pom.xml that inherits from a parent pom, and the child pom has the
following plugin definition:
--
maven-compiler-plugin
3.8.0
11
2023 at 10:56 AM David Karr
wrote:
> Ok, I'll address some points in order. My current command line is this:
> --
> mvn -e archetype:generate -DgroupId=com.att.idp -DartifactId=MyApplication
> -Dpackage=com.att.idp -DarchetypeGroupId=com.att.idse
> -Darch
chetype-simple
> -DarchetypeVersion=1.5-SNAPSHOT" to generate a project from it
>
> Regards,
>
> Hervé
>
> On 2023/10/06 16:11:36 David Karr wrote:
> > Thanks for the responses. I've gone through this, but I still don't see a
> > solution.
> &g
reference documentation
> that explains much more:
> https://maven.apache.org/archetype/maven-archetype-plugin/index.html
> >
> > I'm not sure mini guide was updated as it should
> >
> > Regards,
> >
> > Hervé
> >
> > On 2023/10/05 20:38:
I support and maintain a platform used by a couple hundred
SpringBoot/JAX-RS/Maven/K8S services. When new services are created, a
Maven archetype is used to create the service skeleton. This has worked
fine for quite a while.
We're now working on a variation using SpringMVC instead of JAX-RS, an
I support a large number of SpringBoot services built with Maven.
I recently noticed that one of our transient dependencies has a conflict
with another transient dependency, as it has several FQCNs that are
identical to ones in the second artifact, but with different content. In
most of those ser
es to die, you can die happy in feeling that at any rate you
> have not wasted your time but have done your best ~~~
>
> Lord Baden-Powell
>
>
> On Sat, 29 Jul 2023 at 01:29, David Karr
> wrote:
>
> > In general, I know how to override transient artifact versions. Yo
In general, I know how to override transient artifact versions. You add an
"exclusion" for the artifact on the dependency that is including that
dependency, and then you manually add that dependency in the same pom where
you added the exclusion. In my case, the version I want is defined in a
bom i
We have a situation in our build environment where Maven concludes it can't
get certain artifacts, resulting in a build failure message like this:
[ERROR] Failed to execute goal on project ..: Could not resolve
dependencies for project ...:jar:1.1.0-SNAPSHOT: The following
artifacts could not be r
We're looking at performance issues with the intranet repository in our
enterprise. I was looking at some Maven build output while downloading
artifacts, and I wanted to be clear on exactly what is indicated by some
output while downloading artifacts.
Here is a somewhat elided block of build outp
I work in a very large enterprise that uses a centralized intranet maven
repository to get artifacts from. It often has load issues that result in
builds failing with "failed to respond". The team that maintains it is
working towards eventual mitigations for that, but it will be quite a while
bef
Inline.
On Fri, Jul 8, 2022 at 8:17 AM Karl Heinz Marbaise
wrote:
> Hi,
>
> On 08.07.22 16:18, David Karr wrote:
> > I had gotten help here with our JUnit 5 transition, and I thought I had
> it
> > all working, but now I see that I'm back to the state where our JUni
I had gotten help here with our JUnit 5 transition, and I thought I had it
all working, but now I see that I'm back to the state where our JUnit 5
test suites are being ignored.
>From what I understood, I had to ensure that "junit-platform-runner" was
excluded as a dependency. What I have seems t
On Sat, Jun 18, 2022 at 4:17 PM Nils Breunese wrote:
> David Karr wrote:
>
> > We have a bunch of services running Spring Boot 2.3.12, which by default
> > uses junit-platform 1.6.3 and junit-jupiter 5.6.3.
> >
> > We are trying to instead use junit-platform 1
#x27;s a little harder to tell what bom
they came from (is that one of the points about a recent discussion about
improvements to dependency:tree?)
On Sat, Jun 18, 2022 at 3:03 AM Karl Heinz Marbaise
wrote:
> Hi,
>
>
> On 17.06.22 20:46, David Karr wrote:
> > Ok, what is the pro
t have to do this in
each service pom.
On Fri, Jun 17, 2022 at 12:26 PM David Karr
wrote:
> Ok, so the tree has output like this:
> --
> [INFO] +- com.att.idp:idp-seed-sdk-core:jar:2.7.0-SNAPSHOT:compile
> [INFO] | +- org.junit.jupiter:junit-jupit
Please examine output of dependency:tree and look where is added
> junit-platform-runner
>
> pt., 17 cze 2022 o 20:47 David Karr
> napisał(a):
>
> > Ok, what is the proper way to do that, considering I have the follo
:
> Do you have on your classpath - junit-platform-runner?
> Please remove it.
>
>
> pt., 17 cze 2022 o 20:23 David Karr
> napisał(a):
>
> > I'm posting a new note, as this might be a different issue.
> >
> > I recently got good advice on this list a
I'm posting a new note, as this might be a different issue.
I recently got good advice on this list about how to properly specify the
version overrides for the junit-bom artifacts. When I implemented that, I
saw that I was consistently getting the correct versions for those
artifacts.
However, I
If it matters, I see that in our parent bom artifact, we are importing
"spring-boot-dependencies".
On Thu, Jun 16, 2022 at 5:27 PM David Karr
wrote:
> Sorry, can you clarify exactly what you mean by that?
>
> On Thu, Jun 16, 2022 at 4:14 PM Karl Heinz Marbaise
> wrot
;t use spring-boot-parent?
>
> Kind regards
> Karl Heinz Marbaise
>
>
> On 16.06.22 23:54, David Karr wrote:
> > We have a bunch of services running Spring Boot 2.3.12, which by default
> > uses junit-platform 1.6.3 and junit-jupiter 5.6.3.
> >
> > We are t
We have a bunch of services running Spring Boot 2.3.12, which by default
uses junit-platform 1.6.3 and junit-jupiter 5.6.3.
We are trying to instead use junit-platform 1.8.2 and junit-jupiter 5.8.2.
All the artifacts and versions we need are in junit-bom-5.8.2.
We want to control this in our pare
Along the lines of Bernd's response, I would (as we have done in our own
builds) use Maven to build the artifacts that we deploy to our intranet
repositories, but we do everything else in Jenkins pipeline script. We just
call "kubectl" for k8s configuration steps, and when it comes down to
integrat
> [1] https://lists.apache.org/thread/r86q92w8pfb1g3rg8tzbt810cjt6vdcq
>
> wt., 31 maj 2022 o 15:47 David Karr
> napisał(a):
>
> > I noticed the following issue:
> > https://issues.apache.org/jira/browse/SUREFIRE-2056
> >
> > I searched for it because we are seeing this
I noticed the following issue:
https://issues.apache.org/jira/browse/SUREFIRE-2056
I searched for it because we are seeing this in one of our builds.
I could use some more information about this. This is apparently a bug in
3.0.0-M6, which is fixed in 3.0.0-M7, which is not released yet. I verif
On Wed, Mar 30, 2022 at 11:52 AM Jörg Schaible
wrote:
> Hi David,
>
> On Wednesday, 30. March 2022, 19:46:35 CEST David Karr wrote:
> > I work in a large company on a large project with hundreds of services,
> > most of which are Java Maven projects. We have an "arc
e.org/guides/mini/guide-creating-archetypes.html it
> will probably do what you want.
>
Actually, I was mistaken. The service generation process does use a Maven
archetype.
> From: David Karr
> Date: Wednesday, March 30, 2022 at 10:47 AM
> To: Maven Users List
> Subject: Ho
I work in a large company on a large project with hundreds of services,
most of which are Java Maven projects. We have an "archetype" we use for
new services. It doesn't use the Maven archetype process. There are
particular areas in the pom.xml that is generated that really need to be
modified by
Our enterprise has builds for a couple of hundred services running many
times a day, on a set of Jenkins build nodes, most of which are Maven
builds.The builds use a settings.xml that doesn't override the
"localRepository", so it will use a local repository on the build node that
is used by all bui
Our org's builds have been using Java 8 for quite a while. We're starting
to move some builds to Java 11. We're seeing some builds failing with the
following:
-
Execution default-compile of goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile failed:
An API incompatibilit
t; >
> > > > > [INFO] T E S T S
> > > > > [INFO] ---
> > > > > [INFO] Running pkg.BDSHelperTest
> > > > > [INFO] Tests run: 1, Failures: 0, Errors: 0,
I, along with two other people on my team, have spent days and days now
trying to figure out why we cannot get Surefire to execute JUnit 5 tests.
We've all been working independently, so we don't all take the same path,
but it didn't really matter, as all three of us are pretty much stuck at
the sa
On Sun, Feb 27, 2022 at 4:05 PM Nils Breunese wrote:
> After reading the various responses to this thread with people recognizing
> this issue on various operating systems, I’ve opened an issue in the Maven
> issue tracker: https://issues.apache.org/jira/browse/MNG-7425
>
> Nils.
>
> > Op 18 feb.
I've already asked this on StackOverflow (
https://stackoverflow.com/questions/54385789/suddenly-getting-nosuchmethoderror-org-codehaus-plexus-compiler-compilerconfig),
but I'm getting nowhere, and all of our builds are blocked by this.
This is what we're seeing on the CI server:
-
On Wed, Jan 16, 2019 at 11:31 PM Vega Castañeda, Javier <
javier.vega-castan...@capgemini.com> wrote:
> Hello,
>
> I have set up a CI project with Eclipse, Jenkis, Git, Maven, Sonar and
> Nexus.The idea is that files are generated from the sonar analysis as part
> of the build to be able to proces
Why would there be plugin duplications? Are you thinking there would
be plugin definitions in the aggregator pom? The point of the
aggregator pom is that it defines the GAV of the artifact and has the
modules list and NOTHING else.
On Mon, Dec 5, 2016 at 11:27 AM, Mirko Friedenhagen
wrote:
> He
Ok. Could you remove the jars and then run it again?
On Thu, Mar 10, 2016, 20:58 Uwe Barthel wrote:
> Hi David,
>
> I use your pom.xml (but removed parent and org.opendaylight dependencies)
> and it works well with:
>
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
> 2015-11-10T1
One thing I should mention about your use of the "Struts-EL" library (which
I wrote, like, 15 years ago). It was a stopgap solution to somewhat
integrate Struts with JSP expressions, but only in JSP 1.2 containers. If
you use it in a JSP 2.0 or newer container, you'll likely get confusing
results.
It's conceivable you don't have to mess with any sort of repackaging.
The problem is that the MQ classes that your container loads have to be in
a specific location, with a specific name. Simply deploy your unmodified
application into a container with an altered classpath, where those
"special" j
I suggest you pursue this on the Sonar user list, then.
On Sun, Dec 8, 2013 at 11:55 AM, Omar@Gmail wrote:
> Thanks David,
>
> Yes Sonar on separate server.
>
> Also please see
> http://www.mail-archive.com/users@maven.apache.org/msg132123.html
>
>
> On 8 December 20
I assume that your Sonar server is not the box you're running Maven on?
What Sonar properties are you setting in your settings.xml? Feel free to
omit the value for each if you need to.
In the Sonar installation instructions there is a section titled "Adding
the JDBC Driver" which talks about add
As Stephen states, and you've realized intuitively, this is not what Maven
is for.
A simple way to do what you're trying to do is simply to package all of the
config files for each environment in your artifact, although perhaps
without the production one (which typically has production credentials
If you're just trying to build a windows executable, I've been able to use
"launch4j" to make this happen. It works perfectly fine for what I've used
it for.
On Thu, Feb 7, 2013 at 9:34 AM, Jeff MAURY wrote:
> Hello,
>
> I have the following request:
> I want to build with Maven a Windows execu
I had also discovered the difference between the missing vs. empty
"relativePath" element. Although it was initially disconcerting that I had
to specify an empty "relativePath" element to get what I assumed was the
most reasonable behavior, I can also see the logic of the alternative with
the defa
Concerning the empty "relativePath" element, this will typically be empty
when you can't guarantee that the parent is in the parent directory. it's
a common practice to separate the responsibilities of the aggregator pom
from the parent pom. When that is the case, if you don't have the empty
"rel
On Wed, Apr 4, 2012 at 2:06 PM, Russell Gold wrote:
> I see that the maven lifecycle includes separate phases for unit tests and
> functional tests, but I don't see how to take advantage of that. The
> failsafe plugin, as far as I can tell, uses the exact same directories as
> the surefire one. Is
On Sat, Mar 24, 2012 at 8:45 AM, sarmahdi wrote:
> Hello,
>
> I did the mvn.bat --help and it gave me a list of options.
>
> I need to know that IF i want to write a batch or shell script for three
> different projects. how can i do that.
>
> /echo Starting Maven build process
>
> cd c:\demo1\wo
On Wed, Mar 16, 2011 at 5:40 AM, arvindv6 <
arvind.venugo...@verizonbusiness.com> wrote:
> Hi
>
> When i try to compile and generate java files using jaxb through xjc maven
> plugin i am getting the error.
>
> Please suggest how to use the jaxb:extensionBindingPrefixes by disabling
> the
> strict
I work on a pretty large project that uses Ant for builds. We're doing some
research on converting to Maven. I'd like to describe some of the elements
of our situation, hopefully to find some conceptual "cookbook" strategies
for those aspects.
The "application" consists of the aggregation of seve
49 matches
Mail list logo