I am writing a plugin to set the values of a given set of property key
passing in by user. However if the user set the default
values int pom.xml's properties, the plugin cant not overwrite them.
Here is the source to the mojo
http://svn.codehaus.org/mojo/trunk/mojo/build-helper-maven-plugin/src
but it does not solve the problem at target side of course.
-D
On Fri, Jul 25, 2008 at 6:58 PM, Dan Tran <[EMAIL PROTECTED]> wrote:
> This problem is at archiva side where it returns the file list with
> one entry that contains a single space. and crashes the staging
> plugin.
>
> the work around
This problem is at archiva side where it returns the file list with
one entry that contains a single space. and crashes the staging
plugin.
the work around for my case is to have httpd to host the staging.
-D
On Fri, Apr 11, 2008 at 7:48 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
> Please
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
|> 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 upl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everybody,
I am using maven and eclipse for more than five years now.
All I have to say is that bringing these two together
was crappy from the start and still is.
So far what I can tell:
1. maven-eclipse-plugin does an excellent job.
However in
Thanks Brian for the alternative. I really do like how the custom enforcer
rules work though, so I think I'm going to follow your lead with the
enforcer rules but I'm glad to know that the role hint can be overridden.
The fact that the "implementation" attribute is available out-of-the-box
with
Actually the enforcer doesn't show overriding the hint, but the
ounce-maven-plugin does exactly that. I simply take hint as a parameter
and use that in the container.lookUp() call. The trick is getting the
container to use, you need to implement Contextualizable and then the
method contextualize. T
Hello Mavenites, I am building an SVN controlled project. I have checked out
the most recent trunk and I am getting the following error condition.
Obviously, this is Weblogic related but going to BEA is a waste of time. TIA
and please advise, David.
[ERROR] BUILD ERROR
[INFO] --
Thanks Jason, that's exactly what I'm looking for.
Jason van Zyl-2 wrote:
>
> You can look at the enforcer plugin and the shade plugin for examples
> of letting users specify custom/specific implementations of components
> with their own configurations.
>
> On 24-Jul-08, at 9:50 PM, jaxzin
WE are using it during our autobuild process in Cruise Control and Maven 2.
We are running Sonar as a seperate website and process so we use both site
and sonar as both provide great information. Sonar is database based so
you can get history which is awesome and we use mysql. Site is file based
So is this going to startup my local tomcat, verse embedded tomcat for
testing? Then the local tomcat just needs to be configured with my proper
context.xml...???
---
Thank You…
Mick Knutson
BASE Logic, inc.
(415) 354-4215
Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazi
But when I go to "war:war" my client module, it's not going to find
the web.xml and all related xml files and will fail.
On Fri, Jul 25, 2008 at 10:15 AM, Manuel EVENO <[EMAIL PROTECTED]> wrote:
> You can put xml or properties file in jar too.
> Simply add them into src/main/resources of your serv
Anybody using Sonar? It's not clear to me how it works in conjunction
with something like Site or does it replace it?
==
Curtis Yanko
Application & Developer Infrastructure Services
Source->Build->Deploy
This e-mail, including attachments, may include confidential and/or
proprietary i
Mick Knutson a écrit :
I want to specify a test version of my tomcat context with my cargo plugin,
but can't seem to find anything about that on the site. Is this possible?
---
Thank You…
Mick Knutson
BASE Logic, inc.
(415) 354-4215
Website: http://baselogic.com
Blog: http://baselogic.com/blo
http://maven.apache.org/plugins/maven-assembly-plugin/
---
Thank You…
Mick Knutson
BASE Logic, inc.
(415) 354-4215
Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpa
thanks for your response,
in any level i must configure the assemply plugin
at the parent POM? at ??
do u have an exemple
thank you in advance
2008/7/25 Mick Knutson <[EMAIL PROTECTED]>:
> You need to create an assembly with the assembly plugin.
>
> ---
> Thank You…
>
> Mick Knutson
> BASE
Hi,
I have four projects under maven.
I want to be able to run "assembly:assembly" on each projects with minimum
effort.
So I had create a main project with this configuration :
...
../aaa
../zzz
../eee
../rrr
You need to create an assembly with the assembly plugin.
---
Thank You…
Mick Knutson
BASE Logic, inc.
(415) 354-4215
Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MyS
Hi all,
i have a maven projet (multimodules) with parent pom, and all sub projects
are jar's packaging with dependencies with them, now i need a way to get a
zip file witch i'll get all jars
thanks in advance
best regards
M.E
You can put xml or properties file in jar too.
Simply add them into src/main/resources of your server module
Manuel
On Fri, Jul 25, 2008 at 5:02 PM, Matt Walsh <[EMAIL PROTECTED]> wrote:
> I'm a little new to Maven (about 3 weeks), so I apologize if this is a
> n00b question. I have a question a
I'm a little new to Maven (about 3 weeks), so I apologize if this is a
n00b question. I have a question about how to better structure my
current application. Currently, the parent project has three modules:
client, server, and common. Common depends on nothing. It simply hold
beans and service inte
You mean dynamically create the properties file before packaging ?
On Fri, Jul 25, 2008 at 4:05 PM, Brewster, Richard
<[EMAIL PROTECTED]>wrote:
> The general idea is to create a properties file and package it in the
> jar or war on the classpath, so it can be read at runtime.
>
> Thanks,
>
> Rich
It most likely has to do with the changes to when the properties are resolved.
-Original Message-
From: jsoula [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2008 10:05 AM
To: Maven Users List; Maven Developers List
Subject: Re: System dependencies as dependency management
I try the
The general idea is to create a properties file and package it in the
jar or war on the classpath, so it can be read at runtime.
Thanks,
Richard Brewster
Senior Associate
Perrin Quarles Associates
[EMAIL PROTECTED]
(434) 817-2640
I trie to remove all classpath references from the surefiretmp file, that
includes all my dependencies even when useManifestOnlyJar is set to false.
I then cannot run the test anymore :
org.apache.maven.surefire.booter.SurefireExecutionException:
com/google/gwt/junit/client/GWTTestCase; nested exc
I also tried to drastically reduce the command line (removing all unecessary
dependencies) but have the same issue.
> 2008/7/25 Jeff MAURY <[EMAIL PROTECTED]>:
>
> Using false may lead to classpath
>> too long for your environment and leading to ClassNotFoundException or
>> ClassNotFoundError. Ma
Hi
When I execute mvn deploy (from continuum), The surefire reports show
that there are errors, but the execution doesn't fail :
In the output I have:
Results :
Failed tests:
Tests in error:
Tests run: 212, Failures: 24, Errors: 8, Skipped: 0
[INFO] [jar:jar]
That's strange. It show
I tried to copy/paste the command line executed by surefire :
java -Xmx256M -classpath blablablablalba
org.apache.maven.surefire.booter.SurefireBooter
C:\WINDOWS\TEMP\surefire17025tmp C:\WINDOWS\TEMP\surefire17026tmp
As surefire executes, it seems the line is not too long (evn it is very long
;-)
Using false may lead to classpath
too long for your environment and leading to ClassNotFoundException or
ClassNotFoundError. May be this is what you have ?
Jeff MAURY
On 7/25/08, nicolas de loof <[EMAIL PROTECTED]> wrote:
>
> Using false makes things work
> better, as the full classpath is scann
Using false makes things work
better, as the full classpath is scanned for java source files by the GWT
compiler, but now I get
"javax.servlet.ServletException: Class
com.google.gwt.dev.shell.GWTShellServlet is not a Servlet"
(looks like a classloader conflict)
2008/7/25 nicolas de loof <[EMAIL
Hello,
I'm trying to setup surefire plugin to run GWTTestCase. This requires some
custom setup as the "hosted mode browser" requires GWT to read the java
source code :
maven-surefire-plugin
src/it/java
src/main/java
gw
Simply declare you POM with jar packaging. It tested it and it works.
Jeff MAURY
On 7/25/08, Julien CARSIQUE <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I need to build an artifact containing only resources, no Java source.
> These resources are in scr/main/... in a project with "pom" packaging type.
Thanks Stefan,
Maven Embedder seems to be of useful to me.
And now I am successfully able to run my jboss server goals using maven
embedder.
But for more references I am not getting much of material on maven Embedder.
And at this point I am not able to decide how much stable is maven embedder to
Maybe you can use the assembly plugin
http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html
On Fri, Jul 25, 2008 at 12:03 PM, Julien CARSIQUE <[EMAIL PROTECTED]>wrote:
> Hi,
>
> I need to build an artifact containing only resources, no Java source.
> These resources are in scr/
Hi,
I need to build an artifact containing only resources, no Java source.
These resources are in scr/main/... in a project with "pom" packaging type.
I tried with maven-jar-plugin with no success, the built jar is empty of
the wanted resources :
[INFO] [jar:jar {execution: resources_common}]
Hi,
I think we have two cases that are similar: Firstly, EJBs where only
deployment descriptors are different. For this we use
+ parent
+- generic
+- specific1
+- specific2
All the sources are in generic/src/main/java.
parent has pom and
../generic/src/main/java
specific1 and 2 have src/main/
Thanks Jeff. It works!
Mariusz
Jeff MAURY wrote:
>
> Bind the maven-exec-plugin to a phase like process-resources and run maven
> against this phase --> JAR won't be produced
>
> Jeff MAURY
>
>
> On 7/25/08, syllepsa <[EMAIL PROTECTED]> wrote:
>>
>>
>> Maybe I will describe what I want to d
Bind the maven-exec-plugin to a phase like process-resources and run maven
against this phase --> JAR won't be produced
Jeff MAURY
On 7/25/08, syllepsa <[EMAIL PROTECTED]> wrote:
>
>
> Maybe I will describe what I want to do. I wrote some xslt transformation.
> My
> xml files are transformed by
Thanks, Jeff and manuel
I think i will have a look at overlays, your explainations seem to be what i
want to do.
But, is there a smarter way to do what i want, ie merge generic and specific
artifact when building the specific artifact.
Maybe I will describe what I want to do. I wrote some xslt transformation. My
xml files are transformed by two external programs. Thus I need to run these
two apps via maven-exec-plugin (and it's done). So...
1. I don't need compile sources and copy them to the target directory.
2. I don't n
Stephen Connolly-2 wrote:
>
> Alternatively, you could use pom packaging if you do not intend for your
> module to ever produce a jar
>
> On Fri, Jul 25, 2008 at 8:48 AM, Manuel EVENO <[EMAIL PROTECTED]>
> wrote:
>
>> Do you want to use an external program to create the jar ?
>> On this point
Alternatively, you could use pom packaging if you do not intend for your
module to ever produce a jar
On Fri, Jul 25, 2008 at 8:48 AM, Manuel EVENO <[EMAIL PROTECTED]>
wrote:
> Do you want to use an external program to create the jar ?
> On this point, I'm joining Jeff
>
> Otherwise, you can
You could use the resource plugin bound the the generate-sources phase and
then use the buildhelper plugin to add the generated sources to the list of
sources
On Fri, Jul 25, 2008 at 8:46 AM, Mark Derricutt <[EMAIL PROTECTED]> wrote:
> Is there anyway to filter .java code to replace variable refe
Do you want to use an external program to create the jar ?
On this point, I'm joining Jeff
Otherwise, you can target plugin goals directly by calling :
mvn exec:exec
Manuel
On Fri, Jul 25, 2008 at 9:39 AM, syllepsa <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is it possible to turn off JAR build
Is there anyway to filter .java code to replace variable references the same
was filtering resources?
I'm pretty sure I remember seeing something about it somewhere but can't
find any references to it.
Mark
--
"It is easier to optimize correct code than to correct optimized code." --
Bill Harla
I think this is a bad practice. Why do you need an external program. I think
you should look at all the maven jar plugin configuration options to make
sure the maven jar plugin cannot do what you need.
Jeff MAURY
On 7/25/08, syllepsa <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Is it possible to tur
Hi,
Is it possible to turn off JAR building? I just want to run external program
via maven-exec-plugin.
Thank you in advance
Mariusz
--
View this message in context:
http://www.nabble.com/How-to-skip-JAR-creation-tp18646725p18646725.html
Sent from the Maven - Users mailing list archive at N
I'm not sure to complete understand your needs but I think using war
overlays
may fill your needs :
http://maven.apache.org/plugins/maven-war-plugin/overlays.html
Create one war with the common stuff
Create another with the specific stuff war and with a dependency of type war
to the common war.
It
48 matches
Mail list logo