Re: Will this potentially break in future releases ?

2024-04-08 Thread Tommy Svensson
my open source binaries. So if I screw up I only screw up my stuff :-). Thanks for replies! __ Tommy Svensson to...@natusoft.se Från: Francois Marot Svara: Maven Users List Datum: 7 april 2024 at 22:45:26 Till: Maven Users List Ämne:  Re: Will this potentially br

Re: Will this potentially break in future releases ?

2024-04-08 Thread Tommy Svensson
by Groovy, and do that in an as uncomplicated way as possible.  I have my own repo at repsy.io which I can test against. Thanks for the replies! /Tommy ______ Tommy Svensson to...@natusoft.se Från: Francois Marot Svara: Maven Users List Datum: 7 april 2024 at 22:45:26 Till: Maven

Will this potentially break in future releases ?

2024-04-07 Thread Tommy Svensson
te-code level in version I can produce multiple artifacts for different byte-code levels, in a relatively easy way. But if using variables in tag goes away then it becomes much more difficult. That it works now I see as a very nice and flexible feature. BR / Tommy ______ T

Re: Maven & Github codespaces

2024-04-01 Thread Tommy Svensson
have been submitted to maven-central, and have now been removed. So I'm looking for some other solution to re-use pom segments, in a future compatible way. /Tommy ______ Tommy Svensson to...@natusoft.se Från: Tamás Cservenák Svara: Maven Users List Datum: 1 april 2024 at 13:

Re: Maven & Github codespaces

2024-04-01 Thread Tommy Svensson
My brain screwed upp here! I incorrectly took this to be a maven issue! I have just figured out that Maven has nothing to do with this problem! Sorry!  When I came to that conclusion things made much more sense :-). __ Tommy Svensson to...@natusoft.se Från: Bernd Eckenfels

Re: Maven & Github codespaces

2024-03-31 Thread Tommy Svensson
__ Tommy Svensson to...@natusoft.se Från: Tamás Cservenák Svara: Maven Users List Datum: 28 mars 2024 at 13:15:24 Till: Maven Users List Ämne:  Re: Maven & Github codespaces Yes, it works! I just said a few emails ago that I am using Maven 3.9.6 on Java 21 since that

Re: Maven & Github codespaces

2024-03-28 Thread Tommy Svensson
t codespaces comes with 11 by default. Whats > your output of java -version? > > Regardless, you can download your needed jdk from adoptium, and setup both > $PATH and $JAVA_HOME to point to the downloaded jdk just as you would on > normal machine. > > > On Wed, Mar 27, 2024, 19

Re: Maven & Github codespaces

2024-03-27 Thread Tommy Svensson
Yes, Im sure. I have deleted and recreated and still get JDK 21, with an optional JDK 17 being avilable, but the "java" command is a link to 21. BR / Tommy ______ Tommy Svensson to...@natusoft.se (mailto:to...@natusoft.se) På 27 mars 2024 till 18:05:18, Mantas Gridin

Maven & Github codespaces

2024-03-27 Thread Tommy Svensson
(bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Is there any known solution for this combination / situation or is it just "forgett maven on GitHub codespaces" ? Best Regards, Tommy Svensson ______ Tommy Svensson to...@natusoft.se (mailto:to...@natusoft.se)

Re: what javac is actually used?

2023-12-05 Thread Tommy Svensson
Hello Dave, Maven will not recompile java classes if it already finds classes under target that are newer than the source file. And if Eclipse have already compiled classes into the target folder then maven will not recompile these.   In most  places release binaries are build separately using

Re: Maven slow

2023-04-10 Thread Tommy Svensson
ad... > > > Kind regards > Karl Heinz Marbaise > On 10.04.23 10:50, Tommy Svensson wrote: > > Hello maven users, > > > > I provided an update on this yesterday, but I'm not sure it was sent. My > > Mac was in a really bad state. > > > > The

Re: Maven slow

2023-04-10 Thread Tommy Svensson
. The real culprit here is IntelliJ IDEA! It still takes 43 seconds to build within IDEA. Doing a "mvn clean install" in a terminal takes 7 seconds! A rather extreme diff! This is a multimodule project of about 5 modules. BR, Tommy På 9 april 2023 till 17:00:51, Tomm

Re: Maven slow

2023-04-09 Thread Tommy Svensson
Tommy Svensson to...@natusoft.se wrote: I'm running Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) That is what the latest version of IDEA gives me. If you add Maven Wrapper [0] to your project, you can use any version of Maven you like, including the latest 3.9.1 release

Maven slow

2023-04-06 Thread Tommy Svensson
ild speed before.  I'm running Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0) That is what the latest version of IDEA gives me.  BR, Tommy Svensson

Re: How to retrieve target folder / jar paths from multi-module Maven project

2022-06-10 Thread Tommy Svensson
!, there might be a plugin available for executing external commands where the above find can be done. . Regards, Tommy Svensson > 9 juni 2022 kl. 22:51 skrev Karl Heinz Marbaise : > > Hi, > > On 07.06.22 05:22, Laurian Angelescu wrote: >> Is it possible to invoke *mvn* on the c

Re: OSS Nexus vs GitHub Packages

2021-07-27 Thread Tommy Svensson
I played with GitHub packages thinking I could use it as a general binary repo, but NO! It turned out that what is published on GitHub packages are only available from within GitHub! Anything built with GitHub CI can use GitHub packages. If you want to build locally you cannot access Github

Re: Scratching my head over repositories ...

2021-04-25 Thread Tommy Svensson
Central (or let's say 1/3 of it). > > Moreover, bringing your own repo with overlapping GAVs to Central is a > big > > mistake, you are booby-trapping your users: they will always struggle > just > > like you now, and it just complicate their bootstrap and deve

Re: Scratching my head over repositories ...

2021-04-24 Thread Tommy Svensson
too. /Tommy Från: Tommy Svensson Svara: Maven Users List Datum: 24 april 2021 at 15:21:03 Till: Maven Users List Ämne:  Re: Scratching my head over repositories ... I am using latest IDEA which supplies maven 3.6.3. No version ranges. My interpretation of  https://maven.apache.org/gui

Re: Scratching my head over repositories ...

2021-04-24 Thread Tommy Svensson
ur users. > > HTH, > T > > On Thu, Apr 22, 2021 at 6:24 PM Tommy Svensson wrote: > > > Hello fellow maven fans, > > > > A very long time ago I released a package to maven central. That was such > > a pain that when Bintray came I s

Scratching my head over repositories ...

2021-04-22 Thread Tommy Svensson
central, it is not looking at other repos for this version.  So now my question is: Is there a way to force maven  to look in all repos when version is not available but artifact is ? Or is the only way out of this to change the name or group of the artifact ?  Best Regards, Tommy Svensson

Re: exclusive execution scheduling

2021-02-05 Thread Tommy Svensson
I would say this is a windows problem rather than a maven problem. I have had  similar problems trying to build simpler things where only solution is to reboot windows to unlock NTFS (NoT a File System).  I'm very seriously considering getting VMWare and installing a Linux Mint 20 and  work in

Re: versioning by hashes to speedup multi-module build (a'la nix package manager)

2020-02-02 Thread Tommy Svensson
Hello Anton, If I understand you correctly, you do not want to build all modules of the maven build, only those that has changed.  As long as you are building in development shell or IDE the result of last build is still there and maven will only recompile sources that are newer than their

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Tommy Svensson
Can't you use a profile for the test case, where you redefine the maven-compiler-plugin settings to what you need for test ?  I thinks settings in profiles overrides previously seen definitions, but I'm not 100% sure of that. In worst case you might need 2 different profiles. Cheers, Tommy

Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found

2018-08-10 Thread Tommy Svensson
Gary Mills Kind Regards, Cell 630-607-9639 Work 920-390-4806 -Original Message- From: Tommy Svensson Sent: Friday, August 10, 2018 2:14 AM To: Maven Users List Subject: EXT: Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found Hello Gary, I have see

Re: Cannot Deploy From Jenkins to Nexus maven-deploy-plugin:2.7 not found

2018-08-10 Thread Tommy Svensson
Hello Gary, I have seen the word LATEST in capitals used as version number, but never tried it myself. It is in general a good idea to know exactly what version you are using, and do controlled upgrades to newer versions. Surprises are seldom good IMHO. Regards, Tommy På 9 augusti 2018

Re: Incorrect documentation examples for test exclusions

2018-08-03 Thread Tommy Svensson
> Consider filing an issue with MNGSITE.  I agree with you. That would have been the smarter thing to do to begin with.  /Tommy  Från: Michael Osipov Svara: Michael Osipov Datum: 2 augusti 2018 at 20:51:33 Till: Tommy Svensson Ämne:  Re: Incorrect documentation examples for test exclusi

Incorrect documentation examples for test exclusions

2018-08-01 Thread Tommy Svensson
Regards, Tommy Svensson signature.asc Description: Message signed with OpenPGP using AMPGpg

Re: Could not run main class in src/test/java due to ClassNotFoundException

2018-07-12 Thread Tommy Svensson
Hello Baha, You need a dependency to a jar containing the `np.com.bahadur.ExecTest` class. According to: https://www.mojohaus.org/exec-maven-plugin/java-mojo.html the dependency should have scope ’runtime’ unless you set the ’classpathScope’ parameter to something else.  Your pom has no

Re: Maven plugin naming best practices

2018-07-07 Thread Tommy Svensson
Hello Christian, I’m just a maven user like yourself. I think you should stick with your company name, i.e com.atilika. The ’org.apache.maven.plugins’ are reserved for plugins comming from the apache-maven project itself. So if you put your code on github and submit binaries to maven central

Re: Building maven plugin: Caused by: java.lang.ArrayIndexOutOfBoundsException: 3411 …

2018-06-20 Thread Tommy Svensson
latest version should fix your > issue. > > [1] https://issues.apache.org/jira/browse/MPLUGIN-328 > > On Wed, 20 Jun 2018 20:25:43 +0200, Tommy Svensson > wrote: > > > Hello, > > > > I keep getting this exception from maven w

Re: Is it possible to search maven site?

2017-07-13 Thread Tommy Svensson
I know of nothing that does both, but if you want to find something locally and are on: Mac:      You’d think that spotlight would be able to help here but NO! Any unix (including Mac), in a shell:     find ~/.m2/repository -name *-*.jar -print     This should give you a pretty clear result.

Re: What is the use of the maven-compiler-plugin ?

2015-08-24 Thread Tommy Svensson
finished some code that is compilable Eclipse will compile it without you having to do anything. This collides with ”traditional” build tools like maven. Tommy Svensson 23 aug 2015 kl. 15:59 skrev Sreyan Chakravarty sreyan.mail...@gmail.com: OK I am new to Maven and I am using it within

Re: What is the use of the maven-compiler-plugin ?

2015-08-23 Thread Tommy Svensson
will compile it without you having to do anything. This collides with ”traditional” build tools like maven. Tommy Svensson 23 aug 2015 kl. 15:59 skrev Sreyan Chakravarty sreyan.mail...@gmail.com: OK I am new to Maven and I am using it within Eclipse for a simple Hibernate project. What I want

How do you report a maven bug ?

2014-07-10 Thread Tommy Svensson
Hello, I wonder how you report a bug in maven ? I found the following: http://jira.codehaus.org/browse/MNG But that requires a login and there is no ”sing up”. I get the following when trying to build a maven plugin with version 3.2.2: [ERROR] Failed to execute goal

Re: Maven Central Opinion

2014-01-09 Thread Tommy Svensson
reacted to the advice in a positive way that encouraged a factual discussion rather than a personal attack. Ron On 06/01/2014 7:49 AM, Tommy Svensson wrote: Hello again, OK, I suspected that I get a lot of replies on this :-). From experience in other forums I also expected to have

Re: Maven Central Opinion

2014-01-06 Thread Tommy Svensson
Hello again, OK, I suspected that I get a lot of replies on this :-). From experience in other forums I also expected to have people tell me to go screw myself, but that has not happened. There are apparently only professionals here! That said, there some very good replies and explanations

Re: Maven Central Opinion

2014-01-06 Thread Tommy Svensson
6 jan 2014 kl. 14:10 skrev Tamás Cservenák ta...@cservenak.net: The arguments about quality I just don't buy. We are only talking poms here. Whatever is in the poms says nothing about the quality of the software itself. Quality of metadata. POM serve as metadata in this case, so, I'd

Maven Central Opinion

2014-01-05 Thread Tommy Svensson
providing ease of release, where it is trivial for anyone to share their binaries for easy access by others. I’m wondering if I’m alone in this view or if there are others who agree with me ? Tommy Svensson - To unsubscribe, e-mail

Re: Maven Central Opinion

2014-01-05 Thread Tommy Svensson
help, feel free to contact me at mar...@headcrashing.eu, I can guide you. -Original Message- From: Tommy Svensson [mailto:to...@natusoft.se] Sent: Sonntag, 5. Januar 2014 14:15 To: Maven Users List Subject: Maven Central Opinion I was asked to submit one of my opensource tools

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-29 Thread Tommy Svensson
what you are trying to say with it. (Trigger for suspicion is people referring to an install pom... esp when they put install in quotes) I'm failing here too. /Tommy On 28 November 2013 17:04, Tommy Svensson to...@natusoft.se wrote: I did remove my local repository files

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-29 Thread Tommy Svensson
skrev Tommy Svensson to...@natusoft.se: Actually, if maven is failing to see the project being built (itself) it would explain both that it tries to download its own pom and that the first module child fails to see the parent. But what would make it fail to se itself ? It is a valid pom

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-29 Thread Tommy Svensson
refered to xxx-share:2.0.26-SNAPSHOT. So it was not trying to download itself. It was trying to download an older version of itself. This should of course been the first thing to check for, and the obvious answer to the problem! Damn it! /Tommy 29 nov 2013 kl. 09:32 skrev Tommy Svensson

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-29 Thread Tommy Svensson
for installing these 3rd party jars and for some reason they almost always refer to it as their install pom and then they have problems with the build failing to download artifacts... so you can see why I might make my assumption ;-) On 29 November 2013 08:04, Tommy Svensson

Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Tommy Svensson
out of ideas myself. Best Regards, Tommy Svensson - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Tommy Svensson
28 nov 2013 kl. 16:05 skrev Jörg Schaible joerg.schai...@scalaris.com: Hi Tommy, Tommy Svensson wrote: My team colleague gets the following error: _ mvn clean or mvn help:effective-pom gives the following error: [INFO] Scanning

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Tommy Svensson
/ and rebuild. I guess without setting the relativePath you will see the same error as your colleague. The relative path is .. and should thus be correct. But cleaning my ~/.m2/repository/... artifacts is probably a good test to do anyhow. Thanks, Tommy Svensson Hth, Nick Stolwijk On Thu

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Tommy Svensson
. It has no knowledge of its children. Regards, Tommy Svensson 28 nov 2013 kl. 17:33 skrev Tommy Svensson to...@natusoft.se: 28 nov 2013 kl. 15:39 skrev Nick Stolwijk nick.stolw...@gmail.com: Probably you have the xxx-shared artifact already in your local repository from an earlier

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Tommy Svensson
Svensson 28 nov 2013 kl. 18:04 skrev Tommy Svensson to...@natusoft.se: I did remove my local repository files (~/.m2/repository/...) and did an mvn install and got this exact problem myself! I'm however completely failing to understand why. I tried to add relativePath../relativePath

Re: Maven trying to download pom being built and then fails with what seems to be an imaginary error

2013-11-28 Thread Tommy Svensson
with it. (Trigger for suspicion is people referring to an install pom... esp when they put install in quotes) I'm failing here too. /Tommy On 28 November 2013 17:04, Tommy Svensson to...@natusoft.se wrote: I did remove my local repository files (~/.m2/repository/...) and did an mvn install

Re: No class files!!

2013-07-29 Thread Tommy Svensson
, is there any file/directory permissions that might be causing issues? Not much help, sorry. On Mon, Jul 22, 2013 at 5:12 AM, Tommy Svensson to...@natusoft.se wrote: I just upgraded from _21 to _25, but no difference! That javac will not produce class files either. It does everything

No class files!!

2013-07-21 Thread Tommy Svensson
, I still keep saying to myself, this is not possible! Regards, Tommy Svensson - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: No class files!!

2013-07-21 Thread Tommy Svensson
Damn you Oracle! /Tommy 21 jul 2013 kl. 19:06 skrev Tommy Svensson to...@natusoft.se: Hello, Can someone please inform me why maven-compiler-plugin is clearly saying that it is compiling 12 classes into my target/classes directory but after build there are only resources

Re: No class files!!

2013-07-21 Thread Tommy Svensson
, but it produces no class files. Have anyone else experienced this problem with JDK 1.7 on a Mac ? If so, what did you do about it ? That is if there is a solution that does not involve reinstalling the whole machine! Regards, Tommy Svensson 21 jul 2013 kl. 20:10 skrev Tommy Svensson

Re: Maven bug in conjunction with annotation processing ?

2013-07-20 Thread Tommy Svensson
copies of the generated source in your target directory? Multiple copies of the same class files? AFAIK that is the only way you should ever see a duplicate class exception - Regards, Russ On Jul 19, 2013, at 11:40 AM, Tommy Svensson to...@natusoft.se wrote: Hello Russ

Re: Maven bug in conjunction with annotation processing ?

2013-07-20 Thread Tommy Svensson
this ? My previous question of what triggers an annotation processor was stupid :-) An annotation processor is of course always triggered when a source having its annotation is compiled. Regards, Tommy 20 jul 2013 kl. 12:31 skrev Tommy Svensson to...@natusoft.se: Hello Russ, No, the sources

Re: Maven bug in conjunction with annotation processing ?

2013-07-20 Thread Tommy Svensson
downgraded to version 2.3.2, and now everything works perfectly! I'd say that there is a bug in version 3.1. And now again I'm asking myself Why wasn't that the first thing I tested ? :-) /Tommy 20 jul 2013 kl. 15:19 skrev Tommy Svensson to...@natusoft.se: I have found something interesting, and I

Maven bug in conjunction with annotation processing ?

2013-07-19 Thread Tommy Svensson
. Best Regards, Tommy Svensson - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Maven bug in conjunction with annotation processing ?

2013-07-19 Thread Tommy Svensson
work. Is that your problem? Or are you only seeing this by only doing repeated Maven builds? I don't have that problem. - Russ On Jul 19, 2013, at 11:22 AM, Tommy Svensson to...@natusoft.se wrote: Hello, I have found a problem when using auto triggered annotation processors (META

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-12 Thread Tommy Svensson
I pulled those parts out and replaced them with ... to make the example smaller. I didn't think those parts relevant, but apparently they are since the following suggested by Stuart McCulloch does work: Include-Resource{maven-resources},

Re: maven-jar-plugin refuses to include META-INF/persistence.xml ! - Problem solved

2012-08-11 Thread Tommy Svensson
I finally found the source of this problem! Or close to it at least. I have managed to get my META-INF/persistence.xml included in the jar, but I'm unsure what is to blame :-). I'm also using the Apache Felix bundle-plugin which allows for: packagingbundle/packaging This due to the

Re: maven-jar-plugin refuses to include META-INF/persistence.xml !

2012-07-22 Thread Tommy Svensson
I was hoping for a Well, thats easy, just do ... :-). But you are of course right Wayne, I need to isolate what is causing this. Thanks. /Tommy 22 jul 2012 kl. 05:30 skrev Wayne Fay: Maven just refuses to include META-INF/persistence.xml in the jar no matter what I do! It resides in

maven-jar-plugin refuses to include META-INF/persistence.xml !

2012-07-21 Thread Tommy Svensson
don't know if it can affect this behavior. Anyhow, any suggestions are appreciated. Currently I have to manually jar my project. Regards, Tommy Svensson

[ANN] odt2apt maven plugin

2010-02-07 Thread Tommy Svensson
find it hard to find and know about all free software out there, and I believe that I'm not alone in disliking working directly with APT. I though that there might be others out there that might be interested in this plugin, and this is the right place to inform about it. Best Regards, Tommy

Re: [ANN] odt2apt maven plugin

2010-02-07 Thread Tommy Svensson
Tommy Svensson wrote: Hello, I recently used the maven site plugin for the first time, and really liked it. I however came to dislike the APT format rather quickly. I spent far too much time manually reformatting my paragraphs to make the source readable. I felt that it would be very nice

Re: [ANN] odt2apt maven plugin

2010-02-07 Thread Tommy Svensson
Tommy Svensson wrote: I have no knowledge of maven internals. I did go to maven.apache.org/doxia, but cannot find any documentation on this internal doxia format or how to plugin to doxia in general. Where can I find information how this sink works, what I need to do to do what you

Maven beginner: A few problems

2006-04-22 Thread Tommy Svensson
required to support compile dependencies. I get the impression that Ant is still needed to manage the project as a whole. I've read what documentation I can find on the Maven home page, but it is unfortunately not very helpful. Any suggestions are appreciated. Best Regards, Tommy Svensson