Re: Java11 and javadoc plugin

2020-10-30 Thread Thomas Scheffler
y sources. As said, please kindly create two issues for > this. > > Am Do., 29. Okt. 2020 um 08:10 Uhr schrieb Thomas Scheffler > : >> >> Hi Benjamin, >> >> you may have done something differently because „mvn test site“ does not >> work here. Could you reche

Re: Java11 and javadoc plugin

2020-10-29 Thread Thomas Scheffler
ate to ask! :) > > [1] > https://maven.apache.org/plugins/maven-javadoc-plugin/test-aggregate-no-fork-mojo.html > > Am Mi., 28. Okt. 2020 um 14:45 Uhr schrieb Thomas Scheffler > : >> >> Hi, >> >> thanks for looking into it. I updated the project a bit so

Re: Java11 and javadoc plugin

2020-10-28 Thread Thomas Scheffler
idea of what you > are trying to achieve. > > Best regards, > Ben > > [1] > https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html > [2] https://maven.apache.org/plugins/maven-javadoc-plugin/jar-mojo.html > > Am Mo., 26. Okt. 2020 um 12:49 Uhr s

Java11 and javadoc plugin

2020-10-26 Thread Thomas Scheffler
Hi, I have serious problems getting any maven-javadoc-plugin >= 3.1.0 to work with simply Java 11 test case: Neither will „mvn javadoc:javadoc“ nor „mvn javadoc:jar“ nor „mvn site“ work out-of-the-box. I have to add „compile“ in the middle to get the javadoc-plugin work but this will not fix t

Changes Plugin and JIRA release name

2015-05-20 Thread Thomas Scheffler
Hi, I switched from changes.xml to JIRA and noticed, that ${release.description} contains no value anymore. Shouldn't it contain the release name that I gave the release at JIRA? Can I automatically insert it into my custom release announcements again? regards, Thomas -

Re: Maven Plugin Refelction

2014-12-01 Thread Thomas Scheffler
he/maven/plugin/descriptor/PluginDescriptor.html#getVersion() Thanks Stephen, that was exactly what I was looking for! On 1 December 2014 at 07:35, Thomas Scheffler wrote: Hi there, I try to write a simple plugin. I want to have access to the version of this plugin. As maven already knows it, I won

Maven Plugin Refelction

2014-11-30 Thread Thomas Scheffler
Hi there, I try to write a simple plugin. I want to have access to the version of this plugin. As maven already knows it, I wondered, if I can get access to this version string somehow without hardcoding it in properties or java code. kind regards, Thomas --

Logging and Cargo plugin

2014-04-14 Thread Thomas Scheffler
Hi, I use the cargo-maven2-plugin to start and test my webapp with various servlet containers (jetty 9, tomcat 7 and tomcat 8). One thing that disturbs me is that every log line the is printed out by the servlet container gets a "[INFO] [talledLocalContainer] " prefix. Is there a way to avoid

CLI-SOLR-WebApp integration

2014-01-27 Thread Thomas Scheffler
Hi, I want to transform our custom build system to maven and currently I struggle hard. At the moment I have our command line artifact ready (pom-type) which uses appassembler to build shell and batch scripts and uses assembly plugin to produce zip and tar.gz artifacts. I am also ready with t

slow release:perform

2013-08-09 Thread Thomas Scheffler
Hi, we have a parent pom where all of our projects get it's settings from (plugin version etc.). In that parent pom there is a distributionManagement section with all the needed sections for deployment. Now the settings for "site" prove to be a big problem. Whenever a site is deployed a command i

[SOLVED] Re: property expansion in pom.xml of archetype

2013-02-17 Thread Thomas Scheffler
Am 13.02.2013 15:27, schrieb Thomas Scheffler: > Hi, > > I created my first archetype. In archetype-metadata.xml I specified > > > > > > When creating a project I want ${mylib.version} in the prototype pom.xml > to be expanded to the specified

property expansion in pom.xml of archetype

2013-02-13 Thread Thomas Scheffler
Hi, I created my first archetype. In archetype-metadata.xml I specified When creating a project I want ${mylib.version} in the prototype pom.xml to be expanded to the specified value: mycore org.mycore ${mylib.version} On the command line I see the correct value

Re: catch block like behavior

2012-08-23 Thread Thomas Scheffler
Am 23.08.2012 14:56, schrieb Pascal Rapicault: > Hi, > > I would like to know if there is a way to have a plugin be executed > right at the end of the build no matter what. The situation I have is > as follow. Early on in the build I rename a file from a.txt.off to > a.txt and at the end I rename

Re: Maven 3 deployment authentication

2012-08-23 Thread Thomas Scheffler
Am 23.08.2012 12:38, schrieb Nord, James: > Hi all, > > In Maven 3.0.4 and am seeing the following error when I try to release a > project. > > > [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ > rpm-maven-plugin --- > > Uploading: > http://myrepo/service/local/staging/d

Re: git scm and site:deploy

2012-08-23 Thread Thomas Scheffler
Am 23.08.2012 10:16, schrieb Stephen Connolly: > They could follow the maven conventions though rather than hack the effects > in the way they have. Yeah, to release versions you have to provide in your pom and these github plugins currently give a damn about it. That's why I originally posted t

Re: git scm and site:deploy

2012-08-22 Thread Thomas Scheffler
Am 22.08.2012 14:09, schrieb Stephen Connolly: > On 22 August 2012 13:03, Thomas Scheffler wrote: > >> Am 22.08.2012 12:48, schrieb Olivier Lamy: >>> Not very well supported currently natively by our own Apache maven stuff. >>> >>> But have a look here >&

Re: git scm and site:deploy

2012-08-22 Thread Thomas Scheffler
Am 22.08.2012 12:48, schrieb Olivier Lamy: > Not very well supported currently natively by our own Apache maven stuff. > > But have a look here http://khuxtable.github.com/wagon-gitsite/usage.html Thank you for giving me the link. Sadly currently I found no version of this plugin in any repositor

git scm and site:deploy

2012-08-22 Thread Thomas Scheffler
Hi, I have a project and I want to deploy the site to github. Luckily there is documentation about how to do this: http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html But neither with the config there not with newer version I achieve success: Transfer error: org.apache.maven.scm

Re: How to add "package" to site lifecycle

2012-08-19 Thread Thomas Scheffler
a zip file. I >> want that zip file to be included in the site. In my opinion the best >> way to enforce the presence of that zip file would be add the "package" >> lifecycle to the site lifecycle on phase "pre-site". How can I modify >> the default site life

How to add "package" to site lifecycle

2012-08-17 Thread Thomas Scheffler
Hi, I made a maven project where the assembly plugin creates a zip file. I want that zip file to be included in the site. In my opinion the best way to enforce the presence of that zip file would be add the "package" lifecycle to the site lifecycle on phase "pre-site". How can I modify the default

Re: custom unique version

2012-01-23 Thread Thomas Scheffler
Am 23.01.2012 09:34, schrieb Ansgar Konermann: Am 23.01.2012 08:36 schrieb "Thomas Scheffler" : Am 20.01.2012 16:27, schrieb Ron Wheeler: Of all of the developers that have built thousands of applications using Maven, you are the only one who wants to do this. Does that not rai

Re: custom unique version

2012-01-22 Thread Thomas Scheffler
"best practice" here... regards Thomas On 20/01/2012 10:14 AM, Stephen Connolly wrote: 2012/1/20 Thomas Scheffler: Am 20.01.2012 15:30, schrieb Stephen Connolly: 2012/1/20 Thomas Scheffler: Am 20.01.2012 12:40, schrieb Stephen Connolly: You can stuff what ever you want in tge ma

Re: custom unique version

2012-01-22 Thread Thomas Scheffler
e. This is clearly not it. Ron On 20/01/2012 10:14 AM, Stephen Connolly wrote: 2012/1/20 Thomas Scheffler : Am 20.01.2012 15:30, schrieb Stephen Connolly: 2012/1/20 Thomas Scheffler : Am 20.01.2012 12:40, schrieb Stephen Connolly: You can stuff what ever you want in tge manifest.

Re: custom unique version

2012-01-20 Thread Thomas Scheffler
Am 20.01.2012 15:30, schrieb Stephen Connolly: 2012/1/20 Thomas Scheffler: Am 20.01.2012 12:40, schrieb Stephen Connolly: You can stuff what ever you want in tge manifest. Google is your friend: maven jar plugin manifest customization Hi, yeah I know that. But how can I put the "u

Re: custom unique version

2012-01-20 Thread Thomas Scheffler
tion later. This should be done automatically. 1. Do some automatic test, if they succeed gather the unique version number. 2. At deploy time use the last successful timestamp. Maybe someone could help me with that... :-) regards Thomas -Stephen 2012/1/20 Thomas Scheffler : Hi, I want t

Re: custom unique version

2012-01-20 Thread Thomas Scheffler
deploying the application later. This should be done automatically. 1. Do some automatic test, if they succeed gather the unique version number. 2. At deploy time use the last successful timestamp. Maybe someone could help me with that... :-) regards Thomas -Stephen 2012/1/20 Thomas

custom unique version

2012-01-20 Thread Thomas Scheffler
Hi, I want to create a unique SNAPSHOT version that does not consist of timestamp and buildnumber but is created by a defined property. I read the docs and googled for a solution but found no way to alter the unique version string. How can this be achieved? regards Thomas

Re: Method calculateLink threw exception...

2012-01-18 Thread Thomas Scheffler
27; to every submenu item it works again. Mhh! regards, Thomas -- Thomas Scheffler Friedrich-Schiller-Universität Jena Thüringer Universitäts- und Landesbibliothek Bibliotheksplatz 2 07743 Jena Phone: ++49 3641 940027 FAX: ++49 3641 940022

Method calculateLink threw exception...

2012-01-18 Thread Thomas Scheffler
OR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException -- Thomas Scheffler Friedrich-Schiller-Universität Jena Thüringer Universitäts- und Landesbibliothek Bibliotheksplatz 2 07743 Jena Phone: ++49 3641 940027 FAX: ++49 3641 940022 ---

NPE with maven-site-plugin:3.0

2011-08-22 Thread Thomas Scheffler
Hi, after updating to version 3.0 of maven-site-plugin I get a NullPointerException that does not occur with 3.0-beta3. How can I figure out, what causes that? There is not clear error message so I guess it's a bug... Here is the last part of the log: [DEBUG] Multipage report: 0 subreports [

findbugs and javadoc trigger compile lifecycle

2010-09-28 Thread Thomas Scheffler
Hi, I use findbugs and javadoc as reporting plugins. Both trigger the compile lifecycle when running "mvn site". How do I disable this trigger or at least how to I have only ONE compile lifecycle as this is a real long running phase. Normally I run "mvn deploy" before "mvn site" so that all source

Re: Override 'provided' dependency in maven assembly?

2010-09-21 Thread Thomas Scheffler
Am 22.09.2010 05:03, schrieb Kai Hackemesser: > Hi there, > > we have the case that we have a managed dependency to jug:jug.jar :provided > in our managed dependency pom. Now one of our applications should include > that jar as it gets deployed to a place where jug is not provided. When we > set t

Re: maven-site-plugin and custom skin

2010-09-14 Thread Thomas Scheffler
e site.xml file are inherited in the same way as pom.xml files are. So if you want some parts of the site.xml file in all of your projects, you put that site.xml in the same place as your corporate pom.xml. On 2010-09-13 11:11, Thomas Scheffler wrote: Hi, I use the maven-site-plugin with a custom

maven-site-plugin and custom skin

2010-09-13 Thread Thomas Scheffler
Hi, I use the maven-site-plugin with a custom skin. I do not want to specify the version in maven project. There is no way to store the the version in a corporate pom.xml, as properties are not heritable. So I tent to use the "latest release" resolving mechanism of the site plugin. Unfortunat

Re: Different behavior of Maven 2 and 3 on Flat Projekt Layout

2010-04-27 Thread Thomas Scheffler
Am 27.04.2010 09:28, schrieb Robert Einsle: Hy List, lets assume i have 3 Projects: xx.yy.app.parent xx.yy.app.module1 xx.yy.app.module2 .parent is Parent of both modules Hi, even though maven 2 supports it - kind of, I really suggest to have any aggregation and parent definition in the pa

Re: multi modules, scm and release plugin

2010-04-19 Thread Thomas Scheffler
info in each project so that the project site will contain the correct information Than it should have worked for me, but it wasn't. Do you have a project like this? I mean with parent module != aggregator module? regards Thomas 2010/4/19 Thomas Scheffler Hi, after migrating our ol

multi modules, scm and release plugin

2010-04-19 Thread Thomas Scheffler
Hi, after migrating our old ant build system to maven our first non-SNAPSHOT release is planned. But I have difficulties to get it work with the release plugin. SVN layout is this: branches/ tags/ trunk/ |-- pom.xml |-- parent/ | `-- pom.xml |-- module1/ | `-- pom.xml |--

Re: Checkstyle and multi module

2010-03-10 Thread Thomas Scheffler
Am 26.02.2010 08:43, schrieb Thomas Scheffler: Am 25.02.2010 23:01, schrieb Dennis Lundberg: Which version of the Checkstyle Plugin are you using? First I tried it with version 2.5 and later with 2.4. I had no luck with that either so I didn't tried any older version. Thomas Hi, one

Re: Checkstyle and multi module

2010-02-25 Thread Thomas Scheffler
Am 25.02.2010 23:01, schrieb Dennis Lundberg: > Which version of the Checkstyle Plugin are you using? First I tried it with version 2.5 and later with 2.4. I had no luck with that either so I didn't tried any older version. Thomas > On 2010-02-25 12:05, Thomas Scheffler wrote: >

Checkstyle and multi module

2010-02-25 Thread Thomas Scheffler
Hi, I have a multi module project with this layout Base |-- pom.xml |-- build-tools | |-- src | | `-- main | | `-- resources | | `-- org | | `-- project | | `-- checkstyle.xml | `-- pom.xml |-- parent |-- module1 |-- module2 `-- modu

Maven Ant Plugin and dependency classpath

2009-08-06 Thread Thomas Scheffler
Hi, I am developing my first maven plugin with an ant build file. Currently - and the docs do not say a word here - I am lost in finding out how to access the dependency classpath from within maven. How do I submit this info via the *.mojos.xml? regards Thomas

Re: help with maven-dependency-plugin

2009-07-22 Thread Thomas Scheffler
Am Mittwoch 22 Juli 2009 09:13:49 schrieb Nicholas Tung: > 2009/7/21 Thomas Scheffler > > > Hi, > > > > I am using the maven-dependency-plugin to build a big jar file out of > > direct > > dependencies (code below). If that big jar file is a dependen

help with maven-dependency-plugin

2009-07-21 Thread Thomas Scheffler
Hi, I am using the maven-dependency-plugin to build a big jar file out of direct dependencies (code below). If that big jar file is a dependency of another project all direct dependencies are also copied over. I just want to copy the transitive dependencies of the big jar file. I tried to mark

Re: JAR inside JAR

2009-07-21 Thread Thomas Scheffler
Am Dienstag 21 Juli 2009 17:10:38 schrieb Wayne Fay: > >> I have to provide a jar file (java applet) inside the jar file that is > >> compiled against jdk 1.4 while the project itself is 1.5. The applet > >> contains a subset of the classes of the whole project. > > What classloader are you using t

Re: JAR inside JAR

2009-07-21 Thread Thomas Scheffler
Am Dienstag 21 Juli 2009 13:44:50 schrieb Thomas Scheffler: > Hi, > > I am migrating a larger project from ant to maven 2. The resulting JAR file > has to be in a specific structure. At the moment I am almost done. One > thing is still missing: > > I have to provide a jar file

JAR inside JAR

2009-07-21 Thread Thomas Scheffler
Hi, I am migrating a larger project from ant to maven 2. The resulting JAR file has to be in a specific structure. At the moment I am almost done. One thing is still missing: I have to provide a jar file (java applet) inside the jar file that is compiled against jdk 1.4 while the project itsel

Re: Converting .properties to UTF8

2009-07-20 Thread Thomas Scheffler
Am Montag, 20. Juli 2009 19:43:14 schrieb daniel.green: > Upon the packaging of my war, I want to convert all .properties files to > utf8. Can I do this with straight maven or will I need to run an ant task > OR write my own plugin? If your .properties files should be read by the java.util.Propert