Missing HttpWagon within AbstractMavenLifecycleParticipant.afterProjectsRead(MavenSession)

2021-10-16 Thread torsten . liermann
Hi, I am working on a maven extension and want to access metadata of artifacts. But in AbstractMavenLifecycleParticipant.afterProjectReads () no HttpWagon object can be reached via container.lookup (org.apache.maven.wagon.Wagon.class, "https"), exception NoSuchElementException is thrown. In oth

Maven extensions and shared code

2021-10-11 Thread torsten . liermann
Hi, Is there a possibility that several extensions share code without having to install it in the maven/lib directory? I want to use maven in Docker for a build and don't see the possibility of installing jars before the build starts. In my case a common code base is necessary because several

Looking for code examples for working with repository metadata

2021-07-18 Thread Torsten Liermann
Hi, can someone give me a tip where I can find code examples for dealing with repository metadata? The versions-maven-plugin uses massively deprecated code, projects like pom manipulation extension (Redhat) or this one here: https://github.com/andreasaronsson/nextversion-maven-plugin use their

Re: change the location of pom File within maven extension

2021-06-30 Thread Torsten Liermann
Right, Falk. But unfortunately I'm just creating the model (ModelProcessor). Therefore the attempt to set the correct POM file via model.setPomFile (), but unfortunately it does not work. There are certainly extension points that maven calls at a later point in time, but unfortunately I am not f

Re: change the location of pom File within maven extension

2021-06-28 Thread torsten . liermann
Thanks, Falko. In my question I mentioned the flatten plugin with snippets of code. Can I access MavenProject in a Maven Extension? The flatten plugin uses this Injection @Parameter (defaultValue = "$ {project}", readonly = true, required = true) MavenProject project; What would the equiva

Re: change the location of pom File within maven extension

2021-06-28 Thread Torsten Liermann
Thanks, Falko. In my question I mentioned the flatten plugin with snippets of code. Can I access MavenProject in a Maven Extension? The flatten plugin uses this Injection @Parameter (defaultValue = "$ {project}", readonly = true, required = true) MavenProject project; What would the equiva

change the location of pom File within maven extension

2021-06-28 Thread Torsten Liermann
Hi, My English is poor, but I hope for help in this place. I am trying to manipulate an org.apache.maven.model.Model via a maven extension and at the same time create a new POM file. But unfortunately the new location of the POM file does not apply. The plugins (e.g. maven-deploy-plugin) still

Re: Help again for working with release:plugin

2012-02-20 Thread Dipl.-Ing. Torsten Liermann
:22:13 +0100 Ansgar Konermann wrote: >Hi Torsten, > >Am 20.02.2012 22:02, schrieb Dipl.-Ing. Torsten Liermann: >> My parent pom is on the same level as the children poms > >If you mean "they're in the same directory": this is a configuration >error. Maven

Help again for working with release:plugin

2012-02-20 Thread Dipl.-Ing. Torsten Liermann
Hi, thanks for the last support! Now I need hints for my second problem: My parent pom is on the same level as the children poms. The commit and tag commands use as working directory the parent pom folder. How can I tell the scm provider, what the right working directory is? Thanks very much.

Re: Help! What I'm doing wrong with release:branch?

2012-02-19 Thread Dipl.-Ing. Torsten Liermann
>Only tags should have a fixed version > >Sent from my iPhone > >On 19 Feb 2012, at 00:29, "Dipl.-Ing. Torsten Liermann" >wrote: > >> Hi, (sorry, I can't speak english :( ) >> >> I would like to create a branch with a release version in all pom&

Help! What I'm doing wrong with release:branch?

2012-02-18 Thread Dipl.-Ing. Torsten Liermann
Hi, (sorry, I can't speak english :( ) I would like to create a branch with a release version in all pom's The Snapshot version of the trunk is 3.0.2-SNAPSHOT and the release version should be 3.0-b01. Calling maven with mvn org.apache.maven.plugins:maven-release-plugn:2.2.2:branch -DbranchN

Re: ? add dependencies to surefire plugin

2011-03-10 Thread Dipl.-Ing. Torsten Liermann
t;2012 NM Haarlem >T +31 23 547 6369 >F +31 23 547 6370 >I www.iprofs.nl > > > >On Thu, Mar 10, 2011 at 9:22 PM, Dipl.-Ing. Torsten Liermann > wrote: >> Thanks Nick. >> >> I need the artifact in the runtime classpath for the unit test. If I declare >>

Re: ? add dependencies to surefire plugin

2011-03-10 Thread Dipl.-Ing. Torsten Liermann
cy with scope test. > >Hth, > >Nick Stolwijk >~Senior Java Developer~ > >iPROFS >Wagenweg 208 >2012 NM Haarlem >T +31 23 547 6369 >F +31 23 547 6370 >I www.iprofs.nl > > > >On Thu, Mar 10,

? add dependencies to surefire plugin

2011-03-10 Thread Dipl.-Ing. Torsten Liermann
Hi, I would like to add some dependencies to the surefire plugin like: org.apache.maven.plugins maven-surefire-plugin true org.glassfish.appclient

Please help: xdoclet / ejbdoclet

2007-02-28 Thread Dipl.-Ing. Torsten Liermann
Hi, sorry, i can not speak english... I would like to have all interfaces and so on for a slsb. but nothing. I' using maven 2.0.4 and start maven with mvn generate-sources The output ist: [WARNING] While downloading servletapi:servletapi:2.3 This artifact has been relocated to javax.servlet

Please help: xdoclet / ejbdoclet

2007-02-28 Thread Dipl.-Ing. Torsten Liermann
Hi, sorry, i can not speak english... I would like to have all interfaces and so on for a slsb. but nothing. I' using maven 2.0.4 and start maven with mvn generate-sources The output ist: [WARNING] While downloading servletapi:servletapi:2.3 This artifact has been relocated to javax.servlet

? Must I install modules before compiling an other modules

2007-01-17 Thread Dipl.-Ing. Torsten Liermann
(Sorry, I can not speak english). My question: Must I install modules before compiling an other module with dependcies to modules? Or is there a way without installing modules and start compilation within modules directory? The compilation from the parent directory works fine... Thanks, Torsten

? maven-site-plugin. How build a site for a project with modules

2006-12-09 Thread Dipl.-Ing. Torsten Liermann
Hi, (Sorry, no english). I would like to know how can I build a full site or a complete site with *ALL* modules. To learn, I'm playing with the struts project. After mvn site -Pall I'm missing the pages for the modules. The links from the project top page to the modules index.html are dead. Th

Help: Eclipse 3.1 + mevenIDE + Maven 1.0.2 -> unnecessary builds

2006-02-20 Thread Dipl.-Ing. Torsten Liermann
Hello, after i build my project with maven, eclipse compile all my unchanged file s again after a save, but when i disabled the maven plugin mevenide it dosen't do this. What is wrong? Thanks for a help. Torsten Liermann ---