I also think as Stephen,
Having an option to specify parent with relative path will be very helpfull,
I'm sure a solution can be found to provide this functionality.
Maybe something like having both relativePath and version and give
precedence to relativePath such that if it is found, it will be
This looks to me like a bug (or at least an oversight) in the dependency
plugin. I presume this is what you are using to copy all the jars into a
directory before building your installer?
Duplicate artifactIds are not normally a problem for maven; the classpath it
builds for compiling,
Hi all,
i'm the project leader of dashboard plugin.
To release the dashboard, i must release the 2.0 JDepend plugin which is in
snapshot version ( and i'm not the project leader of this plugin), i must
correct 2 issues ( one with 1.9 cobertura problem and the new one with 2.4
surefire NPE).
On Jan 30, 2008 8:59 AM, Erez Nahir [EMAIL PROTECTED] wrote:
I also think as Stephen,
Having an option to specify parent with relative path will be very helpfull,
I'm sure a solution can be found to provide this functionality.
Maybe something like having both relativePath and version and give
the application use System.getProperty(java.class.path) to get classpath.
Rex
On Jan 30, 2008 10:46 AM, Rex Huang [EMAIL PROTECTED] wrote:
exec-maven-plugin is good, but in my case, the application also run javac
to generate jar file, and it use its classpath instead of dependency
I assume that's the case if you are with SVN (not my case, unfortunately
:-).
I thing maven should be version control agnostic, so, if the parent is
found in the relative path, use it, if not (either if the parent is not
checked out or if it is not in the path from any other reason) search the
Hi Jeff,
Thanks for this but it is something we already tried. Although that does
change the name of the
generated jar file, the name is lost when it gets placed into the maven
repository. When it gets installed,
the name reverts to ${artifactId}-${version}.jar in a directory mad from
Thanks Lee... I had a feeling this would be the case :D So I have
witten myself a perl script to go around all the poms and change the
artifactId's for all the dependancies. The joy of legacy code :)
Lee Meador wrote:
1 isn't going to work because of how Maven finds files in the repo by
exec-maven-plugin is good, but in my case, the application also run javac to
generate jar file, and it use its classpath instead of dependency
information.
I use java to run it with classpath is ok.
BR//Rex
On Jan 29, 2008 7:53 PM, Wayne Fay [EMAIL PROTECTED] wrote:
The exec-maven-plugin
your plugin is interesting, but how to add argument to run application?
BR//Rex
On Jan 29, 2008 11:16 PM, Nick Stolwijk [EMAIL PROTECTED] wrote:
I worked with the Application Assembler Plugin [1] which generates a
directory under target, with a startup script, a lib directory with all
the
Hi all,
i'm the project leader of dashboard plugin.
To release the dashboard, i must release the 2.0 JDepend plugin which is in
snapshot version ( and i'm not the project leader of this plugin), i must
correct 2 issues ( one with 1.9 cobertura problem and the new one with
2.4surefire NPE).
When
Hi,
I'm trying to use the resources plugin in order to filter the out of the
box jboss, as I wish to rename the 'all' server to a different name and
also strip out unused parts. So naturally I've added a configuration to
the pom.xml as follows:
resource
!-- just the jboss application
I fixed this by setting parent POM to mojo-3
2008/1/30, nicolas de loof [EMAIL PROTECTED]:
Hello,
I tried to deploy a mojo snapshot on codehaus repository and get strange
messages :
INFO: Redirect requested but followRedirects is disabled
... and the repository is not updated !
1. How
Hello,
I tried to deploy a mojo snapshot on codehaus repository and get strange
messages :
INFO: Redirect requested but followRedirects is disabled
... and the repository is not updated !
1. How to enable followRedirects ?
2. Why did I just get an INFO message and not a warning / error ?
If it did that, it would be marvellous :)
Simon Kitching wrote:
This looks to me like a bug (or at least an oversight) in the dependency plugin. I
presume this is what you are using to copy all the jars into a directory before building
your installer?
Duplicate artifactIds are not normally a
Yes thanks for that tip - it did not work until I declared the type in the
dependency plugin config I use to unpack it as well.
John
-Original Message-
From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED]
Sent: 29 January 2008 14:13
To: Maven Users List
Subject: Re: Make META-INF
I want to generate a war file, the dependence jar files are needed to
package in it.
and also the class files in WEB-INF\classes, I want to package it in a jar
file.
all the jar files should be put in WEB-INF\lib.
Can I make it work?
BR//Rex
Hi all,
i have a Problem in writing the Output of a Command-Execution into a Maven
Variable, so that it can be used later. I successfully have executed the
following into a maven-antrun-plugin:
-- Code Snippet
plugin
Velocity is indicated in the plugin site
in the faq IIRC.
Raphaël
2008/1/30, [EMAIL PROTECTED]
[EMAIL PROTECTED]:
Thanks for your patience and support Raphaël !
I had NO idea that the archetype descriptor is in fact a velocity template.
Since I started to read sources concerning archetype
I'd imagine that this would cause an issue when making a distribution, or a
war, also.
On Jan 30, 2008 3:42 AM, Simon Kitching [EMAIL PROTECTED] wrote:
This looks to me like a bug (or at least an oversight) in the dependency
plugin. I presume this is what you are using to copy all the jars
All Java files under src/main/java will be compiled into WEB-INF/classes in
your final war. (To be honest, all java files will be compiled to
target/classes, all resources from src/main/resources will be copied (and
filtered) to target/classes and finally target/classes will be copied to
Don't put any Java code in your WAR project, instead all code must
come from other projects that you depend on. Assuming this is true,
this is just how the WAR plugin works with default configuration.
Personally we are building EARs so I don't want my WARs loaded up with
all those JARs. Instead I
Hi,.
When I am packaging a WAR project, I am seeing the following thing happening...
[DEBUG] Processing: commons-logging-1.1.jar
[DEBUG] Duplicate found: commons-logging-1.1.jar
[DEBUG] Renamed to: commons-logging-commons-logging-1.1.jar
Any idea why this happens and how to avoid this?
I am
Looks weird.
Do you use a released version ? or the current snapshot ?
Could you load an issue in jira with a simple project which reproduce this ?
--
Olivier
2008/1/30, amit kumar [EMAIL PROTECTED]:
Hi,.
When I am packaging a WAR project, I am seeing the following thing
happening...
You can do this with a real Mojo by attaching the variable to Maven
Project. But you can't do this in a simple Antrun plugin config. So
you'll need to write some Java or Groovy etc.
Wayne
On 1/30/08, Christian Weber [EMAIL PROTECTED] wrote:
Hi all,
i have a Problem in writing the Output of a
Rex,
I think you can set archiveClasses to true if you want the WAR's class
files in a jar file:
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#archiveCl
asses
-Original Message-
From: Rex Huang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 7:40 AM
To:
Can you please point me to where I can find a listing of a plugin's
configurable properties?
For example, I wanted the war plugin to use ${basedir}/build as the output
directory (instead of the default target directory) but was unable to find
out how to do so by reading the
Sri Sankaran wrote:
Can you please point me to where I can find a listing of a plugin's
configurable properties?
For example, I wanted the war plugin to use ${basedir}/build as the output
directory (instead of the default target directory) but was unable to find
out how to do so by
D'oh! Thanks.
I just noticed that this also accessible by following the Goals link on
the nav bar.
Sri
Stefan Reuter wrote:
Sri Sankaran wrote:
Can you please point me to where I can find a listing of a plugin's
configurable properties?
For example, I wanted the war plugin to use
BTW, you can also type
mvn help:describe -DgroupId=pluginGroupId -DartifactId=pluginArtifactId
-Dversion=pluginVersion -Dfull=true
my 2c,
Erez
On Jan 30, 2008 10:07 PM, Sri Sankaran [EMAIL PROTECTED] wrote:
D'oh! Thanks.
I just noticed that this also accessible by following the Goals link
Hi Jacek,
Thanks, I checked out that trunk, and
mvn compile, everything compiles then
mvn package, I got this error:
org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.framework/geronimo-gbean-deployer/2.1-SNAPSHOT/car
failed
at
I have the following in my pom.xml:
dependency
groupIdoracle.apps/groupId
artifactIdoracle.apps.all/artifactId
version11.5.10/version
scopesystem/scope
systemPath${AF_CLASSPATH}/systemPath
/dependency
The ${AF_CLASSPATH} should evaluate the environment
If it is an environment variable it should be ${env.AF_CLASSPATH} ??
Did you try ?
Arnaud
On Jan 30, 2008 11:49 PM, 8 [EMAIL PROTECTED] wrote:
I have the following in my pom.xml:
dependency
groupIdoracle.apps/groupId
artifactIdoracle.apps.all/artifactId
Hi Arnaud,
Thanks for the info. I tried that, too. Unfortunately, that didn't work
either. Again, both ${AF_CLASSPATH} and ${env.AF_CLASSPATH} work from the
command line.
Arnaud HERITIER wrote:
If it is an environment variable it should be ${env.AF_CLASSPATH} ??
Did you try ?
Arnaud
Oops, I forgot to post the Eclipse error displayed:
Required library cannot denote external folder: 'C:\oracle\apps' for project
'MyProgram'
Obviously, c:\oracle\apps points to a class folder... hmm.
Arnaud HERITIER wrote:
If it is an environment variable it should be ${env.AF_CLASSPATH}
Can you perhaps jar up the classes in that path, and then specify the
full jar name, or even better check it into your local Maven repo
cache using install:install-file?
Wayne
On 1/30/08, 8 [EMAIL PROTECTED] wrote:
Oops, I forgot to post the Eclipse error displayed:
Required library
Hi there,
I am running maven2 and surefire plugin 2.4 to execute junit4 style
tests.
I am using spring2.5 and creating a jndiTemplate bean with the following
properties to talk to a weblogic 10 server message queue.
bean id=jndiTemplate class=org.springframework.jndi.JndiTemplate
Unfortunately, the class folder contains over 100,000 .class files (typical
Oracle fat)... and since jars can only contain 65K files, this will not
work (I'm using Java 5). I guess I can put it in two or more jar files, but
that's pretty messy. Also, that still doesn't address why this doesn't
38 matches
Mail list logo