AW: AW: Creating JAR file in WAR module leads to error in EAR creation

2020-11-13 Thread Hohl, Gerrit
ber 2020 20:35 An: Maven Users List ; Hohl, Gerrit Betreff: Re: AW: Creating JAR file in WAR module leads to error in EAR creation Hi, On 12.11.20 14:13, Hohl, Gerrit wrote: > Hello everyone, > > > maybe some additional information will be helpful. > The project structure is

AW: Creating JAR file in WAR module leads to error in EAR creation

2020-11-12 Thread Hohl, Gerrit
also works. But it seems that the maven-install-plugin and / or maven-deploy-plugin overwrite the file-path of the WAR at runtime of the Maven build in memory. I don't know why and I also don't know how to prevent it. Best regards, Gerrit -Ursprüngliche Nachricht- Von: Ho

Creating JAR file in WAR module leads to error in EAR creation

2020-11-12 Thread Hohl, Gerrit
Hello everyone, I have a project consisting of several modules, one being a WAR module and one being an EAR module. The EAR module has a dependency on the WAR module. It turned out that I need the classes of that WAR module also as a JAR file for our UI project. So I added a install-file goal f

AW: Don't overwrite existing artifact - how?

2016-11-29 Thread Hohl, Gerrit
o set a different property or also prevent SNAPSHOT artifacts from being overwritten. If you have a similar need for install phase, you can create an issue or pull request at this project. chas > On Nov 28, 2016, at 12:11 AM, Hohl, Gerrit wrote: > > Hello everyone, :-) > > seems my

AW: Don't overwrite existing artifact - how?

2016-11-28 Thread Hohl, Gerrit
tion could look like? Means does someone know what the Maven classes for accessing the remote repository are? Regards, Gerrit -----Ursprüngliche Nachricht- Von: Hohl, Gerrit [mailto:g.h...@aurenz.de] Gesendet: Freitag, 18. November 2016 08:48 An: users@maven.apache.org Betreff: Don't overw

Don't overwrite existing artifact - how?

2016-11-17 Thread Hohl, Gerrit
Hello everyone, :-) is it somehow possible not to "install" an artifact which already exists in the local repository? What about artifacts in a remote repository? Is it possible to prevent deployment of such artifacts? I don't want to have our build server to accidentally install an artifa

AW: Maven-Site-Plugin: Generated content?

2016-11-07 Thread Hohl, Gerrit
et: Montag, 7. November 2016 14:35 An: users@maven.apache.org Betreff: Re: Maven-Site-Plugin: Generated content? Hi Gerrit, Hohl, Gerrit wrote: > Hello everyone, :-) > > > > I'm trying to create some content for the Maven site during the Maven > build process. >

maven-install-plugin: for goal install-file is ignored

2016-11-07 Thread Hohl, Gerrit
Hello everyone, :-) me again. A moment ago I came across the following behaviour of the maven-install-plugin (v2.5.2): If I define the following: default-install

AW: AW: Maven-Site-Plugin: Generated content?

2016-11-07 Thread Hohl, Gerrit
Hello Mark, yes, I guess there is no other way than using an own reporting plugin. Still I'm curious for what that option ${project.build.directory}/generated-site is - if it doesn't have any effect. Regards, Gerrit -Ursprüngliche Nachricht- Von: Mark Prins [mailto:mc.pr...@gm

AW: Maven-Site-Plugin: Generated content?

2016-11-04 Thread Hohl, Gerrit
m 04.11.16, 09:20 schrieb "Hohl, Gerrit" : Hello everyone, :-) I'm trying to create some content for the Maven site during the Maven build process. I recognized that the maven-site-plugin has a configuration property which allows d

Maven-Site-Plugin: Generated content?

2016-11-04 Thread Hohl, Gerrit
Hello everyone, :-) I'm trying to create some content for the Maven site during the Maven build process. I recognized that the maven-site-plugin has a configuration property which allows defining a directory which holds such generated content. Normally it's the target/generated-site folde

AW: Cobertura Maven Plugin works locally, but not in Jenkins

2016-07-13 Thread Hohl, Gerrit
it -Ursprüngliche Nachricht- Von: Olivier Lamy [mailto:ol...@apache.org] Gesendet: Mittwoch, 13. Juli 2016 01:53 An: Maven Users List Betreff: Re: Cobertura Maven Plugin works locally, but not in Jenkins Hi Do you have a sample project to reproduce the issue? On Wednesday, 13 July 2016, Hoh

Cobertura Maven Plugin works locally, but not in Jenkins

2016-07-12 Thread Hohl, Gerrit
Hello everyone, I faced an odd problem today: We have a Maven Build which also includes the creation of a documentation. One of the plugins creating the reports is the Cobertura Maven Plugin. If I execute it on my local machine it works perfectly. Also the project has no code at all (it's m

Create own Maven repository

2016-05-13 Thread Hohl, Gerrit
Hallo everyone, today it's about creating your own Maven repository as plain file structure on a webserver. My problem: I have a project and Sourceforge (Please no pro and con sf discussion :P ). I want to offer my library also via a Maven repository - snapshots as well as releases. So

AW: JUnit tests for Maven plugin and Java annotations

2016-05-03 Thread Hohl, Gerrit
ow if there is a more straight-forward method like this... Regards, Gerrit -Ursprüngliche Nachricht- Von: Hohl, Gerrit [mailto:g.h...@aurenz.de] Gesendet: Dienstag, 3. Mai 2016 11:48 An: users@maven.apache.org Betreff: JUnit tests for Maven plugin and Java annotations Hello everyone, I&

JUnit tests for Maven plugin and Java annotations

2016-05-03 Thread Hohl, Gerrit
Hello everyone, I'm currently writing a Maven plugin and I want to have some JUnit tests for it. The artifact maven-plugin-testing-harness offers an environment through its AbstractMojoTestCase class. After reading half of the Internet I also got it working. But now I'm stuck as it seems to

AW: Maven and Continous Integration / Continous Delivery

2016-04-20 Thread Hohl, Gerrit
eed to either > have Jenkins update their poms for them or will have to view updating > the pom as a task they need to run... > > For most cases you will have a multi-module app that is released from > a single reactor, so the process I outlined is not so complex > &g

AW: Maven and Continous Integration / Continous Delivery

2016-04-20 Thread Hohl, Gerrit
which you have checked-out in your IDE. Regards, Gerrit -Ursprüngliche Nachricht- Von: Hohl, Gerrit [mailto:g.h...@aurenz.de] Gesendet: Mittwoch, 20. April 2016 12:08 An: Maven Users List Betreff: AW: Maven and Continous Integration / Continous Delivery Hello Stephen, thank you very muc

AW: Maven and Continous Integration / Continous Delivery

2016-04-20 Thread Hohl, Gerrit
he tags always, but into a different git repo and then we can pull those tags over to the developer repo for promotion to deploy On 20 April 2016 at 10:07, Hohl, Gerrit wrote: > Hello everyone, :-) > > > > I'm currently sitting on the book "Continuous Delivery"

Maven and Continous Integration / Continous Delivery

2016-04-20 Thread Hohl, Gerrit
Hello everyone, :-) I'm currently sitting on the book "Continuous Delivery" written by Jez Humble and David Farley. They write that each build is a potential release candidate. And each build should be triggered by the check-in into the SCM. So far, so good. But how do I realize that in Maven

AW: Configuration of Java used for surefire plugin / JUnit tests

2015-10-27 Thread Hohl, Gerrit
nfigure it (at least in my case). Regards, Gerrit -Ursprüngliche Nachricht- Von: Hohl, Gerrit [mailto:g.h...@aurenz.de] Gesendet: Dienstag, 27. Oktober 2015 17:21 An: users@maven.apache.org Betreff: Configuration of Java used for surefire plugin / JUnit tests Hello everyone, :-)

Configuration of Java used for surefire plugin / JUnit tests

2015-10-27 Thread Hohl, Gerrit
Hello everyone, :-) I have a Jenkins based build server on which different version of Java are installed for different builds (for older versions of our software). I can control the Java version used by the compiler plugin as well as by javadoc plugin. But I haven't found a way to control the

AW: Simple code metrics using Maven

2015-06-18 Thread Hohl, Gerrit
liche Nachricht- Von: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] Gesendet: Donnerstag, 18. Juni 2015 15:21 An: Maven Users List Betreff: Re: Simple code metrics using Maven Hi Gerrit, what about: http://www.mojohaus.org/javancss-maven-plugin/ Kind regards Karl Heinz Marbaise On 6/18/1

Simple code metrics using Maven

2015-06-18 Thread Hohl, Gerrit
Hello everyone, is there a simple way to get the metrics of your code using Maven (means using a plugin). I mean something like a page in the Maven report containing the lines of codes, the number of classes and files. I don't want to have any JUnit test related information or any information

AW: AW: site-deploy using wagon-ssh: User input needed

2014-08-14 Thread Hohl, Gerrit
Hello Georgy, thanks for your reply. I didn't expect any response to my problem after such a long time. So I was really surprised about your message. :) I have to admit that the system on which I tried it is a 64 Bit. And I placed the file into the System32 folder you mentioned. I'm not sure if

AW: site-deploy using wagon-ssh: User input needed

2014-06-24 Thread Hohl, Gerrit
ning as On 24 June 2014 15:18, Hohl, Gerrit wrote: > Hello Curtis, > > thanks for your reply. > > The Jenkins configuration says that C:\.jenkins is the home directory. > So I created a ".ssh" folder there and places the know_hosts in it. > But it didn't work

AW: site-deploy using wagon-ssh: User input needed

2014-06-24 Thread Hohl, Gerrit
b.com/apache/maven-wagon/blob/41336732524e33fa3fdc99f07b6add013b23dfa7/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java#L89 [2] http://stackoverflow.com/q/12689139 On Tue, Jun 24, 2014 at 6:42 AM, Hohl, Gerrit wrote: > Hello everyone, &

AW: site-deploy using wagon-ssh: User input needed

2014-06-24 Thread Hohl, Gerrit
Hello everyone, I still having this problem. Does no one of you use that wagon-ssh? Don't you upload the Maven report on a web server? Or do you use simply other methods? If there is a better method I would be happy to know that. :) Regards, Gerrit -Ursprüngliche Nachricht- Von:

AW: serviced running maven running java based services

2014-06-16 Thread Hohl, Gerrit
Hello Jim, we are using the Tanuki Wrapper: http://wrapper.tanukisoftware.com/ But there are other options as well. E.g. simply adding the Java calls to service script itself (haven't test it myself): http://stackoverflow.com/questions/11203483/run-a-java-application-as-a-service-on-linux Here

AW: Complex Maven projects - Tutorials? Books?

2014-06-13 Thread Hohl, Gerrit
handy is when you split your build process over multiple jenkins jobs and you want to make sure that you use the same artifact throughout the process and this w/o blocking the whole "pipeline" for the whole duration of the process. HTH Pascal On 12/06/2014 10:46 AM, Hohl, Gerrit

Complex Maven projects - Tutorials? Books?

2014-06-12 Thread Hohl, Gerrit
Hello everyone, :) I have a question which is not about a specific problem with Maven, but more a general question. I hope it is okay to ask this question here. We use Maven and Jenkins for about 1.5 years now, I guess. Until now the Maven projects have been very simple and - let's say - v

site-deploy using wagon-ssh: User input needed

2014-06-12 Thread Hohl, Gerrit
Hello everyone, :) this is my first post in this mailing list, so I hope I doing everything right. I'm using Maven 3.0.4, having a Jenkins build server running on Windows and a Web Server running on Ubuntu 14.04 LTS. I decided to use SSH for deploying the site to the server. My local se

AW: site-deploy using wagon-ssh: User input needed

2014-06-12 Thread Hohl, Gerrit
Hello everyone, :) okay, I tried a different approach: Instead of that section in the settings.xml I copied my local know_hosts file from C:\Users\[MY_USER]\.ssh\known_hosts to the server: C:\Windows\system32\config\.ssh\known_hosts I read in the Internet that this folder is the

Complex Maven projects - Tutorials? Books?

2014-06-12 Thread Hohl, Gerrit
Hello everyone, :) I have a question which is not about a specific problem with Maven, but more a general question. I hope it is okay to ask this question here. We use Maven and Jenkins for about 1.5 years now, I guess. Until now the Maven projects have been very simple and - let's say - v

site-deploy using wagon-ssh: User input needed

2014-06-12 Thread Hohl, Gerrit
Hello everyone, :) this is my first post in this mailing list, so I hope I doing everything right. I'm using Maven 3.0.4, having a Jenkins build server running on Windows and a Web Server running on Ubuntu 14.04 LTS. I decided to use SSH for deploying the site to the server. My local se