Ahhh, that does indeed do it. Thank you sir.
Bill
On Sep 8, 2009, at 1:45 AM, Jörg Schaible wrote:
Hi Bill,
William Hatch wrote at Dienstag, 8. September 2009 07:32:
How can I configure my pom such that it will copy other files, such
as
properties and .xml files that are in the default p
Right. And here's a HOWTO:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
HTH,
-Lukas
Anders Hammar wrote:
Here:
https://repository.apache.org/content/repositories/snapshots/
/Anders
On Mon, Sep 7, 2009 at 22:27, Fred Vos wrote:
On Mon, Sep 07, 2009 at
I have a plugin containing a number of custom lifecycles, which has
always worked well.
After upgrade to 2.2.1 (from 2.0.x), I get the following error. What
does it mean ?
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error in t
I'm not sure what you mean by 'the groupId...'. There are 20 lifecyles
and hundreds of plugins in the components.xml. The maven-help-plugin
is not mentioned.
On Tue, Sep 8, 2009 at 10:46 AM, Anders Hammar wrote:
> The error message says that there are errors in the plugin descriptor.
> What's th
The error message says that there are errors in the plugin descriptor.
What's the groupId and artifactId in the descriptor?
/Anders
On Tue, Sep 8, 2009 at 10:35, Tom Huybrechts wrote:
> I have a plugin containing a number of custom lifecycles, which has
> always worked well.
> After upgrade to 2
I'm just reading the error message. What's in the plugin descriptor of your
plugin "com.agfa.maven.plugins:maven-lifecycle-plugin:0.0.14"?
I'm not really sure what you mean by 20 lifecycles. Are you talking about
the phases? I guess you have a normal Maven plugin which is bound by default
to a life
Hello all,
At the moment I have 2 profiles in my pom.xml , which set the property
"targetEnv" to dev or prod. I've two directories (dev and prod) which
contains the different web.xml files.
For the correct usage with Jetty, I use the following property in the
Jetty plugin:
src/main/filters/${targ
Yes, this happens if the plugin gets built as one coordinate, and
deployed to the repository as another. Usually that's just a version
out of place but this seems to be more significant.
Can you inspect the META-INF/maven/plugin.xml file in the plugin JAR?
- Brett
On 08/09/2009, at 7:54 PM,
thanks for any help or suggestions on how I might make this work.
Obviously my goal is to simple keep database password out of svn and the
project.
Why do you set it in a profile at all? Your settings.xml is private to you.
Thanks. That is just the answer I was looking for actually. I w
Jim Collings wrote:
I've created a xx-weblogic module. That part was easy. Problem is that
there is no lib dir. Maven doesn't copy libs to the source tree in
accordance with the idea that they should not be in the version
control system. So the question remains... how do I get the jar from
the r
Hi all,
In one project I'm building (but not in others), I'm getting a
NullPointerException when generating the dependencies report. I do not
know why. Pasted below is the full output from mvn site. Any advice
gratefully received.
[INFO] Scanning for projects...
[INFO]
-
Hi all,
I'm a bit confused about the deployment paths used by site:deploy. I
have the following in my parent POM:
mnementh
file://M:\public_html\maven\${project.artifactId}
Now, when the parent POM's site is being generated, it puts it at
M:\public_html\maven\pare
Can you post your pom.xml?
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http:/
You could define another in your children.
Otherwise, just hard-code your parent artifactId then reference:
in Parent:
M:\public_html\maven\project-parent
Then reference your children from your Parent as:
./project-1
./project-2
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enter
Mick Knutson wrote:
You could define another in your children.
Otherwise, just hard-code your parent artifactId then reference:
I'd really like to understand why this is happening. As I see it, one of
the points of parent POMs and parameters is the ability to configure
this sort of thing in
Mick Knutson wrote:
Can you post your pom.xml?
Along with it's parent... these ones are mine, not my employer's...
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Websit
This happens because ${project.artifactId} changes as you build the parent,
then the children. Then you will always have the child DIR appended to that.
${project.artifactId}/project-1 while in project-1 is ${project.artifactId}
== project-1
Sounds like you are trying to build a multi-module docu
Mick Knutson wrote:
This happens because ${project.artifactId} changes as you build the parent,
then the children. Then you will always have the child DIR appended to that.
${project.artifactId}/project-1 while in project-1 is ${project.artifactId}
== project-1
Sounds like you are trying to bui
Your source and site plugins in your parent are under pluginManagement, but
never declared in the parent or child as a plugin. Your javadoc plugin is
however used.
Try to use a generic javadoc plugin generation first. You might have an
issue with your taglet.
---
Thank You…
Mick Knutson, Presid
Hi to all,
I would like to ensure it is impossible to upload twice the same
artifact for a given project with a given non-SNAPSHOT version and a
given repository to upload to. I checked with standard deploy plugin but
this is not done (ie. I can upload twice same version).
I checked with configura
Mick Knutson wrote:
Your source and site plugins in your parent are under pluginManagement, but
never declared in the parent or child as a plugin. Your javadoc plugin is
however used.
Try to use a generic javadoc plugin generation first. You might have an
issue with your taglet.
Taglet works
Mick Knutson wrote:
Your source and site plugins in your parent are under pluginManagement, but
never declared in the parent or child as a plugin. Your javadoc plugin is
however used.
Source plugin *was* already in the child, but I tried adding the site
plugin and it made no discernable diffe
brettporter wrote:
>
> Yes.
>
> http://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/
> http://maven.apache.org/guides/mini/guide-http-settings.html
>
> - Brett
>
> On 01/09/2009, at 12:52 AM, Costin Caraivan wrote:
>>
>> Hello,
>>
>> I know that Java has some proper
The plugin.xml seems fine:
a plugin that defines all lifecycles for custom AGFA
plugins
com.agfa.maven.plugins
maven-lifecycle-plugin
0.0.14
lifecycle
false
true
The content matches what is used in the POM and the location in the repository.
The only content of this plugin i
On Mon, 07 Sep 2009 09:06:54 -0700, Dan Tran wrote:
> For the native release process, it becomes multiple steps process
>
> 1. do release:prepare on native tree first
>
> 2. go to each platform and run mvn scm:bootstrap to build the just
> released native tag.
>Note you can use maven profile
Hi Volks,
just installed Maven with Ubuntu. After typing mvn --version I get the
following message:
Error: JAVA_HOME is not defined correctly.
We cannot execute /user/lib/jvm/java-6-sun/bin/java
And I'm pretty sure that the JAVA_HOME is correctly set in etc/bash.bashrc:
export JAVA_HOME=/us
did you try to run java -version ??
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Renta
I am trying to run maven-assembly-plugin:2.1 with my custom assembler and
I get the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] Building aviall-ws-ubl-assembly-distribution
[INFO]
[INFO] Id:
com.aviall.
Hi,
it seems, that JAVA_HOME is set correctly, at least maven complains that it
cannot run /user/lib/jvm/java-6-sun/bin/java, while it has the directory info
apparently from JAVA_HOME. What happens if you want to execute
/user/lib/jvm/java-6-sun/bin/java from the shell directly?
Andreas
> ---
Thanks for the quick response!
>did you try to run java -version ??>
Yes I tried and I get :
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
> it seems, that JAVA_HOME is set correctly, at least maven
>
> You DO need the JDK, not the JRE for some operations
>
But I've installed JDK. After executing sudo apt-get install sun-java6-jdk I
get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-jdk is already the newest version.
0 upgraded, 0 n
>
> Does maven require a JDK and you are running a JRE?
>
> I'm running a basic "stock" install of Ubuntu Jaunty and haven't had
> any problems running maven.
I've installed both JDK and JRE.
>
> On Tue, Sep 8, 2009 at 11:59 AM, Babak Shafian wrote:
> >
> > Thanks for the quick response!
>
Does maven require a JDK and you are running a JRE?
I'm running a basic "stock" install of Ubuntu Jaunty and haven't had
any problems running maven.
-Wes
On Tue, Sep 8, 2009 at 11:59 AM, Babak Shafian wrote:
>
> Thanks for the quick response!
>
>>did you try to run java -version ??>
>
> Yes I tr
Babak Shafian wrote:
Does maven require a JDK and you are running a JRE?
I'm running a basic "stock" install of Ubuntu Jaunty and haven't had
any problems running maven.
I've installed both JDK and JRE.
Which is JAVA_HOME pointing to?
Sam
On Tue, Sep 8, 2009 at 11:59 AM, Babak Shafian
> I would like to ensure it is impossible to upload twice the
> same artifact for a given project with a given non-SNAPSHOT
> version and a given repository to upload to. I checked with
> standard deploy plugin but this is not done (ie. I can upload
> twice same version).
>
> I checked with co
You DO need the JDK, not the JRE for some operations
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknuts
On Tue, Sep 8, 2009 at 6:17 AM, Arnaud Bailly wrote:
> I would like to ensure it is impossible to upload twice the same
> artifact for a given project with a given non-SNAPSHOT version and a
> given repository to upload to. I checked with standard deploy plugin but
> this is not done (ie. I can upl
i *thought* container rules applied to build environments
JDK needs to be installed to run javac and jasper-compiler
(mvn compiler:compile)
JRE needs to be installed to run the project
(mvn invoker:run -Dinvoker.test=some_project )
pls correct if i'm wrong on that rule
thanks,
Martin Gai
i) This one is correct, the groupId is the company, and possibly a
sub-department
com.mycompany
ProjectA
1.2
By default, the ProjectA-1.2.jar artifact will be created in
\ProjectA\target.
iii) How should I declare the dependency in my project B?
The groupId, artifactid, and version should be
Thanks !!! I have a last question.
What if Project B (from a third-party) is having a dependency to Project A
and project A is in a remote repository (let's assume that Project A is
published under www.mycompany.com/myprojects)?
How should the dependency in Project B to Project A be declared in
On Mon, Sep 07, 2009 at 09:32:53AM +0200, Lukas Theussl wrote:
>
> Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0
> which may lead to some classpath-confusion.
Thanks Lukas and Anders, but also site-plugin-2.1-SNAPHOT doesn't
work. I added the
https://repository.apache.org/
Run plugin from console directly
2009/9/9 rehanwmu
>
> I am using below mention plugin to install jar file in my local repo. I
> want
> to use same jar file for project dependency so that I can use its class for
> project. but the problem is maven download all dependency first then
> execute
> p
It's atypical to use the install-file goal in the build lifecycle like
this. Instead, just run it on the command line one time. The plugin
docs only show that usage pattern, at least for install-file, IIRC.
Justin
On Sep 8, 2009, at 6:28 PM, "rehanwmu" wrote:
I am using below mention plu
thanks for quick reply but I don't want to run manually. its a part of
automation
justinedelson wrote:
>
> It's atypical to use the install-file goal in the build lifecycle like
> this. Instead, just run it on the command line one time. The plugin
> docs only show that usage pattern, at leas
think about repository managers if it is just rarely modified library.
http://maven.apache.org/repository-management.html
2009/9/9 rehanwmu
>
> thanks for quick reply but I don't want to run manually. its a part of
> automation
>
> justinedelson wrote:
> >
> > It's atypical to use the install-f
I am using below mention plugin to install jar file in my local repo. I want
to use same jar file for project dependency so that I can use its class for
project. but the problem is maven download all dependency first then execute
plugin. how can slove this problem
org.apache.maven.plugins
Well, you can automate with other tools (e.g. shell scripts), but why
would you automate something that happens one time?
On Sep 8, 2009, at 6:56 PM, "rehanwmu" wrote:
thanks for quick reply but I don't want to run manually. its a part of
automation
justinedelson wrote:
It's atypical to
On 08/09/2009, at 11:28 PM, Costin Caraivan wrote:
Hello,
I get this when launching from Hudson:
Caused by:
org.codehaus.plexus.component.configurator.ComponentConfigurationException
:
Cannot find setter nor field in
org.apache.maven.wagon.providers.http.LightweightHttpWagon for
'wagonProvide
Thanks!
I don't think this is a regression as such, but a a need for an
improved error message. Putting plugins into will pass
that plugin descriptor onto *every* plugin loaded. Basically, you
shouldn't be allowed to put plugins into .
- Brett
On 08/09/2009, at 11:36 PM, Tom Huybrechts
1- How can I automate this with shell script
2- I want to automate this because I want to run tests on nightly bases. it
will check out and set up project and run tests.
justinedelson wrote:
>
> Well, you can automate with other tools (e.g. shell scripts), but why
> would you automate somethi
There was recently a discussion about this on the Nexus mailinglist. There
will be better support (and easier to configure) for this in Nexus 1.4 that
is due soon.
/Anders
On Tue, Sep 8, 2009 at 18:32, Nord, James wrote:
> > I would like to ensure it is impossible to upload twice the
> > same a
I suggest that you read Maven: The Definitive Guide book that is free:
http://www.sonatype.com/documentation/books/maven-defguide
It will give you insight in the basics of Maven. There are also examples
which visualize questions like yours.
/Anders
On Tue, Sep 8, 2009 at 20:41, UseTheFork wrote
Thanks for the answers. I already thought about using nexus management
rights as a possible solution, but was looking for a client-based
solution (ie. more along the MDEPLOY-74). I can see from
http://www.nabble.com/-deploy-plugin--Abort-deploy-when-a-target-is-present-to16329568s177.html#a16353467
Can we have absolute path or environment variable in relativePath tag in
parent tag, while inheriting pom.xml.
I tried like giving
---
/a/b/c/d
---
and
---
${env.DIR}/c/d
---
envirornment variable is set
DIR /a/b
in both upper cases relative path is not resolved, and parent pom.xml file
relativePath must contain a relative path
On Wednesday, September 9, 2009, SHAILJA wrote:
>
> Can we have absolute path or environment variable in relativePath tag in
> parent tag, while inheriting pom.xml.
>
> I tried like giving
>
> ---
> /a/b/c/d
> ---
>
>
> and
>
>
> ---
> ${env.DIR}/c/d
> --
The thing about doing this on the user side is (as always) that you can't
really be 100% sure it's taking place. Doing it on the server is safer.
Regarding Nexus and allowing the role to update the metadata file: It (the
metdata file) has to be updated when you add new artifacts. So the role of
th
I can just echo what others have pointed out, you need a internal remote
repository where you store this artifact. If you're going for automated
nightly builds your looking at a more complex set-up anyways so why not do
it right?
/Anders
On Wed, Sep 9, 2009 at 06:27, rehanwmu wrote:
>
> 1- How
57 matches
Mail list logo