- - SPAM - -AW: Alternate Maven dependency upgrade opportunities report

2018-07-27 Thread g.hohl
Hello Paul, Sounds like a CLI / text version of the Version plug-in's report pages: https://www.mojohaus.org/versions-maven-plugin/ Regards, Gerrit -Ursprüngliche Nachricht- Von: Paul Hammant [mailto:p...@hammant.org] Gesendet: Freitag, 27. Juli 2018 11:46 An: Maven Users List Betreff:

AW: AW: Maven plug-in development: Obtaining name of artifact

2018-06-08 Thread g.hohl
Hi Robert, Thank you for your reply. I need the name just for documentation purposes and not for any build related things, so it's no problem at all. Okay, I'll have a look at the ModelBuilder. That's add because I had a look at the Nexus and that artifact is not in one of the "hosted" reposit

AW: Maven plug-in development: Obtaining name of artifact

2018-06-08 Thread g.hohl
Hello Robert, sorry for being not very specific in my previous mail. I'm talking about the element in the POM. This is some kind of problem as I don't have the POM file of the artifact. I'm using a Nexus repository server. And the POM file downloaded to my local repository is not the original on

AW: Maven plug-in development: Obtaining name of artifact

2018-06-07 Thread g.hohl
In the meantime I had a look and found out that I can get the path for the local artifact: session.getRepositorySession().getLocalRepositoryManager().getPathForLocalArtifact(artifact); As for the Artifact I can use the DefaultArtifact. In that folder also the POM of the artifact should reside as i

Maven plug-in development: Obtaining name of artifact

2018-06-07 Thread g.hohl
Hello everyone, :-) I'm currently writing a Maven plug-in and I have the coordinates of artifacts (groupId, artifactId, version), but I need the names of the artifacts. Is there an easy way to get them (within my plug-in without relying on other plug-ins)? Regards, Gerrit

AW: Writing own plugin: The parameter annotation - does it work?

2018-04-17 Thread g.hohl
Hi Martin, thanks a lot. :) I'll have a look at it. Regards, Gerrit -Ursprüngliche Nachricht- Von: Martin Hoeller [mailto:mar...@xss.co.at] Gesendet: Dienstag, 17. April 2018 11:19 An: users@maven.apache.org Betreff: Re: Writing own plugin: The parameter annotation - does it work? H

AW: AW: Writing own plugin: The parameter annotation - does it work?

2018-04-17 Thread g.hohl
Hi Robert, thanks a lot for your mail. I create 2 issues about this. About that Maven Invoker Plugin: Are there any examples how to use that in a JUnit test? Regards, Gerrit -Ursprüngliche Nachricht- Von: Robert Scholte [mailto:rfscho...@apache.org] Gesendet: Montag, 16. April 2018 22:

AW: Writing own plugin: The parameter annotation - does it work?

2018-04-16 Thread g.hohl
Hi Mark, that sounds / looks promising. Thanks a lot. :) Unfortunately I don't have time at the moment to test it (next task is already waiting), but surely will as soon as I will work on the plug-in again. Regards Gerrit -Ursprüngliche Nachricht- Von: Mark Raynsford [mailto:org.apache

AW: Writing own plugin: The parameter annotation - does it work?

2018-04-16 Thread g.hohl
Hello everyone, after trying different approaches and seeing the efforts needed I give up on this. Especially as I realized that the maven-plugin-testing-harness latest version 3.3.0 was realized at 2014-12-17. I thought about opening an issue in the issue tracking system of the project, just t

AW: Writing own plugin: The parameter annotation - does it work?

2018-04-13 Thread g.hohl
Hello everyone, after some analyzing I realized that the MojoRule is trying to read the plug-in description. This file is created during the build process by the maven-plugin-plugin and is located: target\classes\META-INF\maven\plugin.xml If I only execute the test via JUnit in Eclipse that file

Writing own plugin: The parameter annotation - does it work?

2018-04-13 Thread g.hohl
Hello everyone, :-) I'm currently writing a Maven plug-in again. And I'm experiencing some add odd behavior. Maybe I should add first that I'm currently executing my Mojo using the MojoRule within a JUnit test. The parameters of my Mojo are annotated using the @Parameter annotation of Maven.

Maven performs tests a 2nd time and doesn't find classes

2018-03-27 Thread g.hohl
Hello everyone, another problem, but (hopefully) not connected to the other one I posted earlier today: When I execute a Maven build using the goals "clean install site" or "clean package site", I see that the maven-surefire-plugin is executed 2 times. The first time everything goes smooth

Warning when generating the dependencies report: Invalid byte tag in constant pool

2018-03-27 Thread g.hohl
ecommended. [INFO] Generating "CI Management" report--- maven-project-info-reports-plugin:2.9:cim [INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.9:dependencies [WARNING] Unable to process class module-info.class in JarAnaly

Exporting and importing Maven properties

2017-12-19 Thread g.hohl
Hello everyone, I currently have the issue that I need to write certain properties of a Maven build into a file and import them into another Maven build. In this special case it is the Jenkins build number as well as the version of the built artifact itself. The two Maven builds are separa

AW: Is it possible to search maven site?

2017-07-14 Thread g.hohl
Hello Guang, as far as I know you need a robot.txt only if you want to control the behavior of web search engines. Otherwise your website will be indexed just by the algorithm if the search engine. Another point is the tag and the information there. I know that there are some tags which help yo

AW: Is it possible to search maven site?

2017-07-13 Thread g.hohl
Hello Bruce, depends on what you mean. You can use the Google search: https://maven.apache.org/skins/maven-fluido-skin/#GoogleSearch Of course this only works if your Maven site is accessible from the Internet. So far I haven't seen any plugin or whatsoever which enables some kind of offline sea