Hi All,
I am getting following error while using mvn install though mvn package is
working fine.
I did entire cleanup, restarted machine too.
What could be the possible reasons ?
[INFO]
[ERROR] FATAL ERROR
[INFO]
JINDAL, Mukta, IDC schrieb:
Hi All,
Hi,
I am getting following error while using mvn install though mvn package is
working fine.
Judging from the stacktrace below you ran 'mvn deploy', not 'mvn
install' (see the reference to the deploy mojo). As the deploy phase is
executed after the
Thanks for the reply, Tim.
I am executing mvn install, not mvn deploy.
Also, I tried using scpext, but got following error:
[INFO]
[ERROR] BUILD ERROR
[INFO]
Hi Dan,
Dan Tran wrote:
correction, there is no GNU license type, but LGPL, however the
question still valid.
On Tue, Jun 3, 2008 at 5:30 PM, Dan Tran [EMAIL PROTECTED] wrote:
Hello every thing,
I am about make a bundle request to upload izpack's
standalone-compiler.jar to repo.
JINDAL, Mukta, IDC schrieb:
Thanks for the reply, Tim.
I am executing mvn install, not mvn deploy.
Also, I tried using scpext, but got following error:
[INFO]
[ERROR] BUILD ERROR
[INFO]
JINDAL, Mukta, IDC schrieb:
Thanks for the reply, Tim.
I am executing mvn install, not mvn deploy.
But 'mvn install' should only install the project's artifact in your
local repository (~/.m2/repository/...) and not try to deploy it to a
remote repo. Or have you configured the deploy plugin
I am using the same POM from SVN as my other team members.
All of them are able to do mvn install with the same settings as mine.
Thats why I'm more concerned...
Regards,
Mukta Jindal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 June 2008 13:03
To: Maven
JINDAL, Mukta, IDC schrieb:
I am using the same POM from SVN as my other team members.
All of them are able to do mvn install with the same settings as mine.
Thats why I'm more concerned...
Are they getting the deploy message? If so, then their config is also
stuffed up, but they haven't
But 'mvn install' should only install the project's artifact in your local
repository (~/.m2/repository/...) and not try to deploy it to a remote repo.
Or have you configured the deploy plugin in yor pom to run in the install
phase, which IMHO would be a bad practice?
How can I check
Hello,
I'm using the PDE plug-in 1.0-alpha-1, in order to create the final zip of
an Eclipse 3.3.1.1 RCP project.
It works fine, and there is no error, but the generated zip doesn't contain
the executable. It only contains the plug-ins and features folders and the
.eclipseproduct file.
Can you
Everyone gets [deploy:deploy] message for the first project only.
For rest, only [install:install] is there and the jars are uploaded into local
repository only.
Regards,
Mukta Jindal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04 June 2008 13:11
To:
JINDAL, Mukta, IDC schrieb:
But 'mvn install' should only install the project's artifact in your local repository
(~/.m2/repository/...) and not try to deploy it to a remote repo. Or have
you configured the deploy plugin in yor pom to run in the install phase, which IMHO
would be a bad
Found the culprit - I have various multiple projects in my trunk.
One of the POMs had following entry due to which it was trying to deploy
alongwith install:
build
plugins
plugin
Hello,
looks interesting. Are there any comments or recommendations from the Maven
Team?
Thanks for sharing.
Kuno
-Ursprüngliche Nachricht-
Von: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 3. Juni 2008 19:31
An: Maven Users List
Betreff: Tip about Skinny Wars
Hi all,
i'm wondering if the solution would render the war-path plugin
obsolete? it's causing trouble in embedded use.
http://issues.appfuse.org/browse/APF-645
Milos
On 6/3/08, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi all,
I would like to share with you a workaround I found for the problem of
Hi Mirko,
did you find a solution?
I´m also using maven-eclipse-plugin, version 2.4 having the same
problem
The test-sources.jar isn´t generated into the .classpath files
Thanx, Torsten
Imho this is a very good solution if your WAR really is a very skinny one, ie
has no content in WEB-INF/lib and WEB-INF/classes AND you like to have all the
jars in your EAR (common libs for all WARs) rather than in the single WAR.
If one of the WARs does contain libs, you may end up with
Not totally.
It can fix : Automatically inherit transitive dependencies from the war
artifact (the default Maven behaviour is not to inherit transitively from
war dependencies).
But not : Develop with classes included in the war artifact /WEB-INF/classes
directory by including them in the project
Hi,
I'm trying to integrate a checkstyle report in a maven project, but I'm
facing a problem. The checkstyle report is based on a custom checkstyle
check module I developed.
I'm using maven 2.0.9, maven-checkstyle-plugin 2.1, and checkstyle 4.3
When I execute mvn checkstyle:checkstyle or mvn
Hi folks,
this is more or less a follow up to MECLIPSE-120 and MECLIPSE-344.
Situation: Most projects reference released artifacts, but I want Eclipse to
link the projects that are available in the workspace anyway. Reasons to do so
are explained in MECLIPSE-120, solution was proposed in
Please specify which version of maven u are using. Please send me ur POM.xml.
Also specify ur settings related to settings.xml in .m2 folder.
Thanks
Vikramaditya Garg
STS
BCM_ÆDGE(RBS)
http://wiki/BCMX/ADGE
Infosys Technologies Ltd
-Original Message-
From: JINDAL, Mukta, IDC
Thanks Vikramaditya, I have got this issue resolved.
Regards,
Mukta Jindal
-Original Message-
From: Vikramaditya Garg [mailto:[EMAIL PROTECTED]
Sent: 04 June 2008 16:15
To: Maven Users List
Subject: RE: Need help | Getting NPE while using mvn install
Please specify which version of
FWIW, I used a slightly different approach in the cargo uberwar plugin
(which generates a War-of-Wars). I made it look at the WAR
dependencies, and create a 'phantom' pom projects in the repository,
which can then be passed to the normal maven dependency
reconciliation framework to work out what
Hi,
I have a file config.xml that should be alongside its corresponding
(TestCase) class file when the tests are run.
Source is like this:
src/test/java/com/example/db/config.xml
src/test/java/com/example/db/MyTest.java (expects to find config.xml
in same package)
I tried adding this
In POM we have a version number of the project as
version1.4/version
Instead of hardcoding it each time I take a new build, I would like to
replace it with the one entered by the user when he takes a buld using
maven. I want the user to enter the version number, which will be used
placed in
Hi!
On Wednesday 04 June 2008 Derek Alexander wrote:
I have a file config.xml that should be alongside its corresponding
(TestCase) class file when the tests are run.
Source is like this:
src/test/java/com/example/db/config.xml
src/test/java/com/example/db/MyTest.java (expects to
Derek Alexander schrieb:
Hi,
I have a file config.xml that should be alongside its corresponding
(TestCase) class file when the tests are run.
Source is like this:
src/test/java/com/example/db/config.xml
src/test/java/com/example/db/MyTest.java (expects to find config.xml
in same
In POM we have a version number of the project as
version1.4/version
Instead of hardcoding it each time I take a new build, I would like to
replace it with the one entered by the user when he takes a buld using
maven. I want the user to enter the version number, which will be used
placed in
Niranjan Deshpande schrieb:
In POM we have a version number of the project as
version1.4/version
Instead of hardcoding it each time I take a new build, I would like to
replace it with the one entered by the user when he takes a buld using
maven. I want the user to enter the version number,
Can you expand on this or is there an example of this some where?
We ARE in ear/war land though...
-Original Message-
From: Dave Feltenberger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2008 11:43 PM
To: Maven Users List
Subject: Re: Building for different environments - how do
That was quick! Thanks for both your replies.
I have a related question. This isn't really a unit test but rather an
integration test - hence the need for a config file.
Is there a maven way to organise different types of tests. Currently I
have src/test/... what I'd really like is:
Hello,
Although my personal option is that you should have 1 build for all your
environments and configure all environment specific issues within that
environment (using JNDI or config.properties), there are other options.
On SpringONE'07 Joris Kuipers gave a presentation about this topic.
Some
Maybe i missed the point, or you did.
The usual behaviour is to always have a SNAPSHOT version in your SCM
e.g. version1.4-SNAPSHOT/version
If you make a build, you simply use the maven-release-plugin
$mvn release:prepare
this will
.) ask you the release-version which will default to 1.4 and
Here in the company I'm working for I created the model allowing to us
to be flexible across environments settings.
If in short then:
1. We produce every time only single general artifact and not
environment specific, let's say war file.
2. Then we need to deploy it on different environments and
Right, we're doing the same exact thing. Initially, we'd build a zip
containing the vanilla ear/war combo, then generate a zip containing all
the processed resources PER machine (as the appserver config has to be
different here per app server).
So that was very time consuming, so what I did was
I made additional tests and I found that it is another side effect of the
usage of the enforcer plugin (build from trunk rev 651824).
:-(
I will have a look at its code to see if this bug of the enforcer plugin can
become a feature in the war plugin ;-)
Arnaud
On Tue, Jun 3, 2008 at 7:31 PM,
Hi All,
I'm getting NoClassDefFoundError, when I run mvn site:site or mvn
cobertura:cobertura.
java.lang.NoClassDefFoundError: org/apache/log4j/Category
at
org.codehaus.mojo.cobertura.tasks.CommandLineArguments.getCommandsFile(CommandLineArguments.java:71)
at
I have configuration inheritance mechanism allowing to specify the
setting as environment one and use it across different applications
using variable pointing to the specified before setting, so when you
need to change database url you need to change only in one place and
during customization
How do you do the inheritance though, that's the part I'm missing.
-Original Message-
From: Artamonov, Juri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2008 9:42 AM
To: Maven Users List
Subject: RE: Building for different environments - how do _you_ do it?
I have configuration
Hi Arnaud!
The maven-war-plugin already has a similar mechanism with
attachClassestrue/attachClasses, but this hasn't yet been released.
As I wrote in my previous mail: see MWAR-131 (and partly obsolete MWAR-73) for
further details.
This workaround should also work in conjunction with the
Any thoughts on resolving in project dependencies through Ant via the Maven
Ant artifact:dependency task as part of a release?
Clifton wrote:
I'm having a huge problem this morning using the Maven ant tasks in a
multi-module project that we're trying to release this morning. We use the
On Wednesday 04 June 2008 Derek Alexander wrote:
I have a related question. This isn't really a unit test but rather an
integration test - hence the need for a config file.
Is there a maven way to organise different types of tests. Currently I
have src/test/... what I'd really like is:
I think it is not the same problem.
MWAR-131 is about to reuse classes defined in a war.
attachClasses will generate a secondary artifact that we'll be able to reuse
as dependency in another project.
The problem for skinny WARs is that EARs didn't package WARs transitive
dependencies.
It's not
My colleague Sigi Goeschl wrote a comment on how we solved a very similar
problem back in early 2007:
http://www.nabble.com/Re:-What-is-the-Best-practice-for-generating-variations-of-an-artifacts--p9519069s177.html
LieGrü,
strub
--- EJ Ciramella [EMAIL PROTECTED] schrieb am Mi, 4.6.2008:
That seems much closer to our situation, but I'm still confused - if project-A
and project-B live in two different branches (and are clearly different
projects), where do you store this configuration? We're leaning toward a
separate configuration only project. So when project-A branches for
Hi,
I have installed the 2.0.9 version of Maven on my PC running on windows XP.I
tried to install some plugins using the command maven plugin:download..It
gives me an error maven is not recognized as an internal or external command.
There is no executable called maven in the bin,only
maven is maven 1.x command line
maven2 uses mvn, and your PATH system property must be set to include
MAVEN_HOME/bin
Please review your installation according to
http://maven.apache.org/download.html#Installation
Nico.
2008/6/4 Kalyana Krishnan [EMAIL PROTECTED]:
Hi,
I have installed the
I am currently using AppFuse's warpath plug-in to compile many (7 modules) of
jars and wars together. I have three war files compiling into each other
successfully using this plug-in. From the command line, using Maven, I
have no problem compiling my project. In Netbeans, if I use the
Also, much of this is viewed as, I have an appserver that I need many
configurations for, my issue is not just that, but also I have a other
server that needs the same (or similar) configuration as that appserver in a
different branch, how do I share this info.
I can't use profiles.xml as then
Hi,
I am re-factoring a legacy web services app as a Maven project which is now
complete apart from one obstacle. I am using placeholders for any variations
relating to local, live and dev use. These are defined as properties
within each relevant profile in the pom.xml.
All are resolving fine,
My application needs the Tag and Taglets class when it is compiled.
These classes are provided in JDKs tools.jar file.
Since this has not been configured in my POM, I am getting this error:
package com.sun.tools.doclets does not exist
How do i add this dependecny to the POM? AS per my
Seems like this was touched upon in the discussion on Tip about Skinny
Wars. Sorry I didn't see that first. Seems like there may not be a good
solution until at least 2.1 comes out.
-
JohnE
http://www.jobbank.com jobbank.com
--
View this message in context:
Hi Arnaud,
Arnaud HERITIER wrote:
I think it is not the same problem.
MWAR-131 is about to reuse classes defined in a war.
attachClasses will generate a secondary artifact that we'll be able
to reuse as dependency in another project.
Yes, this other project might be the ear ...
The problem
Please, don't send twice.
http://maven.apache.org/users/getting-help.html
Specifically, read the references
Cheers,
Vincent
2008/6/4, Niranjan Deshpande [EMAIL PROTECTED]:
My application needs the Tag and Taglets class when it is compiled.
These classes are provided in JDKs tools.jar file.
Hi, I'm completely new to maven and just trying out the Maven in 5
Minutes but not getting very far.
When I try to create a new project I get the exception below; my
machine has unimpeded access to the internet so the issue is not
firewall related.
I'd appreciate some suggestions.
[EMAIL
ok I didn't think about that.
It can be a usable workaround.
Thx
Arnaud
On Wed, Jun 4, 2008 at 6:08 PM, Jörg Schaible
[EMAIL PROTECTED] wrote:
Hi Arnaud,
Arnaud HERITIER wrote:
I think it is not the same problem.
MWAR-131 is about to reuse classes defined in a war.
attachClasses will
Also, much of this is viewed as, I have an appserver
that I need many configurations for,
Nope, it's more like:
we have _many_ app servers (local development boxes, internal dev testing
boxes, staging boxes, demo boxes, production boxes) and each of them needs
special settings (like e.g.
I use something similar in our company.
For each project I have a central set of resource files, and one file
for each environment. Those are merged during deployment.
I use maven to build a generic war file, as the resources are left
separately in the webserver.
Using anthill, we get get war
I think my comment is misinterpreted, think about this if you had an ear file
then an admin interface as a separate deployable unit - both would need to
connect to the database, both live as separate projects (as you don't
necessarily have to build both per release).
Where is that
That's where we're headed as well. It's just a stumbling point now
where a developer has a setting in settings.xml that needs to be applied
to all stacks (or viceversa). It's a bummer to have this setting in
both settings.xml AND a property file.
If we could override filter files (which we may
Hi guys,
I have develop my on plugin for compiling flex with maven (
http://blog.flex-mojos.info/).
Flex is different from Java in several ways. One of this ways are related
to libraries scopes.
Was need to add other scopes in order to compile flex. Now I need to
customize maven dependency
Can you just try it again? Then go delete ~/.m2/repository and try yet again?
I'm not sure how many (if any) people are using Maven on FreeBSD, so
you may have run into a new issue.
Wayne
On Wed, Jun 4, 2008 at 11:19 AM, Gianni Doe [EMAIL PROTECTED] wrote:
Hi, I'm completely new to maven and
On Wed, Jun 4, 2008 at 11:19 AM, Gianni Doe [EMAIL PROTECTED] wrote:
Hi, I'm completely new to maven and just trying out the Maven in 5
Minutes
but not getting very far.
When I try to create a new project I get the exception below; my
machine has
unimpeded access to the internet so the issue
Hi,
I have a datasource XML file that is deployed to jboss deploy directory. Is
there a possibility for maven2 to apply filtering capabilities on my datasource
XML file without having it copied to the target directory and packaged with
within my artifact ? Id like to filter the XML file and
I use this in my pom:
filters
filter${filter.file}/filter
/filters
then this in my settings.xml:
filter.fileC:/opt/baselogic/src/main/filters/filter-local.properties/filter.file
Then I assume you can point the filter.file to anywhere on the machine for
building.
Could you display the full error in plain text?
Molte Grazie,
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and
On 04/giu/08, at 20:25, Martin Gainty wrote:
Could you display the full error in plain text?
Molte Grazie,
Martin
Not sure what you mean, I did display the full error in my original
message, is there something else I can provide?
[EMAIL PROTECTED]:/data/Projects$ mvn -X archetype:create -
Hi Mick,
The problem is not with my filter file, its with the fact that the resources
filtering is coupled with the copy to target dir. I cannot just ask to filter
and copy to a custom location; it has to be copied to the target dir.
The workaround I was looking at is have a separate project
I think realistically you need to start a new thread that says Is
anyone else using Maven on FreeBSD.
If you get no responses, you can probably assume that you're the
one, and thus this is probably a bug that no one else has seen yet.
If you get a lot of responses, then you can talk to those
I'm pretty sure there are lots of people using Maven on FreeBSD,
there's a maven port, lots of results googling for maven+freebsd and
also it's mentioned in Maven The Definitive Guide (http://www.sonatype.com/book/
).
-Gianni
On 04/giu/08, at 21:13, Wayne Fay wrote:
I think realistically
The problem:
I have resources OUTSIDE the jar like config files
that have to be edited by the user and resources IN
the jar, so that the user cannot accidently delete
or willingly replace them. Images, for example.
Using those in a (SWT-)class would look like:
Image img01 = new
I hear you, but I'm not so sure. You are one of the first people to
mention FreeBSD on this list -- check the archives. There have been
only 6 email threads with the word FreeBSD in them since early 2006. I
call that a seriously small minority as compared to the tens of
thousands of messages we've
The Checkstyle plugin version 2.1 uses Checkstyle 4.1. So you can't use
stuff from Checkstyle 4.3 in your Checkstyle configuration.
Version 2.2 of the plugin, which is being released as we speak, uses
Checkstyle 4.4. Start by giving that version a try.
Julien Simon wrote:
Hi,
I'm trying to
I am trying to write an ant script to automate some maven tasks and hopefully
decide not to rebuild the entire thing if it detects no changes. Just to
give an idea I am working with Jasig CAS Server which has several modules
all which are Maven projects. The build time is brutal on this beast
The Maven team is pleased to announce the release of Maven Checkstyle
Plugin, version 2.2.
The Checkstyle plugin generates a report regarding the code style used
by the developers. For more information about Checkstyle, see
http://checkstyle.sourceforge.net/
*Downloading:
http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom
Downloading:
http://208.96.48.200:8080/archiva/repository/internal//com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom
Downloading:
Hi,
I'm trying to deploy a snapshot jar to a remote repository. I followed
the instructions given here:
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
external.html
However, when I execute mvn deploy, I get the following error:
[INFO] [deploy:deploy]
[INFO] Retrieving
Those poms don't exist on the 3 links you've provided.
Are you sure they're in your repository? Or just an assumption?
Wayne
On Wed, Jun 4, 2008 at 5:03 PM, Mick Knutson [EMAIL PROTECTED] wrote:
*Downloading:
http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.6/jaxb-xjc-2.1.6.pom
The stack trace says very clearly:
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)
So, what does ssh2 -V say?
Wayne
On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
[EMAIL PROTECTED] wrote:
Hi,
on XP, I use that command adn get:
*C:\opt\baselogicssh2 -V
'ssh2' is not recognized as an internal or external command,
operable program or batch file.
C:\opt\baselogicssh -V
'ssh' is not recognized as an internal or external command,
operable program or batch file.
C:\opt\baselogic
*
Then
I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connecting? (yes/no):
I have create a ppk and key from putty, and have added
When I am at the command line, I use:
*pscp site-deploy.bat [EMAIL PROTECTED]:
*
I get the password prompt, and when adding the same password, the file is
put on the server under the admin's home directory.
On Wed, Jun 4, 2008 at 5:52 PM, Mick Knutson [EMAIL PROTECTED] wrote:
I keep
Mark Struberg [EMAIL PROTECTED] wrote on 04/06/2008 22:53:35:
Maybe i missed the point, or you did.
The usual behaviour is to always have a SNAPSHOT version in your SCM
e.g. version1.4-SNAPSHOT/version
If you make a build, you simply use the maven-release-plugin
$mvn release:prepare
Hi,
googling hints that it's a bug in the java sdk on freebsd. There is a
similar bug report like yours for freebsd 6 posted for IDEA [1] which
says that IPv6 support in the jdk is the problem. This [2] is another
bug report of the same problem with the solution to set the JAVAVM_OPTS
like
84 matches
Mail list logo