Arnaud HERITIER wrote at Dienstag, 6. Oktober 2009 23:58:
It isn't possible actually.We do that to enforce our users to have
SNAPSHOTs version in their SVN
and this is for a good reason: If somebody change some file of the project,
but does not adjust the POM, the next build will produce an
Are there archetypes or something else out there that will differentiate
between application servers? We try to write cross platform Java and it
seems like our app server vendors are fighting us tooth and nail. I
suppose that is the reason for GlassFish but our shop isn't allowed to
use it.
Jim
Which is exactly what I ended up doing. Thanks for everybody's patience ...
Werner
Roland Asmann wrote:
Werber,
Understandable. Then add the generated folder as a sources-folder and a
resources-folder with a filter on '**/*.java'. I guess that would be the
easiest way, in case more
Hey Allan,
you might want to check out the Mojo Executor:
http://code.google.com/p/mojo-executor/
SaM
On Wed, Oct 7, 2009 at 8:01 AM, Allan Ditzel allan.dit...@gmail.com wrote:
Hi all,
What is the best accepted way for one plugin to invoke another? I can
obviously do it out of process from
On Wed, Oct 7, 2009 at 11:21 AM, Jim C. jclli...@gmail.com wrote:
Are there archetypes or something else out there that will differentiate
between application servers? We try to write cross platform Java and it
seems like our app server vendors are fighting us tooth and nail. I
suppose that
Hi,
we got stuck in assembling an assembly.
Given the situation as shown below:
|-|
| B1 |
| pom |
|-|
|-| |-|
| A1 | | A2 |
| pom | | pom |
|-|
2009/10/7 Brett Porter br...@apache.org:
On 06/10/2009, at 8:22 PM, Mark Hobson wrote:
Oh right, I hadn't seen that mentioned anywhere. So does -pl support
building the project list dynamically from subdirectories like -r
does?
Yes, though I think it requires the proper modules set up to do
Hi everyone.
I am working with ServiceMix ESB and for that i need maven configured on my
system.
I work behind a proxy so i did the proxy settings in settings.xml file in
${Maven_Home}/conf/settings.xml.
But when i run the command mvn jetty:run or for that matter mvn install for
a pom.xml file,
Hi Thanks for your reply.
I have removed the comment markings.
I think i am missing something out in configuration.
I have just modified the proxy settings.
Is there anything else i need ot modify??
Regards,
Anushree
Wayne Fay wrote:
I am new at Maven so not able to figure out the problem.
Try adding a directory./directory under fileset like below
?xml version=1.0?
assembly
...
fileSets
fileSet
directory./directory
includes
/includes
Could you please post your proxy configuration in your settings.xml?
/Anders
On Wed, Oct 7, 2009 at 12:20, anshree123 anushre...@tcs.com wrote:
Hi everyone.
I am working with ServiceMix ESB and for that i need maven configured on my
system.
I work behind a proxy so i did the proxy settings
what value i should give here
is it like maven.compile.encoding=UTF8
Lukas Theussl-4 wrote:
Setting the maven.compile.encoding property should be more useful for your
case
than maven.compile.source.
HTH,
-Lukas
Thomas Sundberg wrote:
Hi!
What happens if you remove the
The existing application uses Maven 1.0 .
Luca Li Greci wrote:
2009/9/23 rasahere rasa.still.h...@gmail.com
Hi,
I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build my
application jar i am getting some strange errors.
warning: unmappable character for encoding UTF8
rasahere wrote:
what value i should give here
Whatever your source files are encoded in.
is it like maven.compile.encoding=UTF8
I guess it's something else as the error suggests.
-Lukas
Lukas Theussl-4 wrote:
Setting the maven.compile.encoding property should be more useful
Hi Sam,
That's beautiful! Thanks!
Allan
On Tue, Oct 6, 2009 at 5:06 PM, Samuel Le Berrigaud
sleberrig...@atlassian.com wrote:
Hey Allan,
you might want to check out the Mojo Executor:
http://code.google.com/p/mojo-executor/
SaM
On Wed, Oct 7, 2009 at 8:01 AM, Allan Ditzel
All,
I have split my unit tests out into a separate project which will
eventually become a module (not there yet). I've got it mostly sorted
but I'm getting compile errors on classes that are part of the main
project which uses war packaging.
Maven doesn't seem to add the WAR's code into
Personally, I don't put ANY code in the WAR. That will definitely solve your
problem! :-)
On Wednesday 07 October 2009 16:03, Chris Bredesen wrote:
All,
I have split my unit tests out into a separate project which will
eventually become a module (not there yet). I've got it mostly sorted
Why stop there? I'll just not write ANY code. Stress-free life! :) :)
On 10/07/2009 10:13 AM, Roland Asmann wrote:
Personally, I don't put ANY code in the WAR. That will definitely solve your
problem! :-)
On Wednesday 07 October 2009 16:03, Chris Bredesen wrote:
All,
I have split my unit
Thatś not the way I meant it... Sorry if it looked that way!
When I have a WAR-project, I normally create 2 modules: 1 with the java-code
(package: JAR) and 1 with the other WAR-stuff (JSP, CSS, etc - package: WAR).
That way, I can use the code inside the JAR as a normal dependency in any and
I got your meaning and I will investigate that. I generally try to KISS
and adding a module to create a jar to go in a war kinda violates that.
But if it's the only way out of this, I'll try it.
Oddly, when I remove the packagingwar/packaging from the unit test
project's dependency list, it
Hi
I'm having a lot of trouble with the versions plugin.
I was doing a lot of tests where I deployed a lot of versions and SNAPSHOTs
into our local Nexus repo.
After the tests I deleted all these test versions from Nexus and rebuilt the
index.
However, I forgot the local repo, where
Umm... after re-reading: I don't mean that the versions plugin is the source of
trouble, but my messed up repo is!
Best regards,
Eric
-Ursprüngliche Nachricht-
Von: Lewis, Eric [mailto:eric.le...@ipi.ch]
Gesendet: Mittwoch, 7. Oktober 2009 17:17
An: Maven Users List
Betreff:
Hello everybody,
Is there anyway to configure MAVEN_OPTS from the POM file (no variable)?
For example, I want to configure Maven's memory is 768m. But I don't
want to add the MAVEN_OPTS variable in the environment. This is possible
to configure my POM? If yes, please send to me how to do
Hi,
I'm doing some research on conflict resolving between Java components.
Now I would like to use my own ConflictResolver during a Maven run. I'm
using Maven Embedder in my application and tried several ways on how to
manipulate the Plexus container to use my own ConflictResolver. I used
the
Hi
My task is to fetch the latest snapshot version of a maven artifact. How
can I do this without having to parse the maven-metadata.xml and
figuring out what the latest timestamp is?
We used to deploy snapshot artifacts with a unique identifier, so the
artifacts URL was fix and I could
If you question is - can I use a WAR file as a dependency and get the classes
inside the WAR file added to the classpath, the answer is no. This has nothing
to do with Maven - it's Java.
-Original Message-
From: Chris Bredesen [mailto:cbrede...@redhat.com]
Sent: Wednesday, October 07,
You could set it in your mvn.bat, right?
On Wed, Oct 7, 2009 at 10:14 AM, NGUYEN Cong Kinh
cong_kinh.ngu...@it-sudparis.eu wrote:
Hello everybody,
Is there anyway to configure MAVEN_OPTS from the POM file (no variable)? For
example, I want to configure Maven's memory is 768m. But I don't want
Not so much. Take Weblogic for example. You really can't deploy a
Struts2 based WAR file to it because of library conflicts. It would be
cool if I could specify somehow, somewhere that this is a Weblogic
project. Then it would always build as an ear and would include a
weblogic-application.xml
Hello Paul,
In fact, I don't want to set this. My question is that how to directly
do this in my POM?
Kinh
Paul Benedict a écrit :
You could set it in your mvn.bat, right?
On Wed, Oct 7, 2009 at 10:14 AM, NGUYEN Cong Kinh
cong_kinh.ngu...@it-sudparis.eu wrote:
Hello everybody,
Is
Nexus has a REST API that could help
http://www.sonatype.com/people/2008/11/searching-with-the-sonatype-nexus-rest-api-groovy/
2009/10/7 Beat Strasser beat.stras...@inventage.com
Hi
My task is to fetch the latest snapshot version of a maven artifact. How
can I do this without having to
You can't and you shouldn't. The POM describes a Project, not the Java
environment for Maven.
On Wed, Oct 7, 2009 at 11:07 AM, NGUYEN Cong Kinh
cong_kinh.ngu...@it-sudparis.eu wrote:
Hello Paul,
In fact, I don't want to set this. My question is that how to directly do
this in my POM?
Kinh
I believe the compiler plugin does what you want.
http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-with-memory-enhancements.html
---
Todd Thiessen
-Original Message-
From: NGUYEN Cong Kinh [mailto:cong_kinh.ngu...@it-sudparis.eu]
Sent: Wednesday, October 07,
Hello Todd,
This is other thing.
Thank you,
Kinh
Todd Thiessen a écrit :
I believe the compiler plugin does what you want.
http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-with-memory-enhancements.html
---
Todd Thiessen
-Original Message-
From: NGUYEN
No. Nor could their be, at least for the case you're describing. Maven's JVM
has already started by the time it parses the POM. For plugins which fork a new
VM, you may be able to provide these options. For example:
And the surefire plugin support this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version${maven-surefire-plugin.version}/version
configuration
forkModeonce/forkMode
Right, maven would have to fork a new vm for the project.
On Wed, Oct 7, 2009 at 10:21 AM, Edelson, Justin
justin.edel...@mtvstaff.com wrote:
No. Nor could their be, at least for the case you're describing. Maven's
JVM has already started by the time it parses the POM. For plugins which
fork
Even better is use files to put these MAVEN_OPTS definitions
in Linux env : /etc/mavenrc or $HOME/.mavenrc file
in Windows %HOMEDRIVE%%HOMEPATH%\mavenrc_pre.bat file which is usually C:\Documents
and Settings\username\mavenrc_pre.bat
With this way each Maven user can configure exact values
Do not cross post between the user and dev list.
On 2009-10-07, at 8:48 AM, Fabian Christ wrote:
Hi,
I'm doing some research on conflict resolving between Java components.
Now I would like to use my own ConflictResolver during a Maven run.
I'm
using Maven Embedder in my application and
Just so you guys know, if you use a Maven plugin to set MAVEN_OPTS, it
would only take effect if Maven spawns a child process. It will never
effect the main Maven execution.
Paul
On Wed, Oct 7, 2009 at 11:24 AM, Ivalo iv...@iki.fi wrote:
Even better is use files to put these MAVEN_OPTS
Hello,
do you plan to continue the work in the context nexus/hudson/ec2 you
kicked off and described here:
http://www.sonatype.com/people/2009/06/nexus-open-source-and-hudson-on-ec2/
E.g. are you planning to provide new Maven versions in ec2 continuously,
to add more convenience features, .. or
What maven plugin are you using?
VELO
On Tue, Oct 6, 2009 at 3:03 AM, boyetp boy...@yahoo.com wrote:
Hi All,
I hope someone can help me with my issue using Maven to compile Flex
Library
Project.
I got this following files.
the class App.as
package com.test {
public class
This makes sense. Thanks Justin.
-Chris
On 10/07/2009 11:51 AM, Edelson, Justin wrote:
If you question is - can I use a WAR file as a dependency and get the classes
inside the WAR file added to the classpath, the answer is no. This has nothing
to do with Maven - it's Java.
-Original
Is there a report (like the changes report) that the various plugins
(things like the war plugin) run?
I'm going through the process of upgrading to 2.2.1 of maven (from
2.0.9) and want to see what's actually changed versus just building and
diffing my brains out.
Hi Ben,
I'm stuck in the same problem .pls. can you share the solution for the
problem 'placing and calling scripts [ perl ] from custom ant plugin jar
file' only.
Thanks in advance.
BenTatham wrote:
For future finders of this message, see here for some solutions:
Hi ,
I'm stuck in the same problem .pls. can you share the solution for the
problem 'placing and calling scripts [ perl ] from custom ant plugin jar
file' only.
Thanks in advance.
Marcel Schutte wrote:
Hello,
I've written an ant based plugin that needs access to file based
Hi Jim
If you are not already using them, you might like to take a look at
Maven Profiles. By activating a profile, you can influence the
artifacts and resources which make up a particular build e.g.
targeting a specific appserver.
If you write a lot of web apps for deployment to different
The Sonar Team is pleased to announce the release of Sonar 1.11. The new
version brings three main functionality to the platform :
* A Components service to navigate within resources and compare them
* Addition of the branch code coverage by unit tests to complete the
coverage by line
The PDF plugin seems not able to find my site images producing this output:
[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-pdf-plugin:1.0:pdf' --
[DEBUG] (f) aggregate = true
[DEBUG] (f) docDescriptor = /shared/Java/smartweb/core/doc/site/pdf.xml
[DEBUG] (f) implementation = fo
Hi all,
I'm having some issues with Java heap space. To get around this I have added
the line MAVEN_OPTS=-Xmx128m to my mvn.bat file.
However, I would prefer to set it on a project by project basis or even on
command line. Is it possible to pass it as an argument when running mvn
...? Or can it
Hi thanks for the reply..
Here is the entire settings.xml file.
?xml version=1.0 encoding=UTF-8?
!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright
50 matches
Mail list logo