Re: Resource plugin - LifecycleExecutionException - Input length = 1

2020-08-13 Thread Karl Heinz Marbaise
in the output that now version 3.2.0 of the resource plugin is used (before it was 2.x). However, it now results in the following error : Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:testResources (default-testResources) on project XXX: Input length = 1 See [2] below

Re: Resource plugin - LifecycleExecutionException - Input length = 1

2020-08-13 Thread Mark Prins
Op wo 12 aug. 2020 om 21:47 schreef Tobias : > > > Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin:3.2.0:testResources > (default-testResources) on project XXX: Input length = 1 > > See [2] below for a more detailed stack trace. > > Do you know what goes wrong and how

Resource plugin - LifecycleExecutionException - Input length = 1

2020-08-12 Thread Tobias
-filtering 3.2.0 org.apache.maven.shared maven-shared-utils 3.3.3 to the pom.xml file (the version of maven-resources-plugin had not been specified before). When running maven I see in the output that now version 3.2.0 of the resource

Problem with the resource-plugin v2.7 and nonFilteredFileExtensions

2014-10-06 Thread Michael Lemler
Hi there, we just tried to update our usage of the maven-resource-plugin to Version 2.7 but afterwards the build failed with the following error message: Failed to execute goal org.apache.maven.plugins:maven-resource-plugin:2.7:resource (default resources) on project XYZ: Mark invalid - [Help

Re: Problem with the resource-plugin v2.7 and nonFilteredFileExtensions

2014-10-06 Thread Karl Heinz Marbaise
Hi, first thanks for going so fast to a new version and finding this issue...if it really is one... On 10/6/14 12:04 PM, Michael Lemler wrote: Hi there, we just tried to update our usage of the maven-resource-plugin to Version 2.7 but afterwards the build failed with the following error

Re: Maven resource plugin

2012-10-04 Thread Anders Hammar
You need to move the configuration section into the execution you want it for. The current setup will also affect default lifecycle bindings of the resources plugin. /Anders On Thu, Oct 4, 2012 at 12:44 AM, sudha sudha...@gmail.com wrote: Hi, I'm trying to use maven resource plugin to copy

Re: Maven resource plugin

2012-10-04 Thread sudha
Thanks. That worked. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-resource-plugin-tp5724796p5724909.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

Maven resource plugin

2012-10-03 Thread sudha
Hi, I'm trying to use maven resource plugin to copy and filter some property files from one directory to another ( not src/main/resources ). The source directory ( in this case configuration directory under basedir) has just one property file. When I do a mvn install, it creates

Resource-Plugin

2011-01-03 Thread Asmann, Roland
Hi all, I was playing around with the resource-plugin to copy several resources around in my project, and found a problem with the plugin. It appears that the parameter 'includeEmptyDirs' is not always (!) being obeyed. From what I can see, it works when I configure several resources and do

[Resource plugin] Copy resource from other module

2010-12-24 Thread R . WILBERT
Hi, I tried to use Resource plugin with copy goal to copy resources from another module to current module : build plugins plugin artifactIdmaven-resources-plugin/artifactId version2.4.3/version executions execution idcopy-resources/id

Re: Strange behaviour on resource plugin

2010-10-20 Thread Søren Krum
Hi! fond it by myself: The -X helps a lot in between. The properties were specified in a profile which was not active when running from the command line. Sorry for bothering you! On 10/19/2010 04:09 PM, Søren Krum wrote: Hi! I have detected a strange bahaviour of the maven resource plugin

Strange behaviour on resource plugin

2010-10-19 Thread Søren Krum
Hi! I have detected a strange bahaviour of the maven resource plugin, and i am wondering if someone can give me a hint, what is going wrong here. One of my maven projects uses the resource plugin to copy some configuration files with some placeholders in them. When running maven from eclipse

Re: Strange behaviour on resource plugin

2010-10-19 Thread Wayne Fay
I have detected a strange bahaviour of the maven resource plugin, and i am wondering if someone can give me a hint, what is going wrong here. Did you lock down the version of m-r-p in your pom? If not, you really have no control over what version is being used, and it is possible that you have

Re: Strange behaviour on resource plugin

2010-10-19 Thread Vincent Latombe
Hello, Do you define the version of maven-resources-plugin in your pom ? Are you using profiles? 2010/10/19 Søren Krum soren.k...@uninett.no Hi! I have detected a strange bahaviour of the maven resource plugin, and i am wondering if someone can give me a hint, what is going wrong here

Maven Resource plugin help

2010-09-01 Thread Meenakshi Khatri
Hello everyone, In my maven pom, I have profiles defined and I have a environment file which changes a variable according to the profile name. When I build maven within my SpringSource Tool Suite, in my target folder, the variable defined in the environment file doesnt not change according to

Writing a plugin, intercepting resource plugin...

2010-07-22 Thread Kai Hackemesser
Hello, I am thinking about a plugin, that when present in a maven pom plugins set should automatically adds some special source and target folder to the resources plugin, so that some special resources are copied without having to configure them in the resources plugin itself. How do I do that ?

Re: Writing a plugin, intercepting resource plugin...

2010-07-22 Thread Wayne Fay
I am thinking about a plugin, that when present in a maven pom plugins set should automatically adds some special source and target folder to the resources plugin, so that some special resources are copied without having to configure them in the resources plugin itself. How do I do that ?

Re: Remote resource plugin doesn't work in release plugin

2009-11-18 Thread alien.sulin
use maven plugin like this mvn somePlugin:goal -Dparam=value in cmd the param should be the param of somePlugin supply? And, the ${variable} in the pom file,it should be a variable which maven can know it, it can be a environment variable of OS or a property file configed in the pom hope help

Remote resource plugin doesn't work in release plugin

2009-11-17 Thread Max Grigoriev
Hi everybody, I have a project which uses remote-resources (hibernate mapping files). My pom.xml ... plugin     artifactIdmaven-remote-resources-plugin/artifactId     version1.1/version     executions     execution     goals     goalprocess/goal  

Maven Resource Plugin - Filtering: How to configure custom Token to be filtered

2009-09-24 Thread Torsten Krah
Hi, i want to migrate from antmod to maven. I wonder if it is possible to configure additional tokens to replace my property placeholders ( not only @...@ and ${} ). I want to replace $$ ones. I've read http://maven.apache.org/shared/maven-filtering/usage.html but looking at latest

Re: Maven Resource Plugin - Filtering: How to configure custom Token to be filtered

2009-09-24 Thread Olivier Lamy
Hi, Have a look at delimiters [1] parameters in the resources mojo HTH, -- Olivier http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters 2009/9/24 Torsten Krah tk...@fachschaft.imn.htwk-leipzig.de: Hi, i want to migrate from antmod to maven. I wonder if it is

Re: Maven Resource Plugin - Filtering: How to configure custom Token to be filtered

2009-09-24 Thread Torsten Krah
Am Donnerstag, 24. September 2009 13:55:08 schrieb Olivier Lamy: Have a look at delimiters [1] parameters in the resources mojo Hi, thx for this hint. Did have a look there - delimiters does sounds nice (i need to turn off useDefaultDelimiters to get them respected), however its not working as

Re: Maven Resource Plugin - Filtering: How to configure custom Token to be filtered

2009-09-24 Thread Olivier Lamy
probably a bug. (I have to investigate more) Can you create a issue [1] and attach a simple project to reproduce the issue. Thanks ! -- Olivier [1] http://jira.codehaus.org/browse/MRESOURCES 2009/9/24 Torsten Krah tk...@fachschaft.imn.htwk-leipzig.de: Am Donnerstag, 24. September 2009 13:55:08

Re: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-16 Thread Erick Dovale
accepter aucune responsabilité pour le contenu fourni. Date: Mon, 15 Jun 2009 14:42:13 -0400 Subject: Re: Custom lifecycle. Changing the default resource plugin confiduration. From: edov...@gmail.com To: users@maven.apache.org As a last resource solution yes. The thing is I don't want

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-16 Thread Martin Gainty
Subject: Re: Custom lifecycle. Changing the default resource plugin confiduration. From: edov...@gmail.com To: users@maven.apache.org Martin, Using an archetype for this is a good workaround. I may actually make an archetype for this kind of projects. I ended up writing a mojo and binding

Fwd: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Erick Dovale
-- From: Brett Porter br...@apache.org Date: Fri, Jun 12, 2009 at 11:57 PM Subject: Re: Custom lifecycle. Changing the default resource plugin confiduration. To: Maven Developers List d...@maven.apache.org This is still a more appropriate question for users@maven.apache.org

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Martin Gainty
responsabilité pour le contenu fourni. Date: Mon, 15 Jun 2009 11:49:43 -0400 Subject: Fwd: Custom lifecycle. Changing the default resource plugin confiduration. From: edov...@gmail.com To: users@maven.apache.org Brett, I went through the doc you send me below but could nor find an answer

Re: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Erick Dovale
accepter aucune responsabilité pour le contenu fourni. Date: Mon, 15 Jun 2009 11:49:43 -0400 Subject: Fwd: Custom lifecycle. Changing the default resource plugin confiduration. From: edov...@gmail.com To: users@maven.apache.org Brett, I went through the doc you send me below

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Martin Gainty
légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 15 Jun 2009 11:49:43 -0400 Subject: Fwd: Custom lifecycle. Changing the default resource plugin

Re: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Erick Dovale
. Date: Mon, 15 Jun 2009 13:50:32 -0400 Subject: Re: Custom lifecycle. Changing the default resource plugin confiduration. From: edov...@gmail.com To: users@maven.apache.org *Martin, I don't think that will work here as maven it self is the one calling the copy-resources goal

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-15 Thread Martin Gainty
Subject: Re: Custom lifecycle. Changing the default resource plugin confiduration. From: edov...@gmail.com To: users@maven.apache.org As a last resource solution yes. The thing is I don't want to force the clients of the plugin to have to do this. instead i just want them to declared

Can the resource-plugin copy the resource out of the project path?

2008-10-13 Thread 陈思淼
for example: my resource file is in /home/admin/key/DAS.key or c:/key/DSA.key.how can I set it?

Re: resource plugin and empty directories

2008-08-07 Thread AsafM
not already implemented in the resource plugin, I have to imagine it would be a pretty simple modification (with an added variable copyEmptyDirectories, default to false) to add this functionality and provide a patch back to the project. Wayne On 3/27/06, Kevin Galligan [EMAIL PROTECTED] wrote

Re: resource plugin and empty directories

2008-08-07 Thread Dennis Lundberg
to see what configuration options are available and perhaps you'll find something. If its not already implemented in the resource plugin, I have to imagine it would be a pretty simple modification (with an added variable copyEmptyDirectories, default to false) to add this functionality and provide

Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-14 Thread matthew sporleder
Is there any reason why these files shouldn't be considered binaries by the assembly plugin? I'm now running into a problem where my binaries are getting included in the zip file I create, but my resources are not. Do I need to explicitly include the mas files, or is there an option within the

Using resource plugin -- why do my resources end up in classes/ ?

2008-05-13 Thread matthew sporleder
How can I change the outputDirectory for all of my modules which include the following: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId version2.2/version executions execution phasecompile/phase goals

Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-13 Thread Kalle Korhonen
I'd separate out those resources from classpath resources by putting them into a different dir. Then use: resource directorysrc/main/data/directory targetPath../targetPath /resource Or, if you bind resources plugin yourself like you did below, use:

Re: Using resource plugin -- why do my resources end up in classes/ ?

2008-05-13 Thread matthew sporleder
Thanks, that worked perfectly. On Tue, May 13, 2008 at 1:17 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: I'd separate out those resources from classpath resources by putting them into a different dir. Then use: resource directorysrc/main/data/directory

resource plugin - does it require a profile?

2008-03-28 Thread Dooing
Hi, I found out that the resource plugin is capable of simply copying files to a directory. I would like to use this to update files in my tomcat webapps project folder (when necessary). However, I am already using the plugin to copy resources to the war file that is generated in the regular

Cannot configure filters for resource plugin

2008-02-14 Thread nicolas de loof
build, to get packaged in my assembly. The templates files are in my resources directory, and I have 3 filters files in src/main/filters I'd like to run the resource plugin 3 times using execution, with configuration changed to use the 3 filters files ... but the filters parameter is set

Re: Resource plugin copying files which end up not being binary compatible

2008-02-04 Thread Cam
Found out why - i had property filtering on over the entire directory. Disable for the specific binary file and all works. Is this something the resources plugin should check for? Is there any use case when binary files would be able to be filtered? Cam Cam wrote: Hi, I'm using the maven

Resource plugin copying files which end up not being binary compatible

2008-02-04 Thread Cam
Hi, I'm using the maven resources plugin to copy some binary files to the target directory however after copying the target file is not binary compatible with the original. I'm guessing this is because the resources plugin changes the character encoding, unfortunately i can't set the

RE: Resource Plugin

2006-08-14 Thread Douglas Ferguson
: Re: Resource Plugin Douglas Ferguson wrote: I can't find any documentation on how to change the default location of the resources plugin. I checked out the code and it declares ${project.resources}. But this is a list of resource objects. I'd like to just change the directory from

Re: Resource Plugin

2006-08-12 Thread franz see
have some comments regarding the documentation, it would be greatly appreciated ^_^ Thanks a bunch and goodluck to you - Franz Ref: [1] http://people.apache.org/~aramirez/maven-resources-plugin/ -- View this message in context: http://www.nabble.com/Resource-Plugin-tf2092205.html#a5774084 Sent

Resource Plugin

2006-08-11 Thread Douglas Ferguson
I can't find any documentation on how to change the default location of the resources plugin. I checked out the code and it declares ${project.resources}. But this is a list of resource objects. I'd like to just change the directory from ${basedir}/src/main/resources -

resource plugin and empty directories

2006-03-27 Thread Kevin Galligan
Is there any way to get the resource plugin to copy empty directories (I assume its the resource plugin when doing a jar packaged build). Long story as to why I'd need this. Thanks, -Kevin

Re: resource plugin and empty directories

2006-03-27 Thread Wayne Fay
Not sure if this is currently possible. Check the source code to see what configuration options are available and perhaps you'll find something. If its not already implemented in the resource plugin, I have to imagine it would be a pretty simple modification (with an added variable