ample, is there a - simple as possible -
> archetype that I could clone, with a reference folder?
>
> mit freundlichen Grüße, Best Regards
>
> Rolf
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Shouldn't you use the jar-no-fork *goal* of the maven-source-plugin? Using
that value as execution id does nothing special.
BTW, did you read https://central.sonatype.org/publish/publish-maven/ ?
(No idea if any of this would solve your problem though)
Le jeu. 21 déc. 2023, 03:15, Laird Nelson
In `mvn -X` you should find the arguments to javac (beware that empty
arguments are not displayed there, rather than being shown as "" for
instance), which would allow you to run javac on your own, taking Maven out
of the equation.
Le mar. 19 déc. 2023, 23:28, a
écrit :
> Indeed, if there were A
Afaict, running with debug logs (mvn -X) will print the arguments passed to
the compiler, such that they can be passed to javac with Maven pushed out
if the equation.
They can then be inspected and tweaked, and then maven-compiler-plugin
configuration (hopefully) adjusted to what's expected.
Le lu
support
> Maven coordinates
> * [SUREFIRE-2182] - Log starter implementation on DEBUG level
>
> ** Dependency upgrade
> * [SUREFIRE-2188] - Upgrade to Parent 40
>
>
> Enjoy,
>
> -The Apache Maven team
>
> --
7;t support @file arguments, so I think the question
remains unanswered: can Maven load a property's value from a file?
(possibly through a plugin; I have looked at build-helper-maven-plugin and
apparently it doesn't support it)
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Le dim. 30 juil. 2023, 21:36, Garret Wilson a
écrit :
> On 7/30/2023 3:45 PM, Thomas Broyer wrote:
> > The easiest way to opt-in is to configure the plugin in
>
> > of the parent POM, and then only "apply" to chosen projects by declaring
> > the plugin i
The easiest way to opt-in is to configure the plugin in
of the parent POM, and then only "apply" to chosen projects by declaring
the plugin in the (only needs the groupId and artifactId
then)
That only works if you're calling Maven with lifecycle phases though, I
think it'll error out if you try
I must say I haven't seen any project using the approach described in the
Maven doc.
Most projects I've seen use the root POM as both the aggregator POM and the
parent POM, and have their BOM in a submodule. Sometimes the root POM is
only the aggregator and the parent POM is a submodule as well.
aven project doesn't itself provide Docker images
AFAICT so at least there cannot be any confusion between two "official"
images.
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
[INFO] | | +- xerces:xercesImpl:jar:2.11.0:provided
> [INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:provided
> ...
> [INFO] +- com.megginson.sax:xml-writer:jar:0.2:compile
> [INFO] | \- xml-apis:xml-apis:jar:1.0.b2:compile
>
> So for some reason the machines see a different requirement for
> xml-ap
Have you tried diffing the effective-pom on the various machines?
How about running with debug logs? Does the waven-war-plugin maybe outputs
why it picks or excludes dependencies from the war?
Le ven. 14 avr. 2023 à 21:34, Thad Humphries a
écrit :
> I have *war that I've built on 3 different Mac
Doesn't JDK 18 come with jpackage for exactly that use case? Not sure
how/if you can drive it from Maven but you should be able to prepare
everything with dependency:copy-dependencies or the maven-assembly-plugin
and then run jpackage manually to produce the installers.
Le dim. 16 oct. 2022 à 10:2
IIRC exec:java doesn't fork a new JVM so the java.class.path is the one
from Maven itself. Your dependencies are "only" in a custom classloader.
You might want to try exec:exec with java as the executable.
Le dim. 24 juil. 2022 à 20:46, Siddharth Jain a écrit :
> we are running into the dreaded
TL;DR: it doesn't use the maven-plugin-testing-harness but
maven-invoker-plugin, and that's what I've been using as well.
Le mar. 28 juin 2022 à 07:59, Martin Höller a écrit :
> Hi! Stephan!
>
> Some years ago I had a similar problem while developing
> vdldoc-maven-plugin [1]. I found all the ne
Le lun. 20 juin 2022 à 20:38, Pawel Veselov a
écrit :
> TL;DR:
>
> Is there a way, and what is the correct one if there is, to prevent a
> package being downloaded from a particular repository (or lock it to
> being downloaded from a particular one, though I thought the answer to
> that one is "n
How about first building a distribution for each module separately (each in
its own Maven module) and then assemble them into a single distribution?
Le sam. 7 mai 2022 à 18:49, Mark Raynsford
a écrit :
> Hello!
>
> I'm running into a problem when trying to produce an application
> distribution.
n some projects, I maintain some
Maven plugin and archetypes, and have to deal with Maven as a consumer of
libraries I contribute to (lately having to make tests with artifact
relocation and BOMs)
Am not saying either "maven is the best", but I am convinced "maven can be
>
before
annotation-user in the aggregator POM (it also runs the
whole build, rather than '-pl annotation-user -am', using that you should
see that you need to explicitly add annotation-processor to the project
list on the command line)
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
depending on the order you
pass them on the command-line). In this case, in a small reprocase
generated using a couple of
org.apache.maven.archetypes:maven-archetype-simple archetype:generate
invocations, exec-maven-plugin failed with a NPE when looking up the
executableDependency, which is probably a bug in the plugin, but my point
was to demonstrate issues with the Maven lifecycles, even prior to execute
the plugin's goal.
If you do not want/cannot afford to add the package phase to that
invocation, your only alternative (to my knowledge) is to 'mvn install -pl
submoduleA' prior to 'mvn -pl submoduleB exec:java'.
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
e sample project using it) should be
possible without 'mvn install', through an aggregator build (this is mostly
the case, but there are exceptions). In other words, I should be able to
'cd' into a project and 'mvn verify' it and it should Just Work™ without
relying on some "ambient" state such as "when did I last 'mvn install' that
thing? am I actually using the 'correct version' of it?".
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
lared as a plugin dependency of 'the-plugin' in project 'target-project'
won't be built besides what the plugin's goal @execute declares. So you'd
actually have to first 'mvn install -pl scaffolding-config' and then 'mvn
-pl target-project the-plug
Because it is an antipattern?
https://www.cloudbees.com/blog/maven-and-install-hack
If you do rely on "mvn install", which one of your commit is your snapshot
in your local repository from? How can you tell? And it gets worse if you
deploy snapshots to a repository, as now it could also be from so
t; > certain whether those build nodes are shared with other projects in
> > our
> > > large enterprise. I'm trying to determine that.
> > >
> > > We may determine that because of these issues, we will have to specify
> > a
> > > fresh empty local repository for every build, which will obviously
> > make our
> > > builds take longer.
> > >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Le mar. 22 mars 2022 à 23:37, Nick Stolwijk a
écrit :
> Also, org.codehaus.groovy:groovy-eclipse-batch:RELEASE is not in
> Maven Central.
Yes it is:
https://search.maven.org/artifact/org.codehaus.groovy/groovy-eclipse-batch
About the RELEASE version:
https://www.baeldung.com/maven-dependency-
This is totally unexpected behavior to me: an external 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:2
On Thu, Mar 10, 2022 at 5:22 AM Nils Breunese wrote:
> Thomas Broyer wrote:
>
> > Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit :
> >
> >> The Maven build lifecycle consists of phases [0] and you can bind plugin
> >> goals to phases. As far as I know
Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit :
> Steve Hannah wrote:
>
> > I'm trying to achieve better integration into VSCode with my project
> > archetype. The way that the VSCode maven extension seems to prefer to
> work
> > is for users to explicitly "run" a goal from a plugin of the
before simplifying my Jenkinsfile.
>
> Moreover, does anyone know how this problem is solved technically ? Using
> files lock ? Can anybody explain ?
>
> Thanks you and thanks the Maven team for keeping up the good work at such
> pace !
>
> François MAROT
>
>
> * ht
[ERROR] at
>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:84)
> [ERROR] at
>
> org.apache.maven.plugin.surefire.InPluginVMSurefireStarter.runSuitesInProcess(InPluginVMSurefireStarter.java:87)
> [ERROR] ... 16 more
>
> I don't like guessing what is going on here, but i'm not in a position to
> go that extra mile and "Run Maven with -Dmaven.surefire.debug, and attach
> to the running process with a debugger."
>
> In a nutshell my question is "how can I build with a JDK 9 or above using a
> toolchain and without being limited to a single test fork?"
>
> Thanks,
> Delany
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Well, maven-shade-plugin does "attach" the dependency-reduced POM:
https://github.com/apache/maven-shade-plugin/blob/768092f38b0b1650217642cf10b7b0c381cbf707/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java#L1191
At least when you install or deployed, that POM gets installed/deploye
Dependencies declared with scope=test in the original project
(google-cloud-storage) won't come in transitively, you'd have to copy/paste
them.
Ideally, if that use case were to be officially supported, the project
would have to publish the tests as a normal JAR at different coordinates,
so it wou
?
https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html#additionalOptions
Though many (all?) options can be set directly through plugin properties.
Le sam. 27 mars 2021 à 02:35, leerho a écrit :
> I can't find adequate documentation on how to add command line arguments /
> option
Use the 'archive' property of the assembly plugin itself (not in the
assembly descriptor):
http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#archive
Le jeu. 18 févr. 2021 à 11:23, Jean-Pierre Urkens
a écrit :
> Hi all,
>
>
>
> I am trying to generate a ‘jar’ assembly that co
Well, at a minimum, http:// is redirecting to https:// so that explains the
301.
Le dim. 14 févr. 2021 à 21:13, Anthony Whitford a
écrit :
> I just noticed that my generated Site isn’t properly including the MIT
> License.
>
> In my pom.xml, I have:
>
>
>
> The MIT License
>
t;> What goes up, must come down. Ask any system administrator.
> >> There are 10 types of people in the world: Those who understand binary,
> and
> >> those who don't.
> >> To understand recursion, we must first understand recursion.
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Actually, I'd say those BOMs probably shouldn't declare jackson. The
project's dependencies should be enough, and you explicitly declare the
version you need/want to use.
In the case of the OCI BOM, it seems quite clear that it mistakenly
inherits dependency management from it's parent POM: most BO
release/exec/InvokerMavenExecutor.java#L318
>
> With regards,
>
> Nick Stolwijk
>
> ~~~ Try to leave this world a little better than you found it and, when
> your turn comes to die, you can die happy in feeling that at any rate you
> have not wasted your time but have done your
turn comes 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
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
(sorry for the delay)
On Sat, Oct 3, 2020 at 5:27 PM Karl Heinz Marbaise
wrote:
> Hi,
>
> On 03.10.20 11:47, Thomas Broyer wrote:
> > Wait, you mean that you don't even follow your own rules for versions ⁉️
> > where milestones sit between beta and RC versions.
>
Wait, you mean that you don't even follow your own rules for versions ⁉️
where milestones sit between beta and RC versions.
Le sam. 3 oct. 2020 à 09:57, Enrico Olivelli a écrit :
> Lukas,
> The general rule is that we are not releasing unstable versions so it is
> generally safe and good to upgr
+1
Use version suffixes, and think about deploying Gradle Module Metadata so
Gradle users can see them as variants of one another and more accurately
pick a version:
https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html
and e.g. https://github.com/google/guava/pull/3683
ng generated though. So compilation will succeed, but
the output will be "incomplete" (but maybe that's what you want after all).
[1]
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#excludes
[2] https://blog.ltgt.net/most-build-tools-misuse-javac/
--
Th
; dependemcymanagement matters?
> > and also, does order of plugins in pluginmanagement matters?
> >
> >
> > thanks!
>
> --
> Regards,
> Tomo
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
:CodeNarc:1.6
> (/root/.m2/repository/org/codenarc/CodeNarc/1.6/CodeNarc-1.6.jar): No
> plugin descriptor found at META-INF/maven/plugin.xml -> [Help 1]
>
> What's this about?
>
> Thanks,
> Linus.
>
>
> On Tue, 7 Jul 2020, 22:20 Thomas Broyer, wrote:
>
>
gins
>
>
>
> However, I encounter an error downloading the dependencies since maven
> expects a codenarc:jar file but a zip file is provided instead.
>
> How do I force Maven to download the zip file instead, preferably
> configuring it within the pom?
>
>
> Regards,
> Linus.
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
calculate a certain order of building the modules, depending on how
> those modules depend on each other. This (what I will call) reactor module
> tree is exactly the information I need.
>
> Is there a way to access this information from a plugin? ${reactorProjects}
> does not t
Not a direct answer but what if you use a rather overriding the
"central" ?
https://maven.apache.org/guides/mini/guide-mirror-settings.html
Le dim. 15 mars 2020 à 18:17, tic01 a écrit :
> Hi team,
>
> When resolving bom artifacts, the following method is invoked -
> org.apache.maven.model.build
What is it that you think is not working?
(fwiw, javaP -version prints the version of javaP, not the version the
class was compiled with/to; that would be a 51.0 or similar anyway, not a
1.7)
Le ven. 13 mars 2020 à 08:26, Nelligan, Steven M a
écrit :
> *It appears that the maven-compiler-plugin
> > Is there a way I could tell the compiler plugin just to ignore the
> > version but also to ignore if it's missing and just compile it with
> > whatever version I ran maven with?
> > It's basically: I use different systems all with different jdk
> > installed
> > - so when just clone the most recent version from github I always have
> > to set the correct version manual as netbeans doesn't seem to be handle
> > that by itself - and I could find an option to just get rid of it at
> > all.
> >
> > Thanks in advance,
> >
> > Matt
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
Le dim. 2 févr. 2020 à 17:48, Anton Vodonosov a
écrit :
> Hello.
>
> In order to speed up the build of a multi-module project, I'd like to
> reuse artifacts of modules that haven't changed.
> Manual versioning is tedious and error-prone.
>
> Is it possible to automatically assign versions to modu
) @
> authservice.definitions ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/sb/workspaces/ws03/authservice/authservice.definitions/src/main/resources
> ...
>
> A lot of the forking messages to be repeat
That would reconfigure which phase the mojo is bound to (if any, which is
not the case if the Liquibase plugin) when executed as part of the build
lifecycle; it won't allow you to fork a lifecycle when calling the goal
directly.
Le lun. 23 déc. 2019 à 15:02, Mark Prins a écrit :
> You should be
It's hardcoded in the plugin (and this is why you have things like
sources:jar and sources:jar-no-fork depending on how you need/want to
invoke it)
Le dim. 22 déc. 2019 à 18:04, Stanimir Stamenkov
a écrit :
> I'm having a POM like:
>
>
>
>
>
>
IIRC, Java's user.home system property does not depend on $HOME but on the
home of the current user as declared in /etc/passwd
If you want to set/change it, you need to set the system property with
-Duser.home=… (with Maven, you'd set it in $MAVEN_OPTS; I think you could
also use $_JAVA_OPTS to set
have one flavor at a time in
your dependency tree, and dependencyManagement can be used to pin the
version you want to actually use.
See https://github.com/google/guava/issues/2914 and
https://docs.google.com/document/d/1NYGbfz56C0Oh4IGymXjeQUVK4FcRiqDbpc4vGLnDMrY/edit?usp=sharing
(which I found out after writing the above, and didn't read in full yet)
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
situation where I had to dig parent/import
> > relationship of multiple POMs. I had to read pom.xml via
> search.maven.org
> > for each POM artifact.
> > Detail:
> > https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/1001
> .
> > I wish I can tr
nature
> >
> >
> >
> > GSMA Associate Member / Mobey Forum Member
> > This message is private and confidential. Any views or opinions
> expressed are solely those of the author and do not necessarily represent
> those of Infobip d.o.o. If you have received this message in error, please
> notify us immediately via email to customer.supp...@infobip.com customer.supp...@infobip.com> or telephone +442032864231.
> >
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
rsion-timestamp-NN
> > > >
> > > > where NN auto-incremented at each maven module and the number varies
> > > >
> > > > Is there a way to use same snapshot NN for the entire multi-module
> > maven
> > > > build?
> > > >
> > > > If I have to implement a solution, would it be as an extension or I
> > have
> > > > to tinker with maven-deploy-plugin?
> > > >
> > > > Very appreciated any advice
> > > >
> > > > -D
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
On Sat, Jun 29, 2019 at 4:50 PM Tibor Digana wrote:
> Where do we use dependency with groupId "org.codehaus.mojo"?
>
I wasn't replying to the surefire part of the OP, Tibor; only about
org.codehaus.mojo groupId and whether those are "dead components".
> BR018923), Registered Branch Office: 25 Canada Square, London, E14 5LQ; FIS
> Investment Systems LLC is a limited liability company formed in the USA
> registered on file with the Office of the Delaware Secretary of State,
> Division of Corporations (File No. 0881255), Head Office: 377 E.
> Butterfield Road, Suite 800, Lombard, IL 60148, USA | Calls to and from the
> companies may be recorded for quality purposes. | All of the named
> companies are part of FIS (Fidelity National Information Services, Inc.).
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
--------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
--
Thomas Broyer
/tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>
There might be a rule in the enforcer plugin (I haven't checked). If one
really wanted to change the dependency scope, he could add an exclusion in
the Y dependency to break the transitivity.
Fwiw, whenever you change your dependencies, it's a good idea to run mvn
dependency:tree and look at the o
Rule of thumb: in a react build, don't ever use any lifecycle phase prior
to package, and if you want to skip tests, use -DskipTests or
-Dmaven.test.skip. Corollary: stick with "package" and "verify" (I consider
"mvn install" is an anti-pattern).
BTW, as another rule of thumb, use "processClasses"
Adding the plugin won't be enough, you'll have explicitly name the mojo in
an . What defaultPhase does is that you don't have to specify a
in the .
Actually, you can even list all mojos in the same even if
they're bound to different default phases:
…
…
…
mojo1
Le ven. 21 déc. 2018 20:23, Robert Scholte a écrit :
> There are a couple of things happening here.
>
> 1. dependencies are checked even though they are downloaded
> This ensures that the build doesn't rely on *your* *local* repository. At
> any time anybody should be able to build the project, i
This needs to be built into the plugin that will do the aggregation. The
mojo needs to be marked as being an "aggregator":
https://maven.apache.org/developers/mojo-api-specification.html
On Mon, Nov 26, 2018 at 12:55 PM Neeraj Mahajan
wrote:
> Hi ,
>
> I have multi module project and each module
right.
> >
> > Here's my latest attempt :
> >
> > https://ibb.co/g4atCq
> >
> > https://ibb.co/kppH5A
> >
> > I am so sorry to trouble you again but
> > I really hope how should I make the my URL correct. Do
> > I move all the jsp to
I really hope how should I make the
> my URL correct. Do I move all the jsp to above image folder and just below
> WEB-INF ?
>
> Tks & regards,
> Karen
>
> --- On Sun, 11/4/18, Karen Goh wrote:
>
> > From: Karen Goh
> > Subject: Re: Need advice to put my bo
On Thu, Nov 1, 2018 at 5:55 AM Karen Goh
wrote:
>
>
> On Tue, 10/30/18, jieryn wrote:
>
> Subject: Re: Need advice to put my bootstrap template in Maven archetype
> web app
> To: "Maven Users List" , karenwo...@yahoo.com
> Date: Tuesday, October 30
How about, say, maven-compiler-plugin's annotationProcessorPaths?
Le mer. 17 oct. 2018 12:29, Andreas Janning a
écrit :
> Hello maven users,
>
> I have just released a new open source maven plugin: The Go Offline Maven
> Plugin.
>
> It can be used to download all dependencies and plugins require
Have a look at how JaCoCo does it, as AFAICT it has exactly the same needs:
https://www.eclemma.org/jacoco/trunk/doc/maven.html (source code:
https://github.com/jacoco/jacoco/tree/master/jacoco-maven-plugin/src/org/jacoco/maven
)
TL;DR: prepare-agent goal sets a property that you can then use to
c
Alternatively, if possible, you could possibly run the app with both
configurations in parallel (two executions of jetty-maven-plugin in
pre-integration-test and post-integration-test phase, using different
ports), and run you tests twice, for each app / port (two executions of
failsafe at integrat
Either change the artifact (if you can) so it generates a pom.xml with the
appropriate source/target version [1], or indeed change the project pom.xml
(after it's been generated by the archetype)
[1] and possibly a profile for JDK 9+ that uses , assuming the
target is <= 8; otherwise use instead
On Wed, Aug 29, 2018 at 8:36 AM Guido van Brakel <
guido.vanbra...@outlook.com> wrote:
> Hi,
>
> We have an issue with Maven not finding a certain dependency, anyone able
> to help this Maven. Keep in mind that I’m quite newbie to Maven, and just
> try run a build
>
> [ERROR] Failed to execute goa
One approach could be to have a main() overload taking an additional
Environment argument to abstract access to environment variables, system
properties, and standard I/O; and returning an int as the possible
System.exit() value.
That way, you can easily stub the environment for tests.
Your standar
What you're looking for is https://maven.apache.org/pom.html (from
https://maven.apache.org/ click "User Center" then "POM Reference")
Le mar. 24 juil. 2018 19:40, Angelo Moreschini
a écrit :
> How course I found the document at link : "
> http://maven.apache.org/xsd/maven-4.0.0.xsd";
>
> But th
altDeploymentRepository (or alternatively
altReleaseDeploymentRepository/altSnapshotDeploymentRepository) sounds like
THE solution to this problem:
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository
mvn deploy -DaltDeploymentRepository=company-repo:defaul
On Thu, Jun 28, 2018 at 5:59 PM Karl Heinz Marbaise
wrote:
> Hi,
>
> On 28/06/18 12:59, Václav Haisman wrote:
> > Hi.
> >
> > Is there any effort to make Maven Java 9 friendly and provide modules? I
> > have hit some issues when I was trying to compile a 3rd party Maven
> plugin
> > (nashorn-mave
It looks like you just want to deploy your snapshot to a repository; in
that case you'll want to simply "mvn deploy", without even using the
maven-release-plugin (for the reasons Karl Heinz gave)
Le mer. 27 juin 2018 18:30, Ravindranatha Panikar, Renjith <
rr...@allstate.com> a écrit :
> I am pla
On Fri, Jun 15, 2018 at 5:45 PM Karen Goh
wrote:
> Hi,
>
> I run into a problem in my Spring Boot Web project and then there's an
> advice following this URL :
>
> https://github.com/spring-projects/spring-boot/issues/12398
>
> But, when I run mvn dependency:purge-local-repository, I get another
No, AFAICT, it's the list of all licences known to the plugin, irrespective
of "applicability" and/or your dependencies.
On Tue, May 22, 2018 at 5:20 PM Désilets, Alain <
alain.desil...@nrc-cnrc.gc.ca> wrote:
> This may sound a bit nit-picky, but I need to be 100% about this...
>
>
> I am using t
Be careful in your testing: javadoc:javadoc forks a lifecycle at
'generate-sources' phase (and javadoc:aggregate at 'compile' phase),
whereas javadoc:jar does not!
So running 'mvn javadoc:jar' alone indeed won't run your protoc plugin,
which won't add the generated sources as a compile source root.
Oh great, thanks for the heads up! (I had asked for this years ago and then
they moved to Eclipse and I lost track)
Le sam. 13 janv. 2018 23:24, Olivier Lamy a écrit :
> Hi,
> Well to be fair Jetty Maven Plugin has now this feature as well...
>
> On 14 January 2018 at 03:25, T
On Sat, Jan 13, 2018 at 3:20 PM Thomas Broyer wrote:
> Tomcat Maven plugin has built-in support for reactors, so run it at root
> rather than within the web submodule (possibly with "-pl web -am"). It will
> automatically compile all (needed) submodules and launch Tomcat, and
Tomcat Maven plugin has built-in support for reactors, so run it at root
rather than within the web submodule (possibly with "-pl web -am"). It will
automatically compile all (needed) submodules and launch Tomcat, and with
auto-deploy will automatically reload the webapp to pickup changes in any
su
maven-assembly-plugin would likely be less ugly. Have you tried that?
Le jeu. 2 nov. 2017 22:26, MAISONOBE Luc a écrit :
> Hi,
>
> MAISONOBE Luc a écrit :
>
> > Hervé BOUTEMY a écrit :
> >
> >> Hi,
> >
> > Hi Hervé,
> >
> >>
> >> AFAIK, reading the plugin source code, there is no feature to ad
gt;
> On Tue, 10 Oct 2017 15:51:34 +0200, Thomas Broyer
> wrote:
>
> > Hi all,
> >
> > A net.ltgt.gwt.maven:gwt-maven-plugin user reported to me today [1] that
> > after updating the plugin from the latest release to the latest
Hi all,
A net.ltgt.gwt.maven:gwt-maven-plugin user reported to me today [1] that
after updating the plugin from the latest release to the latest snapshot,
he faces a NoSuchMethodError on
org.codehaus.plexus.util.StringUtils.isBlank(Ljava/lang/String;)Z. Between
the two tested versions, I updated o
See https://melix.github.io/javaone-2017-max-incremental/ for how Gradle
does it (and so it uses it not only for incremental compilation, but also
compilation avoidance).
Bazel's ijars are a similar mechanism to avoid unnecessary work.
On Wed, Oct 4, 2017 at 5:19 PM Thomas Broyer wrote:
&g
AFAIK, the ijar (for "interface jar") is a standard JAR, with standard
*.class files *except* that the method bodies and private members have been
stripped out (and timestamps are normalized too). That way, if you change a
method implementation, or a private member (add/remove private field or
meth
AFAIK, as soon as you use a in a dependency, the transitive
dependencies from its POM aren't used (actually, Maven might even not
download the POM at all in this case); so you should be OK using
shaded.
Note however that, this shaded JAR still depends on Guava, SLF4J API and
Immutables, so you'll
> Sadly it's done only for the regular jar. Not the jar-with-dependencies
> > one.
> >
> > And yes I've updated the versions in the new build file. So assembly
> > plugin and shade plugin both run with 3.1.0.
> >
> > Best regards
> >
> > Dani
You're using both m-assembly-p's jar-with-dependencies and m-shade-p, could
it be a conflict between them? (or possibly you don't look at the correct
JAR)
If you use m-shade-p, you don't need m-assembly-p's jar-with-dependencies;
m-shade-p does the same thing, better, and does more (class renaming,
Maven Enforcer Plugin's Require Upper Bound Dependencies might be enough
for your use-case (also notice there's a Require Release Dependencies rule
to prohibit snapshot dependencies)
http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html
Le mar. 15 août 2017 12:06, Mark Raynsfo
Wouldn't have dependency:copy-dependencies helped here rather than
sed/grep/wget? (maybe not, devil is in the details and I just skimmed
through your script)
https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html
Le dim. 11 juin 2017 20:53, Paul Hammant a écrit :
>
activemq-all, as its name suggests, bundles third-party dependencies in its
JAR (rather than declaring them as dependencies), and it happens to include
slf4j:
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.activemq/activemq-all/5.11.1
So I suppose, the first run finds slf4j classes
How about everybody read their mail?
(see below)
On Thu, May 4, 2017 at 6:10 PM Curtis Rueden wrote:
> Hi Dan, Karl & everyone,
>
> > See Karl's Blog
>
> Link, please?
>
[…]
> > > > On 03/05/17 20:39, Dan Tran wrote:
> > > >
> > > >> Hi
> > > >>
> > > >> I have been experimenting with suggestio
Disclaimer: I don't know Gentoo.
On Mon, Mar 20, 2017 at 4:19 PM Curtis Rueden wrote:
>
> The main question I have is about Maven plugins: since Maven builds do some
> bootstrapping, but Gentoo builds are not supposed to download things from
> the network, it means we might need a pre-baked Mave
Hi,
On Wed, Mar 15, 2017 at 2:11 PM Luis Henrique de Souza Melo <
l...@cin.ufpe.br> wrote:
> Hi,
>
> I am a student at the Federal University of Pernambuco, and our group is
> having some issues with Maven to run some tests in a huge amount of
> projects.
>
> We plan to run all theses open-source
1 - 100 of 205 matches
Mail list logo