New Profile Activation Type Request - Maven Version

2011-02-09 Thread John Patrick
Hi, I believe this is the right mailing list, but please send me else where if not. I would like to request that a new profile activation type be added, which is based upon the maven version that is executing. What are people version upon this change? Base Ground I've just done an upgrade

Re: New Profile Activation Type Request - Maven Version

2011-02-11 Thread John Patrick
9, 2011 at 9:12 AM, John Patrick nhoj.patr...@gmail.com wrote: Hi, I believe this is the right mailing list, but please send me else where if not. I would like to request that a new profile activation type be added, which is based upon the maven version that is executing. What are people

Repository Roadmap

2011-02-17 Thread John Patrick
Evening, Morning, Hello, I'm wondering if their is a roadmap for repository design/functionality. I'm thinking something along the lines of Debian's repository structure and standards. I've been working with Maven since 2005 usually in Off-Line environments, where Companies question using it

Re: Repository Roadmap

2011-02-17 Thread John Patrick
not connect to any public repos? Then you can manually deploy any artifacts you wish to this repository, while ensuring they meet whatever stringent requirements you wish. ~Daniel -Original Message- From: John Patrick [mailto:nhoj.patr...@gmail.com] Sent: Thursday, February 17, 2011 10:56

Maven SCM Git Perforce

2012-04-04 Thread John Patrick
Want to help specifically with Git and Perforce as I'm using them both daily with Maven projects. Looking at the Overview of SCM's page against the Maven SCM Providers Matrix page, it seams to have mixed messages and feels out of date. Perforce is listed under Fully implemented SCM's. But

Re: Maven SCM Git Perforce

2012-04-04 Thread John Patrick
with. For example: ssh://git...@gitrepo.acme.local/gitall/reponame Sent from my iPad On 4 באפר 2012, at 17:16, Olivier Lamy ol...@apache.org wrote: Hello, 2012/4/4 John Patrick nhoj.patr...@gmail.com: Want to help specifically with Git and Perforce as I'm using them both daily with Maven projects

Re: Maven SCM Git Perforce

2012-04-07 Thread John Patrick
so if you want a little bit of help with this let me know. Sent from my iPhone On 4 באפר 2012, at 19:30, John Patrick nhoj.patr...@gmail.com wrote: On 4 April 2012 17:18, Asaf Mesika asaf.mes...@gmail.com wrote: Why do you need a specific login for git? In our company each developer

Re: Remote Repository access

2012-04-12 Thread John Patrick
If on unix/linux has you tried the same url with curl or wget. What does a brower day if you point it to that url? Not sure about borland starteam but does it have access logs and if so does see your connections coming in. Have you tried wireshark to see what ethernet traffic is generated? On

Re: Help to add Oracle JDBC driver

2012-04-23 Thread John Patrick
I think it might be as simple as add -DgeneratePom=true. I would suggest not doing it my hand on the command line but create a separate pom, maybe a module for your project or maybe for your company where command 3rd party jars can be installed. i.e. [...] build plugins plugin

Re: Help to add Oracle JDBC driver

2012-04-23 Thread John Patrick
Try going into the directory which contains the jar, so it's just ... -Dfile=ojdbc6-11.1.0.7.0.jar ... On 23 April 2012 16:55, copyto27 cop...@gmail.com wrote: Hi John I tried too with -DgeneratePom=true but i have the same problem :( -- View this message in context:

Re: Help to add Oracle JDBC driver

2012-04-23 Thread John Patrick
the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Which is the correct error when I miss all the require options for install:install-file. John On 23 April 2012 17:00, John Patrick

Re: Help to add Oracle JDBC driver

2012-04-25 Thread John Patrick
I created a new directory Copied the oracle jar into that new directory Renamed the oracle jar to match your filename Copied and pasted your command line, as a single line I get the following below... The only thing I notice which is different is, that I get: [INFO] ---

Re: Dynamically generating artefact contents

2012-06-13 Thread John Patrick
Additionally how would you be using these generated attributes? In plugins? Filtering files? Other? On 13 June 2012 09:46, Belhadj abdessalem belhadj.abdessa...@gmail.com wrote: what would you mean  *shortName would be an attribute that's derived from the artifact-ID   ?* 2012/6/13 Jochen

Re: Do releases _really_ need to be built with Java 1.5?

2013-11-11 Thread John Patrick
i guess it's the only way to definitely ensure backwards compatibility open potential solution would be to use vagrant, I use it to ensure developers as using the same base build setup and the files can be source controlled On 11 November 2013 22:39, Benson Margulies bimargul...@gmail.com

Re: Running a plugin integration test from an IDE?

2017-02-16 Thread John Patrick
this might work and is what I get into the company/project root pom so all developers can use the approach. create a debug profile and get the tests to use is so you can debug in your preferred IDE. it doesn't give you the nice red/green process bars and fancy output but it might help you debug

Taking Security Seriously

2016-12-04 Thread John Patrick
Hiya, So currently checksum's are not generated by default... I've submitted a ticket which switched the install plugin to generate them by default. Next step stop using md5 which most have considered dead for several years, and checking apache (https://www.apache.org/dev/release-signing.html)

Re: Maven 4.0.0

2017-11-04 Thread John Patrick
I've got a few updates I feel would be useful for the next major version; 1) Packaging type generic 'archive', or specific zip or tar.gz - maybe a user property to enable zip and/or tar.gz 2) Packaging type generic 'application', or specific rpm or deb - in future could be extended for windows

Re: Speeding up Maven

2018-04-14 Thread John Patrick
Mark, Your project on mine machine takes on average 2.5 second and that is also doing a clean package each time, not just package. Spec: MacBook Pro (Retina, 13-inch, Late 2013) Processor 2.8 GHz Intel Core i7 Memory 16 GB 1600 MHz DDR3 Disk 512GB SSD $ java -version java version "9.0.4"

Re: I am wandering how you do guys debug maven?

2018-10-12 Thread John Patrick
ven source code, only classworld pom file has debug > profile. > > I am looking into the wrapper you mentioned. > > Thank you! > > Simon(ChengHong) Sheng > > > On Tue, Oct 9, 2018 at 5:24 AM John Patrick wrote: > > > others have talked about mvnDebug, i prefe

Re: I am wandering how you do guys debug maven?

2018-10-13 Thread John Patrick
but if you configure surefire or failsafe, of any other plugin that supports fork to fork, it will be a new jvm, so it can get confusing to debug maven when it's running like that. On Sat, 13 Oct 2018 at 12:41, Karl Heinz Marbaise wrote: > > Hi, > > On 08/10/18 23:08, Simon Sheng wrote: > > Hi, >

Re: I am wandering how you do guys debug maven?

2018-10-09 Thread John Patrick
others have talked about mvnDebug, i prefer using a profile e.g. debug, then all the surefire and failsafe and exec-maven-plugin, plus other plugins are all configured to use ${DEBUG_ARGS}, then; $ mvn -Pdebug test $ mvn -Pdebug exec:java Then in intellij/eclipse/netbeans I can just connect a

Re: [DISCUSS] Maven 3.7.0

2019-09-30 Thread John Patrick
Been using Maven since spring 2005, so really happy with Maven... I work on legacy applications so I still build on Java 6 & 7 weekly/monthly, but mainly on Java 8 with so experimenting with Java 11. My feedback and input would be; 1) Drop Pre Java 8 support It would hurt my as I use it for

Re: Clarify why surefire filters tests (*Test/Test*)

2019-10-28 Thread John Patrick
I would argue the opposite, maven/surefire gives you configuration and control over what to files to look at for tests, and potentially what files to ignore/exclude. IntelliJ is just a blunder bust for searching '*', but yes might be seamed as more user friendly. For some projects I've both

Re: Prefer Mockito?

2020-04-27 Thread John Patrick
Just did comment regarding typo. I also advocate Mockito, so also would be recommending that. It appeared Mockito supported junit v5 earlier than others and compared to previous versions remove boiler plate setup. Or I missed those other frameworks supporting junit v5. PowerMock might be agued

Re: source directory layout for multirelease jars

2020-04-24 Thread John Patrick
The structure which I want is; src/main/java src/main/java11 src/main/java14 src/test/java src/test/java11 src/test/java14 I'm wanting to create a java 1.8 jar, with java 11 LTS support and the latest release java version supported. So newer projects can use modules and older projects still have

Re: Speed of Maven build

2020-08-25 Thread John Patrick
Are you planning to create a baseline project or selecting a range of projects to be used as a baseline, so that perceived improvements can be monitored? So that anyone wanting to help out or give feedback can submit their own build performance. i.e. 1. Equipment OS, Ram, CPU, physical, virtual,

Re: Moving hashes (checksums) forward

2020-05-31 Thread John Patrick
I also think a phase parallel rollout would be more useful, also consider lots of projects still won't upgrade to java 8 because they want to maintain backwards compatibility. 1. maven 3.7.0 add support for list of hashes, valid list, warning list and banned list 2. maven 3.7.0 add sha-2 and

Re: Absolute location of settings files help

2020-07-29 Thread John Patrick
MavenSession mavenSession; > > and then: > > mavenSession.getRequest() -> getUserSettingsFile() or getGlobalSettingsFile() > > > Cheers, > > Falko > > Am 23.07.2020 um 13:42 schrieb John Patrick: > > From within a plugin, how can I obtain the global settings and user > > settings???

Re: [VOTE] Release Apache Maven Surefire Plugin version 3.0.0-M5

2020-06-14 Thread John Patrick
What is the best forum to discuss issues or configuration around compiler, surefire and jpms? Most of the issues I have, seam to be resolved with 3.0.0-M5, but; - already raising issue with IntelliJ now as they don't support 2 module-info.java files in the same project, one under src/main/java

Absolute location of settings files help

2020-07-23 Thread John Patrick
>From within a plugin, how can I obtain the global settings and user settings??? Not the effective settings object, the real location of the files being used, so what SettingsXmlConfigurationProcessor works out. I've worked out that either MavenExecutionRequest or SettingsBuildingRequest contain

Re: Assumption fail treated as unexcepted exception?!

2020-08-16 Thread John Patrick
If the code working out the assumption fails and causes a throwable, either Runtime or Checked, I would expect the test to fail. If you have a line something like below, and that causes a test error, then that feels wrong as it's a valid assumption. Assumptions.assumeFalse("ABC".equals("ABC"),

Re: Apache Maven Software

2020-11-26 Thread John Patrick
Hi Keith, If you look at the historic releases, once a minor version has been bumped there have been no more releases to the previous minor version for 3.x, see https://maven.apache.org/docs/history.html For major version releases, maven 1 and maven 2 did have an overlap where 1.1 got released

Re: [DISCUSS] Allow attributes shorthand in pom.xml

2020-12-12 Thread John Patrick
I'm with you on that, yes xml is considered old, and legacy, and verbose. But it's got a decent validation framework, people understand an xsd and so write a valid xml file based upon the xsd. With json i'm unaware of any standard validation framework and schema definition standard. On Sat, 12

Re: Build windows-jdk15

2020-12-30 Thread John Patrick
Better to know the issues and slowly fix them then get hit with a load of issues blocking users. Unlike the 1st 20 years of Java where deprecated didn't really mean anything at all... Since Java 9 the guidelines are 1 release with deprecation warning and then things can be

Re: [ANN] Apache Maven 3.8.1 Released

2021-04-05 Thread John Patrick
Does the Maven Wrapper need to be release/upgraded at the same time as core Maven? I was using takari maven wrapper, so did this to upgrade; $ ./mvnw -N io.takari:maven:0.7.7:wrapper -Dmaven=3.8.1 >From what I can tell everything still works with Takari v0.7.7 and Maven >v3.8.1. I then wanted

Re: Maven Dependency Plugin - Log4j vulnerabilities

2022-03-01 Thread John Patrick
You might need to raise a bug with your security scanner regarding false positives. So your dependency tree I only see log4j 2.17.1; i.e. Your Pom - org.springframework.boot:spring-boot-starter-web:2.6.4 -- org.springframework.boot:spring-boot-starter-web:2.6.4 ---

Re: Maven Dependency Plugin - Log4j vulnerabilities

2022-03-03 Thread John Patrick
Sorry I thought you where talking about log4j v2, not v1. I can see it downloads the metadata about the project but non or the jars; local-repo/log4j local-repo/log4j/log4j local-repo/log4j/log4j/1.2.12/log4j-1.2.12.pom local-repo/log4j/log4j/1.2.12/log4j-1.2.12.pom.sha1 local-repo/log4j

Trying Maven v4

2022-04-02 Thread John Patrick
Hi, If I want to start testing maven v4.x is it the master branch or the mvn4 branch I need to build? Or is there a guide I can look at with current/known issues or work arounds? I've a few issues/features I would like to raise and see if I can do patches for, mostly more profile options like

Re: --no-transfer-progress might be causing the some tests to fail

2022-01-19 Thread John Patrick
I would be asking what version of maven are you using? what java version? Could you try upgrading to the latest maven version. Could you try upgrading to the latest of all plugins being used. My standard maven options for cicd are "--batch-mode --no-transfer-progress --show-version -fae -U" and

Developing Maven within an IDE

2022-10-15 Thread John Patrick
Having trouble running Maven Core with in an IDE. I've tried all the pages under https://maven.apache.org/guides/development/guide-maven-development.html but nothing specific about running within an IDE. I'm trying to use IntelliJ and get the following output.