Re: How to interpolate a value in a Maven plugin

2018-12-27 Thread Jochen Wiedmann
milar things and have a look at its > sources. > In this case help:evaluate[1] > > thanks, > Robert > > [1] https://maven.apache.org/plugins/maven-help-plugin/evaluate-mojo.html > > On Wed, 26 Dec 2018 22:36:32 +0100, Jochen Wiedmann > wrote: > > > Hi, > >

Re: How to interpolate a value in a Maven plugin

2018-12-26 Thread Jochen Wiedmann
On Wed, Dec 26, 2018 at 10:54 PM Karl Heinz Marbaise wrote: > > I have written a Maven plugin, which must interpret values like > > ${project.artifactId}, and the like. > > Where exactly do you use them ? Are injected as parameters ? No, they are basically snippets, which have been extracted

How to interpolate a value in a Maven plugin

2018-12-26 Thread Jochen Wiedmann
Hi, I have written a Maven plugin, which must interpret values like ${project.artifactId}, and the like. My first attempt was to use project.getProperties().get("project.artifactId"), but that seems to work only for the values, which are configured in the POM's property section. So, what would be

Re: Applying Jenkins build number

2018-11-23 Thread Jochen Wiedmann
hu, Nov 22, 2018 at 12:19 PM Anders Hammar wrote: > > Why not just update the pom (but not commit to scm) with a step like > mvn versions:set -DnewVersion=$newVersion > ? > > And newVersion you would parse from the pom file and add ${build.number} to > it. > > /Anders > &

Applying Jenkins build number

2018-11-22 Thread Jochen Wiedmann
Hi, when running Maven outside of Jenkins, I have the version number (for example) 1.2, which is just fine. However, within Jenkins I'd like that to be 1.2.${build.number}. Is that possible without overwriting the version number in the pom with every build? For example, by using a "jenkins"

Re: xml-maven-plugin includes element

2018-03-27 Thread Jochen Wiedmann
Please file an issue at https://github.com/mojohaus/xml-maven-plugin/issues Don't forget to include a complete sample configuration. Thanks, Jochen On Mon, Mar 26, 2018 at 2:36 PM, Delany wrote: > Hi all, > > In the plugin document at >

Re: Maven Extension Idea: iJar support

2017-10-04 Thread Jochen Wiedmann
On Wed, Oct 4, 2017 at 6:38 AM, Farid Zakaria > Could this be done as a maven extension? What exactly would you like to have? - Creating the "iJar" (Would need a specification first, IMO, which might be obtained from Bazel.) - Support for using the "iJar" in the dependency checking, as you

Re: Finding another plugins configuration

2017-02-10 Thread Jochen Wiedmann
Hi, Tamas, thanks for the link to the configuration-maven-plugin. If I do get this right, you are essentially introducing a way to reuse configuration snippets within the POM. Which would of course be an interesting idea. I still wonder, whether it isn't possible to find another plugin within my

Re: Finding another plugins configuration

2017-02-03 Thread Jochen Wiedmann
On Fri, Feb 3, 2017 at 10:27 AM, Hervé BOUTEMY wrote: > b) is probably possible, but not recommended A few words on how this would work, and *why* it is not recommended? I am not interested in finding a solution for all Maven users, Just something that works for me and my

Finding another plugins configuration

2017-01-30 Thread Jochen Wiedmann
Hi, I'd like to create a plugin, which is intended to generate resources for a web application. In other words, the target directory would be the value, which is typically configured as the webappDirectory property of the maven-war-plugin. To get that value, I see two options: a) I create a

Re: Is it time to change the defaults for source and target?

2017-01-18 Thread Jochen Wiedmann
On Wed, Jan 18, 2017 at 4:37 PM, Russell Gold wrote: > These settings are incompatible with Java 9. How so? -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

Re: .asc.asc files

2016-12-04 Thread Jochen Wiedmann
On Sun, Dec 4, 2016 at 3:29 PM, Karl Heinz Marbaise wrote: > mvn -Prelease -Papache-release clean site deploy > > is sufficient... Thanks very much, Karl-Heinz. I certainly hope to keep that in mind. Nevertheless, I do think that the plugin (which?) should be clever enough

.asc.asc files

2016-12-04 Thread Jochen Wiedmann
Hi, trying to deploy a release to Nexus, I end up with files commons-fileupload-1.3.3-bin.tar.gz.asc.asc.asc.asc. What I did: cd target/checkout (Directory created by mvn release:perform) mvn -Prealease -Papache-release clean site install deploy Any ideas, what's wrong? And (so I can

Unexpected result for MatchPatterns

2016-07-19 Thread Jochen Wiedmann
Hi, could anyone explain to me, why the following unit test fails. (I am using MatchPatterns from maven-shared-utils 3.0.1:) final MatchPatterns mp = MatchPatterns.from("ORG/APACHE/**/*"); assertTrue(mp.matches("ORG/APACHE/TEST.JAVA", true)); Thanks, Jochen -- The next time

Deploying asc files

2016-05-13 Thread Jochen Wiedmann
Hi, I am deploying my release to a Nexus staging repository by using mvn deploy:deploy-file -Dfile=target/myfile-1.0.jar -DpomFile=target/myFile-1.0.pom Is it possible, to have the GPG Signatures (target/myfile-1.0.jar.asc, etc.) deployed as well? Thanks, Jochen -- The next time you

Re: Solaris

2015-11-04 Thread Jochen Wiedmann
The first line of mvn is #!/bin/sh So, that should be a bourne shell, and not tcsh, regardless of the users settings. Jochen On Wed, Nov 4, 2015 at 5:27 PM, Jeff MAURY wrote: > Not sure the Maven scripts supports tcsh. Switch to bash if you can. > > Regards >

Re: Google is Maven Central's New Best Friend

2015-10-28 Thread Jochen Wiedmann
Hi, Jason, I sincerely hope, that the "Still Rocking it" talk will be able to watch later on. Thanks, Jochen On Wed, Oct 28, 2015 at 1:43 PM, Jason van Zyl wrote: > Hi, > > Most users of Maven are not intimately familiar with Maven Central’s history > and infrastructure so

Re: Computing the maven dependency graph at runtime for unit tests?

2015-04-07 Thread Jochen Wiedmann
I'd use dependency:list in conjunction with outputFile to create a temporary file, which contains the list of dependencies. That temporary file can be compared with a static file. If they have the same contents, the test passes. Jochen On Tue, Apr 7, 2015 at 8:26 AM, Karl Heinz Marbaise

Re: Maven Central Opinion

2014-01-05 Thread Jochen Wiedmann
On Sun, Jan 5, 2014 at 2:39 PM, Karl Heinz Marbaise khmarba...@gmx.dewrote: I was asked to submit one of my opensource tools at github to maven central. So just create a ticket on JIRA ... I understand that we aren't talking about an ASF release her, are we? Jochen

Re: how to make the SVN release process more robust

2013-08-05 Thread Jochen Wiedmann
Isn't it possible to handle this in a technical manner` For example, a rigger script that's invoked upon commit and checks whether the path contains a tags directory? On Mon, Aug 5, 2013 at 4:51 PM, Nathan Coast nathan.co...@db.com wrote: Classification: Public Hi all, As SVN tags are

Re: Why does mvn compiile using java 1.3?

2012-11-29 Thread Jochen Wiedmann
Leaving aside questions of compatibility, Java 7 as compiler default would be a poor choice. After all, that would require JRE 7 as a standard for running Maven, or using one of the Eclipse compilers. Otherwise, that would be unsupported by the compiler. On Wed, Nov 28, 2012 at 8:43 PM, Ron

Re: Create text file in maven?

2012-11-28 Thread Jochen Wiedmann
Use the groovy-maven-plugin: http://groovy.codehaus.org/GMaven On Wed, Nov 28, 2012 at 5:13 PM, Steve Cohen sco...@javactivity.org wrote: Is there a way in maven to echo some text provided via a property in pom.xml into a text file at a given location?

Re: Version ranges not working

2012-09-30 Thread Jochen Wiedmann
And while you're at it, please take care that the absence of a versionRange is supported. On Thu, Sep 27, 2012 at 11:19 PM, Paul French paul.fre...@kirona.com wrote: Okay I see the problem. How about allowing a user to plugin a Version class that implements Comparator class MavenVersion

Re: An example of a plugin that uses the dependencies/ as an actual live classpath ...

2011-06-15 Thread Jochen Wiedmann
The maven-compiler-plugin should do exactly that. On Wed, Jun 15, 2011 at 5:09 PM, Benson Margulies bimargul...@gmail.com wrote: I find myself looking to create a plugin where, as part of execution, it wants to create a classpath composed of the declared dependencies. Can anyone suggest a

Re: Deploy artifact programmatically

2011-04-20 Thread Jochen Wiedmann
Question is, whether you really want to use Maven in that case. Using Maven is the proper thing to do, if you want to be able to deploy to multiple targets by just specifying a different URL, as in scp://... or https:// If you have a fixed target (like a Nexus repository), it is much more

Re: Deploy artifact programmatically

2011-04-20 Thread Jochen Wiedmann
Create an instance of java.net.URL, add user name and password as described in [1], call setMethod(PUT) on the URLconnection, set doOutput to true and write the file to the output stream. 1) http://www.avajava.com/tutorials/lessons/how-do-i-connect-to-a-url-using-basic-authentication.html On

Re: Deploy artifact programmatically

2011-04-20 Thread Jochen Wiedmann
Yes, as I said, that's what URLConnection.getOutputStream() is for. And don't forget to invoke URLconnection.setDoOutput(true) in advance. On Wed, Apr 20, 2011 at 2:44 PM, kgiannou kgian...@iti.gr wrote: ok done with the authentication.. Shouldn't I somehow put the contents of the jar file to

Re: ZIP and UNZIP the code source in another project

2011-03-17 Thread Jochen Wiedmann
In PROJECT-A, use the assembly plugin to create an artifact. In PROJECT-B, use the dependency-plugin to extract said artifact. On Thu, Mar 17, 2011 at 3:08 PM, Nguyen Tien Luong tienluon...@yahoo.com wrote:    Hi maven's users, Maybe the title is not understandable enough, here is my example:

Re: 'Illegal character(s) in message header' when uploading

2011-03-16 Thread Jochen Wiedmann
Brings up two questions: - Why is the lightweight wagon using Base64Encoder, aka a sun private class? - There is a known valid workaround for a 10 years old bug. Why not using it? 2011/3/16 Tamás Cservenák ta...@cservenak.net: Howdy, that's a known bug in JRE's base64 encoder, that is used

Re: How to include site into war file?

2011-03-09 Thread Jochen Wiedmann
No chance? On Fri, Mar 4, 2011 at 1:53 PM, Jochen Wiedmann jochen.wiedm...@gmail.com wrote: Hi, I've got a project, which is distributed as a web application. I'd like to include the site into the webapp. As you possibly know, the assembly plugin does support this, so it shouldn't be all

How to include site into war file?

2011-03-04 Thread Jochen Wiedmann
Hi, I've got a project, which is distributed as a web application. I'd like to include the site into the webapp. As you possibly know, the assembly plugin does support this, so it shouldn't be all too impossible. I tried the following snippet in my POM. Unfortunately, this seems to trigger an

Require site descriptor of parent POM?

2011-02-09 Thread Jochen Wiedmann
Hi, trying to generate the site of one of my projects, with Maven 3.0.2 and maven-site-plugin 3.0-beta-3, fails with the error message below. The error message indicates that the site descriptor of the parent POM is missing. That is missing indeed, because the parent POM doesn't have a site and,

Re: Maven 3.0.2: Why is site.xml deployed

2011-02-09 Thread Jochen Wiedmann
Karl-Heinz: The answer is that site.xml might be required by modules, if they have menu ref=parent/ in their own site.xml. In that case the parents site.xml is loaded from the repository. But, on a related matter, and because I have posted this question just today: How do I achieve that the

Re: Require site descriptor of parent POM?

2011-02-09 Thread Jochen Wiedmann
Thanks. I don't understand the reason for removing the deployment by default (one more example where the POM grows without an apparent reason), but your explanation helped. On Wed, Feb 9, 2011 at 7:12 PM, lukewpatterson lukewpatter...@gmail.com wrote: jochen-2 wrote: ... because the parent

Re: Require site descriptor of parent POM?

2011-02-09 Thread Jochen Wiedmann
On Wed, Feb 9, 2011 at 8:03 PM, Dennis Lundberg denn...@apache.org wrote: The reason was to properly separate Maven 3 from the documentation generation framework (i.e. Doxia) on one hand and the Site Plugin on the other hand. This makes it possible to use other documentation generation

Re: Maven 3 no longer supporting dynamic configuration of plugins?

2010-11-25 Thread Jochen Wiedmann
This is a good example of my belief, that it should be possible to invoke other plugins dynamically by supplying an own configuration section from your own plugin. On Thu, Nov 25, 2010 at 6:00 AM, Peter Niederwieser pnied...@gmail.com wrote: Over time, I have written several Maven plugins that

Re: maven 3 profiles.xml replacement?

2010-11-11 Thread Jochen Wiedmann
On Thu, Nov 11, 2010 at 8:29 AM, Anders Hammar and...@hammar.net wrote: Change to the Maven Way(tm)! That clearly depends on how you define this term. Personally, I don't see any contradiction between Maven's approach and profile files. In contrary, I am quite unhappy that they are gone. They

Wagon in 3.0: No connector

2010-11-09 Thread Jochen Wiedmann
Does anyone have an idea, why this one works flawlessly (some parameters omitted): /c/Prg/apache-maven-2.2.1/bin/mvn deploy:deploy-file ... -Durl=scp://shell.sourceforge.net/home/groups/c/cs/csutils/htdocs/repository But this one doesn't: /c/Prg/apache-maven-3.0/bin/mvn deploy:deploy-file ...

Re: Wagon in 3.0: No connector

2010-11-09 Thread Jochen Wiedmann
In the case of deploy:file, I can hardly add this to the pom file, can't I? I'd see this as a regression. On Tue, Nov 9, 2010 at 10:33 AM, Anders Hammar and...@hammar.net wrote: http://lmgtfy.com/?q=maven+3+wagon+scpl=1 Google rocks! :-) /Anders On Tue, Nov 9, 2010 at 10:30, Jochen

Re: mvn install to a given local repo path - broken with m3?

2010-11-04 Thread Jochen Wiedmann
Hi, Holger, you aren't writing how you do specify the local repository path. My assumption would be that you need to use the Maven option -s or --settings and use the localRepository element in the given settings file, as specified by the settings XSD. [1] Is that what you are doing? Jochen [1]

Re: maven is a swamp

2010-10-16 Thread Jochen Wiedmann
On Thu, Oct 14, 2010 at 7:25 PM, Kenneth McDonald kenneth.m.mcdon...@sbcglobal.net wrote: 1) Maven is declarative vs. procedural. This is great, but Prolog has been that way for decades. Why build such a complex syntax when a much simpler one already existed. That's comparing apples and

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Jochen Wiedmann
Works fine with my most important builds, including site. Jochen -- I Am What I Am And That's All What I Yam (Popeye) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: Run external tasks using maven

2010-07-12 Thread Jochen Wiedmann
On Mon, Jul 12, 2010 at 4:54 PM, Wayne Fay wayne...@gmail.com wrote: Is it possible to run ant tasks which is not connected  with any build lifecycle phase? In other word I would like to perform some action on demand using maven and antrun plugin. Why bother??? Just run ant directly in this

Re: standardized Maven GAV URN?

2010-06-29 Thread Jochen Wiedmann
On Tue, Jun 29, 2010 at 8:34 AM, nicolas de loof nicolas.del...@gmail.com wrote: is le last part type or packaging ? Is there a difference? -- Germanys national anthem is the most boring in the world - how telling! - To

Problem using maven-deploy-plugin against an https server via proxy

2010-06-15 Thread Jochen Wiedmann
Hi, I am trying to deploy a snapshot of an Apache project to https://repository.apache.org/content/repositories/snapshots. From my point of view, the configuration is correct: I have a server entry in my settings.xml and I have configured an https proxy. (See Adding User-Agent configuration and

Re: XML Files in Maven Jar

2010-02-23 Thread Jochen Wiedmann
Put them into src/main/resources, rather than src/main/java. If you don't like that default behaviour, create an element like build/resources/resource with directory src/main/java. In the latter case, be sure to exclude **/*.java and **/package*.html . Jochen On Wed, Feb 24, 2010 at 8:10 AM,

Re: What should be the correct check for any XML to be POM?

2010-01-08 Thread Jochen Wiedmann
Project and namespace Depending on the pom generator, you have no idea, whether the xmlns:xsi and xsi:schemaLocation are present or not. Jochen 2010/1/8 amaresh mourya amaresh.mou...@gmail.com: Hi all, I am need of writing a check method to filter POMs from a list of xml files. What should

maven-release-plugin: Intraproject snapshots unresolved

2009-11-11 Thread Jochen Wiedmann
Hi, I'd like to release a project using the maven-release-plugin. Now, if I run release:prepare, I get the following message: [INFO] Checking dependencies and plugins for snapshots ... There are still some remaining snapshot dependencies.: Do you want to resolve them now? (yes/no) no: :

maven-resources-plugin: escapeWindowsPaths actually working?

2009-11-04 Thread Jochen Wiedmann
Hi, is the attribute escapeWindowsPaths in the maven-resources-plugin actually working? I don't think it does with 2.4, or 2.4.1, at least not with something like my.dir=${project.build.directory} in src/main/filtered-resources/my.properties. I have checked the sources of maven-resources-plugin

Re: Getting class file has wrong version 50.0, should be 49.0 error when running an Ant build

2009-08-22 Thread Jochen Wiedmann
On Sat, Aug 22, 2009 at 10:05 PM, Enrique Gaonaega...@us.ibm.com wrote: Has anyone seen this problem before? My guess: You are using Eclipse (NetBeans, IntelliJ, whatever), running on Java 6 and didn't do an mvn clean first. In other words, one or more source files have been compiled by the

Re: Maven for java-tomcat-webproject

2009-08-21 Thread Jochen Wiedmann
Use the Tomcat sysdeo plugin and configure it to use to configure Tomcat that your webapp is not in its own webapps folder, but in YourProject/target/YourWebApp. On Fri, Aug 21, 2009 at 9:11 AM, Venkat.krsnavenkatraman...@shloklabs.com wrote: Hi,       I am new to maven tool. My objective is

Re: Maven for java-tomcat-webproject

2009-08-21 Thread Jochen Wiedmann
any maven project. I just having my java-tomcat web project in tomcat webapps folder. I just map this java sources in maven2 tool for build my web project through maven2. Where i am going to map my tomcat web application java sources into maven 2? Jochen Wiedmann wrote: Use the Tomcat

Creating an Eclipse plugin

2009-08-12 Thread Jochen Wiedmann
Hi, I've got an Eclipse plugin, which I'd like to build using Maven. Is there any plugin, archetype or something else, which could help me to start? Thanks, Jochen -- Base64 decoding, 300% faster than sun.misc.BASE64Decoder: http://archive.netbsd.se/?ml=commons-deva=2008-05t=7522166

Re: [ANN] Maven Release Plugin 2.0-beta-9 Released

2009-04-01 Thread Jochen Wiedmann
On Wed, Apr 1, 2009 at 1:23 PM, Mark Hobson markhob...@gmail.com wrote: 2009/4/1 Olivier Lamy ol...@apache.org: No the release parent has correct information but not your child(s) pom(s) because if the child doesn't have any scm information they are inherited from the parent ! + your current

Re: Problem in release:prepare

2009-03-14 Thread Jochen Wiedmann
On Fri, Mar 13, 2009 at 11:43 PM, Edelson, Justin justin.edel...@mtvstaff.com wrote: This looks like http://jira.codehaus.org/browse/SCM-406. Run svn up and rerun release:prepare. Thanks for the hint, Justin! -- I have always wished for my computer to be as easy to use as my telephone; my

Problem in release:prepare

2009-03-13 Thread Jochen Wiedmann
Hi, I am trying to push a release of Apache RAT to the Nexus staging repository, following the instructions from http://maven.apache.org/developers/release/releasing.html The first steps, up and including release:clean are working well. However, when I finally run release:prepare, then I

Re: Disable plugin during development builds

2009-02-05 Thread Jochen Wiedmann
On Thu, Feb 5, 2009 at 12:58 PM, John Coleman john.cole...@eurobase.com wrote: During development we don't want our javascript to be compressed, so the yuicompressor plugin only needs to run when we do a release build. How do we change the pom so that this plugin can be selectively turned

Re: help enabling assertions in the compiler plugin.

2009-02-05 Thread Jochen Wiedmann
On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist jo...@kawoo.co.uk wrote: The compilerArguments are passed directly to javac executable as far as I can tell and javac does not support these flags. Obviously not. Assertions are enabled or disabled at runtime, not at compile time. These flags are

Re: from workaround to workaround 2

2008-09-05 Thread Jochen Wiedmann
On Fri, Sep 5, 2008 at 8:50 AM, [EMAIL PROTECTED] wrote: Second idea: I found the properties-maven-plugin which has a goal that writes all settings properties into a file. Fine, that's what I need. However, this plugin is not on the rep01.maven server but only on a codehaus server. So I

Re: log from a plugin

2008-08-27 Thread Jochen Wiedmann
On Wed, Aug 27, 2008 at 12:22 PM, Julien CARSIQUE [EMAIL PROTECTED] wrote: What's the right way to get logger, except passing it from the mojo through all classes and methods calls ? Put it in a ThreadLocal. Jochen -- Look, that's why there's rules, understand? So that you think before you

Re: [POLL] Default Value for Reports Output Encoding

2008-08-05 Thread Jochen Wiedmann
On Tue, Aug 5, 2008 at 9:43 PM, Hervé BOUTEMY [EMAIL PROTECTED] wrote: [a] Use UTF-8 [b] Use source files encoding [c] Platforms default encoding -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time)

Re: Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-07 Thread Jochen Wiedmann
On Mon, Jul 7, 2008 at 8:12 AM, Peter Horlock [EMAIL PROTECTED] wrote: Talking about sonatype products, I am also badly waiting for a new m2:eclipse version working with Eclipse 3.4, I am using m2eclipse and Eclipse Ganymede every day, never was aware of any problems? Jochen -- Look,

Re: Enabling Eclipse 3.4.0 Ganymede in the maven repository

2008-07-04 Thread Jochen Wiedmann
On Fri, Jul 4, 2008 at 4:49 AM, Rakesh Sinha [EMAIL PROTECTED] wrote: Does this mean if it would be the job of eclipse team to publish the .pom files to the repository. Is there any way any other individual contributor can contribute to this ? It means the latter. You can create a bundle and

Re: Enabling Eclipse 3.4.0 Ganymede in the maven repository

2008-07-03 Thread Jochen Wiedmann
On Thu, Jul 3, 2008 at 3:43 AM, Rakesh Sinha [EMAIL PROTECTED] wrote: To develop a plugin of ours - we need to port it to Eclipse 3.4.0 and we have the maven build script for the same. Can we have the jars available for 3.4.0 here at the maven repository.

Re: How to deploy generated maven site to Tomcat server?

2008-05-15 Thread Jochen Wiedmann
On Thu, May 15, 2008 at 1:03 PM, Sench [EMAIL PROTECTED] wrote: I'm not about to create project's war and deploy it to tomcat server :) I simply mean to execute maven site plugin and after creating project's site deploy it to running tomcat server. Sorry for the misunderstandment. I have a

Re: How to deploy generated maven site to Tomcat server?

2008-05-12 Thread Jochen Wiedmann
On Mon, May 12, 2008 at 3:09 PM, Sench [EMAIL PROTECTED] wrote: How can I configure the settings.xml to deploy maven project generated site to Tomcat Server? And what I must write in my project's pom.xml? I am simply configuring the project as packaging war. The only configuration option

Re: [POLL] Default Value for File Encoding

2008-04-29 Thread Jochen Wiedmann
On Tue, Apr 29, 2008 at 1:23 PM, Benjamin Bentmann [EMAIL PROTECTED] wrote: These are the two possible directions to go: a) Use the current platform encoding, aka the system property file.encoding. b) Use a static/fixed value that is defined by convention, i.e. is not

Re: Multiple Jars

2008-03-22 Thread Jochen Wiedmann
On Sat, Mar 22, 2008 at 10:40 PM, Trenton Adams [EMAIL PROTECTED] wrote: That's what I was about to do, but that really is a hack. No, it isn't. That's the suggested way to do it. to be a better way than that. Isn't there? I thought maven would at least have the functionality of ant.

Re: archiva-1.0.2 eta?

2008-03-14 Thread Jochen Wiedmann
Brett Porter wrote: If you are able to, please test the following build: http://people.apache.org/~brett/builds/apache-archiva-1.0.2-SNAPSHOT-bin.zip (please note this is not an official release) If there is going to be a 1.0.2, then I beg to reconsider closing

Re: Best practices for seperate releases of parent and modules

2008-01-21 Thread Jochen Wiedmann
On Jan 21, 2008 10:42 AM, [EMAIL PROTECTED] wrote: Is it advisable to move the commons-parent to another subdirectory or is this layout the preferred way? I was experiencing with the former, but gave it up. The reason is that far too many plugins are not suitable to use it. Examples include:

Re: Best practices for seperate releases of parent and modules

2008-01-21 Thread Jochen Wiedmann
On Jan 21, 2008 11:00 AM, [EMAIL PROTECTED] wrote: But when you release the parent, do you also release all the submodules or do you run mvn with non-recursive? If the parent hasn't changed (in other words, if it hasn't a SNAPSHOT version), then I am happy to release the submodules only. To

Re: Copyright Symbol broken in Javadoc

2008-01-20 Thread Jochen Wiedmann
On Jan 19, 2008 5:25 PM, Vincent Siveton [EMAIL PROTECTED] wrote: The bottom uses #169; for the copyright. So I guess UTF-8 is used in command line. See http://www.nabble.com/Handling-of-encoding-in-commons-parent-to14975629.html for my conclusions. -- Look, that's why there's rules,

Copyright Symbol broken in Javadoc

2008-01-19 Thread Jochen Wiedmann
Hi, if you have a look at http://people.apache.org/~jochen/commons-fileupload/site/apidocs/index.html then you'll find that the copyright symbol at the page bottom is broken. Does anyone have an explanation for that? I did not do any configuration on the javadoc plugin, apart from

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread Jochen Wiedmann
On Jan 12, 2008 3:59 PM, supareno [EMAIL PROTECTED] wrote: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.2-SNAPSHOT (found static expression: '**/*.xsd' which may act as a default value). Configuration problem on your side, use

Re: how to skip snapshot verification in release plugin ?

2008-01-09 Thread Jochen Wiedmann
On Jan 9, 2008 10:02 AM, nicolas de loof [EMAIL PROTECTED] wrote: Can I tell the release plugin to ignore this one during release checks ? I do not know, whether you can. But the recommended way is to take the current snapshot, define your own version number (for example 20080109) deploy it to

Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
Hi, it hit me again: I have a property file, which contains version number of dependencies (in order to build the classpath, depending on the JDK version). That property file is maintained manually, of course an ugly thing. But I have no idea how to create it automatically. Any suggestions?

Re: Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
On Nov 21, 2007 9:18 AM, Juven Xu [EMAIL PROTECTED] wrote: I don't quite understand your situation, why not config version number in pom file and use Maven-IDE plugin to generate classpath file? The version number *is* in the pom file: It is part of the dependency specification. What is the

Re: Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
On Nov 21, 2007 9:32 AM, Juven Xu [EMAIL PROTECTED] wrote: You want to create pom file automatically? or just want to create classpath file automatically? I want to create a file like dependency.1=xercesImpl-2.7.1.jar dependency.2=xalan-2.4.0.jar ... -- Look, that's why

Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Hi, I would like to load an external pom.xml into Continuum. To connect to the SVN server, an HTTP proxy must be used. However, I've got no idea how to tell Continuum that it must use a proxy server? Thanks, Jochen -- View this message in context:

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Emmanuel Venisse wrote: You can add java proxy properties in wrapper.conf Thanks! -- View this message in context: http://www.nabble.com/Configure-Continuum-to-use-an-HTTP-proxy-tf4514961.html#a12877931 Sent from the Continuum - Users mailing list archive at Nabble.com.

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Ashley Williams-5 wrote: Does this mean you got it to work? I added the proxy properties as Emmanuel suggested, even changed the property names to camel case and it still refused to work... No, this means I wanted to be polite. :-) In fact, I can't see it working even after adding

Re: Any advantage of utisng plexus-compiler-eclipse ?

2007-09-24 Thread Jochen Wiedmann
On 9/24/07, nicolas de loof [EMAIL PROTECTED] wrote: Is there any compiler to target 1.3 with source 1.5 ? There is no limitation for that in the class file format. From my experience, you are better off using the retrotranslator plugin. Jochen -- Look, that's why there's rules, understand?

Why is my site.xml ignored?

2007-09-12 Thread Jochen Wiedmann
Hi, I've got a project, which I am currently moving to Maven. Historically, the directory src is used for Java sources and this cannot be changed easily. Not now, at least. Obviously, src/site would be an unfortunate choice, which is why I am using the directory site. Therefore, my POM contains

Next version of the site plugin? (Was: Why is my site.xml ignored?)

2007-09-12 Thread Jochen Wiedmann
Hi, answering my own question: I see, that this is a bug in the current version of the site plugin and that the bug has been fixed in the trunk. Any ideas, why the next version will be released? Thanks, Jochen -- Look, that's why there's rules, understand? So that you think before you break

Re: XML entities or alternative?

2007-09-10 Thread Jochen Wiedmann
On 9/10/07, Wayne Fay [EMAIL PROTECTED] wrote: Not presently. The idea of snippets has been under discussion on dev@ lately. Feel free to chime in. Do you have a pointer? I tried to search for snippets -jira -svn commit on Nabble, but didn't find something that sounded relevant to me.

Re: Build javadoc of dependencies?

2007-09-06 Thread Jochen Wiedmann
On 9/6/07, Heinrich Nirschl [EMAIL PROTECTED] wrote: You could set up a fourth project with packaging pom that serves as parent for the other three (i.e. the other tree projects are modules of the new project). The Javadoc plugin's aggregate function should work then. Right, but I couldn't

Re: source:jar includes resources?

2007-09-05 Thread Jochen Wiedmann
On 9/5/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: I noticed that jar built by source:jar includes resources. Is there any reason for this? I surely hope it does! They are added to the jar file, which makes them sources. Is there any way to prevent it? Don't put the resources into a

Build javadoc of dependencies?

2007-09-05 Thread Jochen Wiedmann
Hi, I have a project which is structured like this: +- parent | +- core | +- webapp (In practice, it's a little bit more complex, but the picture is sufficient to show the use case.) When running the javadoc plugin, I get the javadocs of the separate

Re: Testing a webapp with perl

2007-08-14 Thread Jochen Wiedmann
On 8/14/07, Roland Asmann [EMAIL PROTECTED] wrote: I am working an a plugin that access a webapp that is written in Perl. The plugin seems to work alright, but I can't really test everything I want on the webapp. Does anybody know of a webserver that can run Perl and has the possibility to

Re: webapp plugin

2007-07-18 Thread Jochen Wiedmann
On 7/18/07, John Coleman [EMAIL PROTECTED] wrote: I started looking at the resources phase, but the existing one just seems to put resources into the classes directory, and is evidently aimed at properties files and such. Obviously you did look at the resources *plugin* as opposed to the

Re: webapp plugin

2007-07-18 Thread Jochen Wiedmann
On 7/18/07, John Coleman [EMAIL PROTECTED] wrote: The war packaging type looks to src/main/webapp for the web application files such as JSPs, but still looks for non-code files in the standard src/main/resources directory. Where you place files such as *.properties files is of personal choice,

Re: webapp plugin

2007-07-17 Thread Jochen Wiedmann
On 7/17/07, John Coleman [EMAIL PROTECTED] wrote: I have developed a plugin that filters js and jsp files to customize them prior to packaging. The filtering possibilities provided by the maven-war-plugin aren't sufficient? IMO, filtering should be an abstract mechanism, as implemented in

Re: Default java source version

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Severin Ecker [EMAIL PROTECTED] wrote: i was wondering if i can change de default java source and target version for the compiler plugin to let's say 1.5 oder 1.6 globally in the settings.xml (or somewhere else), and only override it in the pom file if i need an older version.

Re: How to download source code to repos?

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Ren [EMAIL PROTECTED] wrote: I'm just wondering, how to use 'mvn install' command to also download the source code of a package? Do you mean upload, rather than download? Configure the maven-source-plugin in your POM with the property attached (may also be attach, written from

Re: How do I add jars to my WAR-file ?

2007-06-19 Thread Jochen Wiedmann
On 6/19/07, Steinhauer, Frank [EMAIL PROTECTED] wrote: how do I add JARs from the repository to my WAR file, using a special directory (not in WEB-INF/lib)? Use the maven-dependency-plugin. -- Besides, manipulating elections is under penalty of law, resulting in a preventative effect

Announce: rat-maven-plugin 1.0-alpha-2

2007-06-16 Thread Jochen Wiedmann
Hi, I'd like to announce release 1.0-alpha-2 of the rat-maven-plugin for Maven 2. Since the previous release, the following changes have been made: - Added the IDEA specific default excludes. Fixes MOJO-685. Thanks to Bernd Bohmann. - Added the possibility to exclude subprojects. Fixes

Re: Maven2 AAR plugin download

2007-06-10 Thread Jochen Wiedmann
On 6/10/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Could someone please let us know where we can download the Maven2 Axis 2 AAR plugin? Thanks. http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.2/ -- Besides, manipulating elections is under

Re: Preflight check for 2.0.7

2007-06-05 Thread Jochen Wiedmann
On 4 Jun 07, at 7:08 PM 4 Jun 07, Jason van Zyl wrote: I have built a snapshot for 2.0.7 and put it here: I'd like to note that I really do appreciate the current schedule of a maintenance release every quarter or around like that! Jochen -- Women have the ability to wind you round their

Re: Inclusions of test classes not inherited by TestCase

2007-06-04 Thread Jochen Wiedmann
Hi, Martin, you're the former Exolution employee, aren't you? If so, greetings from Stuttgart. :-) On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Why is the superclass of a test not considered for this? It seems that a class named MyTest that extends java.lang.Object is executed when

Re: [m2] how to call a mojo from other mojo

2007-05-13 Thread Jochen Wiedmann
On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? I have recently developed a subclass of the war plugin. It is duplicating the war plugins fields

  1   2   3   >