BTW you can also write the version to the manifest and then use
class.getPackage().getImplementationVersion() like I did here:
https://github.com/ecki/et-otp/blob/663228f2b6ad7d3f20aad04ca5f675b49662a78c/src/main/java/net/eckenfels/etotp/GUI.java#L64
This only requires
I think there are two issues with this, first of all git is not the only SCM,
so why prefer it’s file.
But secondly it is very common that binary result artifacts are git ignored and
exactly the stuff you want to package. For example target/
Are you thinking about -src archives, only?
Having
Hello,
I think the /usr/bin/mvn (i.e. "not in path") and /usr/share/maven/ points
to a non-pristine distribution shipped Maven (Debian?).
I would start with using an upstream Maven distribution archive to make sure
its no packaging error. )And also use a supported JDK by fixin PATH and
JAVA_HOME
Manually marking a directory as source is not what I would define as
„understands Maven“. Eclipse finds thise directories automatically (if a know
plugin is used)
Gruss
Bernd
--
http://bernd.eckenfels.net
>From Win 10 Mobile
Von: Robert Patrick
Gesendet: Sonntag, 23. Oktober 2016 18:45
An: Ma
Hello,
You can have multiple groups (but I have never seen hundreds or thousands in
use). In our case we have virtual repos only based on the product status and a
separate virtual one for build time (plugin) dependencies.
Btw one more reason for using different settings if you work on projects
Hello,
For ensuring that artifacts not go away (like recently some older JBoss public
repos) for enforcing licensing and security restrictions, for caching the
internet, and of course for having a single aggregated repository view we run a
single company server (with a filtered central and othe
Hello,
This sounds like you have enabled seperate local repositories per executor in
the Jenkins settings. This is actually a good thing for parallel builds but it
does of course require more storage space.
Look for Repository „Local to Executor“ setting in Jenkins configure. Here is a
screens
Hello,
If you are talking about an eecutable JAR file, then there is no way to specify
the heapsize in the Jar.
If you are talking about some executable wrapper we would need to know what
plugin you use to help you. The exec:java plugin for example reads command line
arguments from the plugin
Maven uses the -D syntax for user properties (too). I guess this is just
because it is familiar and "user options" for direct invocations was an
afterthought. Properties works for all plugins but most of them are not used
interactively/direct like the archetype plugin. I dont think it is particu
Hello,
It might be a possible usecase to differentiate by extension, but if you want
to follow the pure maven model just use an classifier which is used in the repo.
Gruss
Bernd
--
http://bernd.eckenfels.net
-Original Message-
From: Dan Tran
To: Maven Users List
Sent: Fr., 20 Mai 20
Hello,
you can configure local repositories with file: URLs configured in profiles.
https://maven.apache.org/guides/mini/guide-multiple-repositories.html
It is not possible to have the local repository cache in a profile, but you can
use different settings.xml files with the -s option.
https:
I typically use different settings files and specify them with the -s option.
(However I have no explanation on your profile question)
--
http://bernd.eckenfels.net
-Original Message-
From: Jonathan Vila Lopez
To: Maven Users List
Sent: Mo., 15 Feb. 2016 13:01
Subject: Skip the settin
Hello,
Yes you have to provide interfaces for Java 8 compiler which you did not need
before. If your dependencies do not provide these artifacts you get the
compiler error. You then basically have the option to include it in the
upstream dependency or in your own project as a compile time deoe
Hello,
Most likely the source directory is (incorrectly) overwritten at the compile
plugin (or it is compiled by the parent pom or some other strange mechanisms
like an ant plugin). The -X output (together with the effective pom) should
tell you that as well.
Removing the , moving the files to
Hello,
You can run the build with -X it will give you the actual config parameters
used for the plugin (especially includes/excludes/sourceDirectory) as well as a
list of the (not) scanned resources.
Gruss
Bernd
--
http://bernd.eckenfels.net
-Original Message-
From: "David M. Karr"
It should work with the dependency plugin:
https://maven.apache.org/plugins/maven-dependency-plugin/list-repositories-mojo.html
Not exactly scientific, but the fastest method I use is to delete the file and
run the mvn command again, it will log the download URL.
Gruss
Bernd
--
http://bernd.
Hello Ron,
As far as I understand it maven uses MAVEN_HOME internally. However it will
deduce and then overwrite the value based on the scripts execution path. So it
can be pretty confusing when the PATH finds one version and you MAVEN_HOME
points to another. If both agree, then there is no pro
Hello,
How do you construct the effective classpath? Is this a text file, the content
of a directory, is it related to a feature definition or is it based on the
transitive maven dependencies?
Depending on your answer you eed to control the project/artifact which defines
it. (I am not sure if
To rename the produced artifacts and remove the version you can use another
final name template like:
${artifactId}
(See
stackoverflow.com/questions/9593473/how-to-build-project-with-maven-without-version)
However it is usually better to stick to that convention and configure the
deployment m
Thanks vincet,
I already tried the latest version (because 2.5.2 announced scm 1.9.4 update),
but I might need to try it again with a minimal POM so I can check which
provider is loaded. If I understand correctly you would agree it is a bug to
ignore untracked files. Because I can then open a J
First of all you dont pay, you only demand (with multiple exclamationmarks), so
you are not a customer, and secondly me and Jörg did explain to you that maven
always resolves all dependemcies (unless you exclude them), so there is your
education. If you dont care about maven just stick in the ex
21 matches
Mail list logo