Maven downloads all dependencies from remote repositories including their
related jar and pom files. For some reason, not every jar has its pom file.
In this case, Maven will try to download these pom files every time it is
running. How can I let maven skip download these pom files or download
To compile some internal linux based projects I'm looking to write a simple
compiler that creates an scons or waf build file from the compiler
configuration. I'm hoping to hook the artifacts the script creates back into
maven so that it can manage them. We have fairly simple build requirements
Hello,
unit tests we just put in src/test/java instead of src/main/java and
surefire runs them automatically in phase test. You can do a mvn
test on the command-line to run only up to and including these tests.
Integration tests - here's an example (that you can also adapt for unit
tests)
Hi!
First of all; I', pretty new to maven so sorry if I've missed the big
pictures
I'm working on a web project where we until now only have had one customer.
We have been using profiles; development, test and production. The
difference between the profiles are web service addresses,
Hi,
I use maven 2.0.7.
I wrote a *.bat file to execute maven command (and some other commands).
But when mvn script finishes, the *.bat file do not process any other
commands which follows mvn.
Any solutions to fix that?
-
Hello everybody!
Could you please explain how can I provide some specific settings for a
plugin, which would apply to any Maven project? For instance, I need to
configure the Eclipse plugin to add the project version to a generated
project, currently I need to provide each and every POM file with
Hi,
I wonder that it is possible to overwrite a already released version in the
repository by mvn install. Is there a possibility to avoid this?
Mit freundlichen Grüßen/Best regards
Johannes Hoehne
Merchandise Systems Article
MGI METRO Group Information Technology GmbH
Metro-Strasse 12,
Thanks. CALL solved the problem
Bernhard David wrote:
Hello,
I believe if you call one batch file from another you need to use CALL
- see help call if you have it. start.exe (with some parameters)
might also work. Or, if that fails, command.com /c file.bat.
Yours,
David
-Original
Hello,
I believe if you call one batch file from another you need to use CALL
- see help call if you have it. start.exe (with some parameters)
might also work. Or, if that fails, command.com /c file.bat.
Yours,
David
-Original Message-
From: Ramunas [mailto:[EMAIL PROTECTED]
Sent:
If you run maven with the option -o, it will execute in offline mode, and
will not try to download any dependency from remote repositories.
On Wed, Apr 30, 2008 at 8:02 AM, youhaodeyi [EMAIL PROTECTED] wrote:
Maven downloads all dependencies from remote repositories including their
related
Great, thank you David. I also found some related information here:
http://wiki.rodcoffin.com/index.php?title=Maven_Integration_Testing
~ T r o y ~
-Original Message-
From: Bernhard David [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 30, 2008 2:54 AM
To: Maven Users List
Subject:
Hi all. I'm getting started with Maven, have followed the site docs, and have
used
http://today.java.net/pub/a/today/2007/03/01/building-web-applications-with-maven-2.html
this great intro tutorial I found .
So, I have setup a project which has a lot of source code. I can compile it
and
Hi everybody,
If I specify in the maven-site-plugin : localesfr,en/locales (and I
create a site.xml file in french and a site_en.xml file in english)
Then the generated reports are in french, in both the french and the
english generated Web page.
If I specify localesfr,en/locales (and I create
Is there a plugin which I can use to copy a package (jar, war ...) to a
specified folder? And is it also possible to provide a name for that folder,
with a buildnumber or something like that?
This message is for the designated recipient only and may contain privileged,
proprietary, or
Benjamin Bentmann wrote:
Manos Batsis wrote:
I hate this! Someone finally agrees with me but in a misquoted email; I
never wrote that :-)
As I said, that was my fault of getting the reply header wrong, I apologize
for this confusion. I didn't want to upset you Manos.
No prob, sorry if i
Take a look at
http://maven.apache.org/articles.html
'Better builds with Maven' and 'The Definitive Maven Guide' are really good
books.
For eclipse, you may look at the m2eclipse plugin.
http://m2eclipse.sonatype.org
LieGrü,
strub
--- gezhall [EMAIL PROTECTED] schrieb:
Hi all. I'm
Le 30-avr.-08 à 13:22, [EMAIL PROTECTED] a écrit :
Is there a plugin which I can use to copy a package (jar, war ...)
to a specified folder? And is it also possible to provide a name
for that folder, with a buildnumber or something like that?
maven-assembly-plugin
I've just installed maven 2.0.9 and added the 2.0.9 Maven tasks for ant
into my ant install lib directory (ant 1.7) and now when I run my antrun
plugin it fails with the message:
Embedded error: The following error occurred while executing this line:
You can also use dependency plugin :)
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
executions
execution
idcopy/id
phaseinstall/phase
goals
I haven't tried, but I believe you could have a look at the
pluginManagement section, and add the global configuration for the
eclipse plugin in your super pom.
-Olivier
On Wed, 2008-04-30 at 11:19 +0300, Eugeny N Dzhurinsky wrote:
Hello everybody!
Could you please explain how can I provide
Hi,
I am trying to use maven eclipse plugin m2eclipse. When I run goal
deploy I get error:
Error retrieving previous build number for artifact
'installer:installer:jar': repository metadata for: 'snapshot
installer:installer:SNAPSHOT' could not be retrieved from repository:
busse-test-ripo due
I believe the Archetype 2.0-alpha-3 plugin is broken. There is a dependency
issue that goes away when I force version 2.0-alpha-2. Could somebody look
into this? In the interim I'm going to try running with a clean repo and
bypassing our internal Maven repo-proxy.
Raphaël Piéroni-5 wrote:
Hello,
I believe the usual thing to do is declare one parent pom for all
projects in your organization and put globals in there. Then, all your
poms need to declare it or one of its children as parent.
That's how we do it at elca.
Yours,
David
-Original Message-
From: Olivier Dehon
Hi,
Could you please raise a jira with
the execution trace of maven with -X
Thanks
Raphaël
2008/4/30 Clifton [EMAIL PROTECTED]:
I believe the Archetype 2.0-alpha-3 plugin is broken. There is a dependency
issue that goes away when I force version 2.0-alpha-2. Could somebody look
into
I got a few problem s to migrate some projects from maven 1 to maven 2
I have several main components to migrate.
Under every component there are other components, and each of them has a
client project, a server project and a common project.
example: project A -- project A.1 -- client, server,
I need a userid and passcode to get access to the code.
On Tue, Apr 29, 2008 at 6:59 PM, Carlos Sanchez [EMAIL PROTECTED] wrote:
the link to the code is in the slides
On Fri, Apr 25, 2008 at 7:47 AM, [EMAIL PROTECTED] wrote:
There was no sample code with the slides, so I was a little lost.
Solved by using maven-assembly-plugin, many thanks.
Le 29-avr.-08 à 16:25, Wayne Fay a écrit :
Generally, people use the assembly plugin for things of this nature.
Wayne
On 4/29/08, Arnaud Vandyck [EMAIL PROTECTED] wrote:
Hi all,
I'm new to the list but I already read some documentation
Ok, the error is actually a corrupt Velocity-1.5 pom.xml. It is being flagged
by Artifactory, our internal repo so it may not affect everybody. I'm
learning all of this off of the Artifactory mailing list.
Raphaël Piéroni-5 wrote:
Hi,
Could you please raise a jira with
the execution
Hi everybody,
I'v tried to internationalize a multimodule project, using
localesen,fr/locales as advised on
http://www.propellors.net/maven/site/guides/mini/guide-site.html
However, the modules menu in the french site does not work : assuming
there is a module named mymodule, the mymodule link
Hi,
did anyone of you every try to develop a Netbeans Rich Client Platform
application based on Maven?
Are there any repositories where the Netbeans modules are contained in?
Does anyone have a minimal pom / archetype?
Regards,
Johannes Schneider
smime.p7s
Description: S/MIME cryptographic
Some people leverage the JNDI features of their container and insert
the proper values for the environment into JNDI. Then you don't
include environment-specific values in the jar/war/ear at all.
The other trouble you run into when you are trying to build an
environment-specific package is that
Hi,
I define a MyApp.war which depends on MyApp.jar. Like
dependency
groupIdcom.mine/groupId
artifactIdMyApp/artifactId
version1.0-SNAPSHOT/version
/dependency
When I generate WAR, it runs fine in first time. In next run, it includes
two MyApp jars: one is
Try clean?
-Original Message-
From: Stanley Lee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 30, 2008 3:30 PM
To: Maven Users List
Subject: Problem with SNAPSHOT
Hi,
I define a MyApp.war which depends on MyApp.jar. Like
dependency
groupIdcom.mine/groupId
I have this defined in my pom.xml:
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
Well, I develop a bunch of modules for netbeans using maven. Not the
same as platform app but similar, but I know companies which indeed
develop platform apps.
I've created and maintain the nbm-maven-plugin.
http://mojo.codehaus.org/nbm-maven-plugin
repository:
I have at least one of my project which was defining a resource like:
resources
resource
directory${project.build.directory}/generated-resources/directory
/resource
/resources
And the files inside target/generated-resources could not be found by
Maven plugin.
Is it a known bug?
Hi,
I am trying to do something similar and need a solution to add custom
parameters that I can pass along in the command line along with the usual
parameters like -DartifactId etc. Can you please let me know how I can do
that?
Thanks in advance.
Aarthi
Raphaël wrote:
Hi, João, Ludovic
I'm not sure if fail is the right move, nor do I think warn is correct. That
is unless some other behavior is put in place. Namely, a checksum failure in
a repository should simply continue to the next repository.
Just because one repository has a corrupt artifact doesn't mean that it
should be
We are trying to get the maven build for our product working under
RedHat linux (running as a guest OS under VMWare). This build works
fine on Windows Vista and XP. But under RedHat it is causing a Java
segmentation fault. See attached log file for details.
Does anyone have any ideas about
I am trying to switch from IntelliJ to eclipse. I used the eclipse:eclipse
plugin, but then used the sonatype plugin to import an existing maven
multi-module project I have.
1st i guess i don't understand how or what eclipse is going to use to deploy
to Tomcat. Does it try to deploy exploded, or
We are trying to get the maven build for our product working under
RedHat linux (running as a guest OS under VMWare). This build works
fine on Windows Vista and XP. But under RedHat it is causing a Java
segmentation fault. See attached log file for details.
Does anyone have any ideas about
I have 2 artifacts in this project. Core and Webapp.
When I have the core project (not just the jar) as a dependancy of my
webapp, I get this error when i publish:
*Error creating zip file core.jar: duplicate entry: META-INF/persistence.xml
duplicate entry: META-INF/persistence.xml*
This situation with OpenQA's repo etc is completely unacceptable, and
it should be embarrassing for them as well.
Does anyone know someone who works there who can help change things
for the better? I know we had similar troubles with a Maven mirror a
while back until they were removed from the
Mark,
The only time I've seen a maven build trigger a JVM seg fault the problem
was due to bad server memory. It was low end hardware running CentOS and
hosted our Cruise Control install, amongst many other things. The seg faults
were intermittent.
HTH and good luck,
Doug
On Wed, Apr 30, 2008
Hi,
I'm new to maven. I have a project here called documentation, which should
only generate a xdoc site. That works fine, but now I want to add a resource
folder other than the default one. The reason is that I have images in
another folder. I want to use them in the html files. And I don't
There's an open issue for this, that maven should try to care about the
content of at least the metadata and not just take garbage. It
frequently happens to travelers when they hit a login page to a public
wifi.
-Original Message-
From: chago [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Most likely you had the MyApp.1.0-2008***.jar in the
${warSourceDirectory}/WEB-INF/lib folder prior to running the build the
second time. Maybe you ran mvn war:inplace between the two builds?
HTH,
-Olivier
On Wed, 2008-04-30 at 15:30 -0400, Stanley Lee wrote:
Hi,
I define a MyApp.war which
Did you ever figure out what was wrong here? I'm running into the same issue
now with the alpha-3 plugin.
Prystash,John wrote:
Hey Raphaël, I added the settings to my settings.xml as you described and
ran archetype:create-from-project. The POM file referenced 2.0-alpha-2.
$ mvn -P
Am I just broken? Nothing could be easier to download and set up, but
walking the QuickStart
(http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html),
I find the example simply doesn't work.
C:\russ\devset
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_04
M2=C:\Program
On Thu, May 1, 2008 at 10:44 AM, Russell Bateman [EMAIL PROTECTED] wrote:
Am I just broken? Nothing could be easier to download and set up, but
walking the QuickStart
(http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html),
I find the example simply doesn't work.
...
On Thu, May 1, 2008 at 11:00 AM, Wendy Smoak [EMAIL PROTECTED] wrote:
Creating an archetype with Maven doesn't mean it's watching to see
Should be: Creating a project from an archetype ...
--
Wendy
-
To unsubscribe,
Looks like you missed this section:
Build the Project
mvn package
The command line will print out various actions, and end with the
following:
...
[INFO]
[INFO] BUILD SUCCESSFUL
[INFO]
You're absolutely right. Somehow I missed the mvn package command in the
5-minute quick start stuff and I have no excuse for that.
Wow, this stuff works really well now. Thanks to both of you for this
answer.
Russ
Wendy Smoak wrote:
On Thu, May 1, 2008 at 11:00 AM, Wendy Smoak [EMAIL
53 matches
Mail list logo