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 "archetype" we use for
> > new ser
On Wed, Mar 30, 2022 at 11:52 AM Shipp, Scott
wrote:
> Are you saying that this is not a Maven archetype or that it is? The Maven
> archtetype feature allows the POM (and other files) to be templated. It
> sounds like exactly what you are looking for. Check out
> https://maven.apache.org/guides/m
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 "archetype" we use for
> new services. It doesn't use the Maven archetype process. There are
> par
Are you saying that this is not a Maven archetype or that it is? The Maven
archtetype feature allows the POM (and other files) to be templated. It sounds
like exactly what you are looking for. Check out
https://maven.apache.org/guides/mini/guide-creating-archetypes.html it will
probably do what
Syntax error sounds like the best thing - using a enforcer plugin to produce an
error will not be possible in arbritary locations.
And of course you also can add a commit or review hook to block template
snippets to be committed.
Not sure if any of that is required if you have a commit review p
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
It is actually easier than that, there is no need to use system
properties. You can pass a parameter to an agent's 'premain' and
'agentmain' methods, which have signatures
public static void premain(
String commandLineOptions,
Instrumentation instr
)
public static void agentmain(
String com
I would do this via a profile, default value and surefire config, so
something like;
withJavaAgent
-javaagent:C:\JARS\agent.jar
maven-surefire-plugin
${myJavaAgent}
-DtheGroup=${project.groupId} -DtheArtifact=${project.artifactId}
Then if you want to
[You are receiving this because you are subscribed to one or more user
or dev mailing list of an Apache Software Foundation project.]
ApacheCon draws participants at all levels to explore “Tomorrow’s
Technology Today” across 300+ Apache projects and their diverse
communities. ApacheCon showcases t