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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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 ?
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 ?
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
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
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
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
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
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
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
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
--
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
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
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
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
.
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
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
for example: my resource file is in /home/admin/key/DAS.key or
c:/key/DSA.key.how can I set it?
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
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
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
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
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:
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
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
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
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
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
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
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
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 -
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
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
47 matches
Mail list logo