Hello !
I'm having a strange error when compiling a maven project (with
"maven install"). On my own computer everything works fine, but on a
second computer, the build fails : maven tells me that it doesnt have
the war plugin.
I tried to delete all plugins on the first computer, and it downl
Hi
You could try using Nabble:
http://www.nabble.com/Maven---Users-f178.html
Patrick
On 20/02/07, Kevan Dunsmore <[EMAIL PROTECTED]> wrote:
Has something changed on the Maven Users Archive Page? I can see the
page at
http://www.mail-archive.com/users%40maven.apache.org/
But when I try to searc
Also have a look at the 'new' and 'invoke' tags:
http://jakarta.apache.org/commons/jelly/tags.html
HTH,
-Lukas
Jiaqi Guo wrote:
Hi David,
Is what you need?
http://jakarta.apache.org/commons/jelly/tags.html#core:useBean
Regards
-Jiaqi
Karr, David wrote:
I have a modified version of the
First is a Mojo plugin for Maven2. See more here:
http://mojo.codehaus.org/castor-maven-plugin/
Second is an old Maven1 plugin. See more here:
http://maven.apache.org/maven-1.x/plugins/castor/
Wayne
On 2/21/07, EJ Ciramella <[EMAIL PROTECTED]> wrote:
org.codehaus.mojo
castor-maven-plugin
I was just using this earlier to look for some artifacts... its a nice tool!
In the future, please put [ANN] at the beginning of your email
subject. The developers for Proximity and other Maven-related projects
already do this.
Wayne
On 2/21/07, Lukas Krecan <[EMAIL PROTECTED]> wrote:
New vers
org.codehaus.mojo
castor-maven-plugin
and
maven
maven-castor-plugin
I don't use this plugin myself, but I googled and found this. Perhaps
you're running into the same problem -- Tomcat still has a lock on
some Jar, so undeploy fails, so redeploy fails, but Tomcat doesn't
really report the error properly?
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/
Is there anyway to run equivalent of Ant's xmlvalidate target
as a part of verify stage of Maven's build lifecycle? I'd prefer
not to run ant through Maven. The verifier plugin seems more
about verifying the existance of files and directories in the generated
artifact (And the FAQ of the verifier
OK, I understand - it was not an Archiva problem - but Maven Problem.
Solution provided here
http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With+WebDAV(with
placing required libraries into maven lib) helped me.
2007/2/21, Alexey Kakunin <[EMAIL PROTECTED]>:
Hello. Thank y
New version of m2-repoindex was recently released. Do you need to search
artifacts by name? Do you need to find corresponding artifact to your
jar? Then m2-repoindex is for you. Do not hesitate to check it on
http://m2-repoindex.krecan.net/
Cheers
Lukas
---
Hello. Thank you for suggestion - I tried to use -Durl=dav:
http://my.server.com:8091/archiva/repository/xxx/ but got error:
[INFO] [deploy:deploy-file]
[INFO]
[ERROR] BUILD ERROR
[INFO]
Hi David,
Is what you need?
http://jakarta.apache.org/commons/jelly/tags.html#core:useBean
Regards
-Jiaqi
Karr, David wrote:
I have a modified version of the Castor plugin that enables some Castor
features not available through the default plugin. In this plugin, I
use "ant:java" to execute
The classpath of project belongs to project, not plugin. While I believe
you can create you own ClassLoader based on
project.getXClasspathElements() and find resources from there.
I used to have a small Mojo running something with project's classpath
http://fisheye3.cenqua.com/browse/cyclop
Hello!
I'm using Maven 2.0.4 (seems this error repeats with 2.0.5 as well) under
both - Windows and Linux.
I'm trying to redeploy application from maven, for doing it I added tomcat
plugin (http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html) into
project:
org
I added the suggested fix in
http://jira.codehaus.org/browse/MOJO-619
you will need to use the already deployed 1.1-SNAPSHOT, and shutdown derby
dabase before running your test.
see this
http://svn.codehaus.org/mojo/trunk/mojo/sql-maven-plugin/src/it/derby
for detailed example
-D
On 2/20/0
It is confirmed that sql-maven-plugin locks the embeded database and prevent
other java tests to run, please file a JIRA.
I am able to reproduce it via an integration test case.
-D
On 2/20/07, Dan Tran <[EMAIL PROTECTED]> wrote:
It sounds like your test case does not try to recreate database
It sounds like your test case does not try to recreate database again.
-D
On 2/20/07, bkbonner <[EMAIL PROTECTED]> wrote:
I'm trying to use the sql-maven-plugin with derby.
My pom is as follows:
org.apache.maven.plugins
maven-sure
Is anyone using this?
I have a child node that people would like to convert from an ant based
castor generated build to a m2 build.
I have this:
org.codehaus.mojo
castor-maven-plugin
1.0
generate-sources
I have a modified version of the Castor plugin that enables some Castor
features not available through the default plugin. In this plugin, I
use "ant:java" to execute the "main" method of the class. I've been
told that in order to access other features that I'm going to need, I
instead have to cr
Hi,
I'm wrapping some existing code in a maven plugin. What I'd like to
do is make the module's resources available to the plugin. So for
example, there is a properties file in src/main/resources. When the
code my plugin wraps looks up the properties file, it should find it
via the classpath.
If no one has a fix for this, how does one delete a directory created
outside of the working directory?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 6:18 PM
To: Maven Users List
Subject: RE: I just don't understand
Hmmm - I'm running "
Hmmm - I'm running "mvn clean" yet it tries to download snap shot type
dependencies that wouldn't be available.
This is a bug in the antrun plugin I think:
maven-antrun-plugin
assembler
package
More directly: http://incubator.apache.org/nmaven/
On 21/02/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
http://maven.apache.org/proposals/incubator/nmaven.html
Wayne
On 2/20/07, Brad O'Hearne <[EMAIL PROTECTED]> wrote:
> All,
>
> We have a development environment (product) which involves both Jav
It should definitely not create it - please file an issue.
On 21/02/07, Eric Redmond <[EMAIL PROTECTED]> wrote:
That is and isn't a bug. It is a bug insomuch that it is not expected
behavior - it isn't a bug because you told Maven to create it. Maven (fairly
universally) uses the Java convention
That is and isn't a bug. It is a bug insomuch that it is not expected
behavior - it isn't a bug because you told Maven to create it. Maven (fairly
universally) uses the Java convention: when you give an absolute path, it'll
use it, otherwise, it's relative.
If you are running windows that means y
Use the jboss-packaging-maven-plugin plugin.
You can add an extesion in the build element, as per the POM documentation:
http://maven.apache.org/pom.html#Extensions
You would be something like:
...
org.codehaus.mojo
jboss-packaging-maven-plugin
2.0-SNAPSHOT
You might not like it, but the first phase of any Maven build is
"validate". According to the documentation, this phase is responsible
to "validate the project is correct and all necessary information is
available".
The primary thing validated is that any artifacts required during a
later phase o
Any idea what this error means,
The command I executed is,
$ mvn org.codehaus.mojo:jboss-sar-maven-plugin:sar
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error in the plugin manager executing goal
'org.codehaus.mojo:jboss-s
Has something changed on the Maven Users Archive Page? I can see the
page at
http://www.mail-archive.com/users%40maven.apache.org/
But when I try to search for something I always get a page saying "Not
Found: The document you were looking for was not found". It's a
site-generated page, not
You can use maven in offline mode if you don't want it to connect to the
internet to fetch or update a dependency, just use -o parameter, otherwise
maven will try and connect to the internet to update snapshots as often as
specified in your snapshots update policy.
Bashar
-Original Messag
When you do something like "mvn clean" why would it try to download
compile time dependencies?
We have something like this:
lty
lty-model
1.0-SNAPSHOT
lty
lty-utils
1.0-SNAPSHOT
lty
crypto
1.0-SNAPSHOT
commons-lang
commons-lang
I'm trying to use the sql-maven-plugin with derby.
My pom is as follows:
org.apache.maven.plugins
maven-surefire-plugin
false
I don't disagree that this is probably a solution for his problem, but
I do feel it is reasonable to expect that such files will end up in
all artifact packages (compiled jar, source, javadoc), and so I
believe this should be filed as a bug.
Wayne
On 2/20/07, Daniel Kulp <[EMAIL PROTECTED]> wrot
the only way to prevent maven from asking thousand times for a password is to
use publik key auth for ssh. neither creating .ssh in homedirectory nor set
server informations in ~/.m2/settings.xml helped.
during testing i encountered another problem ... the filepermissions which
are set in setting
On Tuesday 20 February 2007 15:11, Wayne Fay wrote:
> I don't disagree that this is probably a solution for his problem, but
> I do feel it is reasonable to expect that such files will end up in
> all artifact packages (compiled jar, source, javadoc), and so I
> believe this should be filed as a bu
Matthias,
On Tuesday 20 February 2007 04:37, Matthias Wessendorf wrote:
> I have the following files:
> -notice.txt
> -license.txt
>
> inside of:
> $PROJECT/src/main/resources/META-INF
>
> They are in the meta-inf folder of the -sources JAR, but not inside
> the -javadoc jar
> Any ideas ?
One op
AFAIK it's already in JIRA : http://jira.codehaus.org/browse/WAGONFTP-10
On 2/20/07, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote:
<>
<<>
Can't even get my grammar right. :(
~Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Roland Asmann skrev:
Hi,
I want to write an APT document, split over several files. The reason for this
is that a part of the APT will be generated during the maven build.
The APT mini-guide says it is possible, but doesn't really say how to do this.
Could anybody give me some more explanatio
Just a follow up. I have contacted the guys who wrote the article and
it looks like they want to collaborate so hopefully we will integrate
their code so now you're just back to option 1) below :-)
Jason.
On 20 Feb 07, at 12:08 PM 20 Feb 07, Jason van Zyl wrote:
There are two solutions th
I believe the new plugin maven-remote-resources-plugin is what you're
looking for...
http://maven.apache.org/plugins/maven-remote-resources-plugin/
Wayne
On 2/20/07, Navaneeth Krishnan <[EMAIL PROTECTED]> wrote:
Hi all,
I read that Maven 2.0.5 supports the insertion of licenses and legal
not
Sounds like a bug in the Javadoc plugin. If you want it resolved, you
should probably file a new JIRA issue against M2 Javadoc.
Wayne
On 2/20/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Hi,
I have the following files:
-notice.txt
-license.txt
inside of:
$PROJECT/src/main/resources/META
http://maven.apache.org/proposals/incubator/nmaven.html
Wayne
On 2/20/07, Brad O'Hearne <[EMAIL PROTECTED]> wrote:
All,
We have a development environment (product) which involves both Java
artifacts and .NET artifacts. Has anyone out there used maven for
managing .NET projects? We are using ma
I am using Java 1.4.x, Maven 1.x, and Eclipse 3.0.1. The specific
problem involves java code that references the Node Class which is
located in both the JDK 1.4.x and xmlpack.jar. Both locations use the
same path (org.w3c.dom). However, the java code calls a method that
exist in xmlpack.jar but
Hi all,
I read that Maven 2.0.5 supports the insertion of licenses and legal
notices in generated artifacts.
http://www.theserverside.com/news/thread.tss?thread_id=44285
Could someone tell me how to do this?
A pointer to any documentation that covers this would really help.
Thanks !
Navanee
All,
We have a development environment (product) which involves both Java
artifacts and .NET artifacts. Has anyone out there used maven for
managing .NET projects? We are using maven for our Java projects, and
though we don't really need maven to build our .NET projects, it
certainly would be
<>
<<>
Can't even get my grammar right. :(
~Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<>
I'd love too, only I get a servlet response 500 when I try to create a new
issue. Not my day, is it? :(
500 Servlet Exception
java.lang.NullPointerException
at
com.atlassian.jira.plugin.webresource.JiraWebResourceIntegration.getBaseUrl(
JiraWebResourceIntegration.java:42)
at
c
I would suggest you also take a look at the Cargo project; they have a
Maven2 plugin which is quite nice and support a variety of app
servers.
Wayne
On 2/20/07, Manos Batsis <[EMAIL PROTECTED]> wrote:
Brad O'Hearne wrote:
>
> 2. What is the generally accepted means of doing this?
That would be
Brad O'Hearne wrote:
2. What is the generally accepted means of doing this?
That would be the jboss-maven-plugin [1]. you can see a basic example (i
use "mvn jboss:harddeploy") at [2].
[1] http://mojo.codehaus.org/jboss-maven-plugin/
[2]
http://md4j.cvs.sourceforge.net/md4j/md4j-quickstart
Hey gang,
I'm desiring to deploy (not in the maven sense, as to a repository, but
in the application sense, to a runtime environment) a build artifact (a
WAR specifically) to its application server. Specifically, I would like
to deploy my built war file to JBoss using maven. I have a couple of
Hi,
I would like to have your advice for this problem.
Context:
I have a multi-modules project :
project
|
| earModule (depends on warModule, apiJarModule, implJarModule)
|
| warModule (depends on apiJar, apiJarModule, implJarModule,
mockImplJarModule and spring)
|
|-
Graham,
That's great advice, and one that I've been pondering in several
environments that I've configured over the years. One interesting thing
about this scenario is that it actually requires discipline beyond that
actual build process / system, but in application design as well. For
instan
Brad O'Hearne wrote:
What is the generally accepted convention for handling builds where
there are configuration files whose values are different depending upon
the target platform being built for? For example, I may have a
configuration file with JDBC URLs in it, and these values may be
diff
Hello,
What is the generally accepted convention for handling builds where
there are configuration files whose values are different depending upon
the target platform being built for? For example, I may have a
configuration file with JDBC URLs in it, and these values may be
different dependin
Forgot to mention..
> 2.0.5 has decided to create my repository directories for me.
..when running eclipse:eclipse for the project. It's repeatable
too: no lib dir is created with 2.0.4, it immediately appears when run
with 2.0.5.
thanks
Holger
Can anyone share an example of maven-sar-plugin.
I am getting this error,
[ERROR] BUILD ERROR
[INFO]
[INFO] Cannot find lifecycle mapping for packaging: 'jboss-sar'.
Component descriptor cannot be found in the component
Are there any recommendations for cleaning up old information in
Continuum's database and filesystem? (I'm working with 1.1-SNAPSHOT,
not the released 1.0.3.)
The two largest directories are working-directory, and deploy-repository.
The working-directory should take care of itself, but I think
There are two solutions that currently work:
1) I just checked in yesterday but in the Eclipse Maven Integration
we have some tools for headless builds:
http://svn.codehaus.org/m2eclipse/tycho/trunk/
It still needs to be documented but there is a small readme and these
tools are being used
I was more than a little miffed^h^h^h^h^h^hsurprised to learn that maven
2.0.5 has decided to create my repository directories for me. Thanks, but
no thanks!
Add the following convenience repo:
local (Maven 1)
Local module repository (lib)
file://lib
..etc..
and suddenly you have a "lib" direc
Put it in JIRA or we will not remember.
Jason.
On 20 Feb 07, at 11:20 AM 20 Feb 07, Siegmann Daniel, NY wrote:
Nevermind, I missed something when I copied over my settings to the
new
Maven, so it didn't log in as the correct user.
Still, it would be nice if the failure was something a littl
Nevermind, I missed something when I copied over my settings to the new
Maven, so it didn't log in as the correct user.
Still, it would be nice if the failure was something a little less cryptic
than a NPE.
--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY 10018
(212) 840-2618 ext.
Deploy works fine with Maven 2.0.4, but fails with the following error using
2.0.5 (wagon-ftp 1.0-beta-2). Has anyone else encountered this problem? Is
there any configuration change which might be causing this problem, or
should I file an issue on JIRA?
[INFO] Retrieving previous build number fro
Hi,
With a simple pom.xml (cf [1]), if I execute mvn assembly:assembly, I have
the following behaviour (maven 2.0.5)
mvn assembly:assembly
[...]
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] maven-antrun-plugin is triggered
[INFO] Executed tasks
[INFO] [site:attach
I'm not part of the maven developers, but on the surface, if any plugin
finds two different configurations, it wouldn't surprise me if it ran once
for each of them.
On 2/19/07, EJ Ciramella <[EMAIL PROTECTED]> wrote:
We did and that's how we diagnosed this, but that doesn't answer the
question
You can write plugin in Jython to handle your script.
Please see:
http://maven.apache.org/developers/mojo-api-specification.html
-Original Message-
From: javed mandary [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 12:48 PM
To: Maven Users List
Subject: Python + Maven 2.0.4
Hello,
We've studied this problem quite deeply.
The "Maven way" of doing this is to manage your dependencies in your pom.xml,
and to use the OSGI plugin for Maven to create (or rather complement) a
manifest files
http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html
(Checking this link, it
Hi
It would useful if someone promoted it to the mojo's.
Hermod
-Opprinnelig melding-
Fra: Rémy Sanlaville [mailto:[EMAIL PROTECTED]
Sendt: 20. februar 2007 09:56
Til: Maven Users List; [EMAIL PROTECTED]
Emne: Re: maven2 websphere plugin
Hi,
You need to add the Mojo repo at codehaus
Lukas already responded... There is no way to add dependencies without versions.
Wayne
On 2/20/07, Build Admin <[EMAIL PROTECTED]> wrote:
Hi frenz What is the solution to add dependency files without version
On 2/20/07, Lukas Theussl <[EMAIL PROTECTED]> wrote:
>
> You can't.
>
> -Lukas
>
>
> B
Hi frenz What is the solution to add dependency files without version
On 2/20/07, Lukas Theussl <[EMAIL PROTECTED]> wrote:
You can't.
-Lukas
Build Admin wrote:
> Hi Friends,
>
> In maven, how can I add dependency without mentioning the version
number?
>
-
Increased heap size and problem disappeared..
Seems that you get this as output in continuum when the build fails after an
OutOfMemoryError..
On 2/16/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
Hello fellow continuum users,
I'm building a M2 multi-module project with continuum..
When I buil
Gabriel, thank you for the answer. I tell you. I did put the URL's
pom in my browser and i can see it. Moreover, the continuum and the
browser are running in the same machine.I'll continue working in this
trouble to get a solution.
Thank you and I'll listen any solution.
Martin.
On 2/19/07,
I think you want to be looking at Maven Enterprise as Continuum does not
support this.
Enterprise provides you with continuum 1.1-SNAPSHOT and a webdav server
where you can deploy your maven generated sites.
Andy
Victor Kirk wrote:
Hiya,
I was wondering if anyone could tell me if it is
pos
I'm answering myself, but I guess the problem could be the same as :-
http://docs.codehaus.org/display/JETTY/ZIP+exception+reading+jar+or+war+files
On 16/02/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> There doesn't seem to be any support forums for Jetty either.
I see jetty-discuss and jetty-su
Hi,
I am running a ant task inside maven2 for compiling xml schemas using
jaxb1.0.4. It is working fine, generating the .java files into
target/generated-source folder. How do I get maven compiler to include
them to compile.. I am trying to use the plugin like this, but the output
jar file doe
Hi All,
I would like to automate my application deployment on WAS
5.1using maven . Currently I have python scripts that perform the
deployment .
I would like to know if it is possible in Maven to actually call these
python scripts and how you would go about doing that?
cheers,
Jav
Hi there,
I've noticed that artifacts deployed by continuum server do have
extended version number... In the POM file the version specified is
1.0-SNAPSHOT but in the repository I'm getting artifacts like
my-module-1.0-20070213.093006-5.jar. It causes that a module from
repository handled by c
On 2/20/07, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
What does this error message mean?
Build Error:
Provider message: The cvs command failed.
Command output:
-
Hi Manos,
Manos Batsis wrote on Monday, February 19, 2007 4:03 PM:
> I'm trying to figure out a good enough way to package javascript
> libraries with Maven, for use with projects producing WAR
> artifacts. The
> closest related resource i have found is "Using Maven to modularize
> JavaScript" bu
Hi,
I have the following files:
-notice.txt
-license.txt
inside of:
$PROJECT/src/main/resources/META-INF
They are in the meta-inf folder of the -sources JAR, but not inside
the -javadoc jar
Any ideas ?
Thanks,
Matthias
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http
Jason found a regression in the staged release and he's working on it.
As soon as it's fixed, we'll test and we'll release a new version.
Stéphane
On 2/20/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Hi,
any news on maven-source-plugin 2.0.3 ?
thx
--
Matthias Wessendorf
http://tinyurl.
I am evaluating maven for my company and have come across the following
problem in my test application.
I have a parent project and a child project. In the parent pom I have
the following:
scm:perforce://users/jeffersd/maventest
scm:perforce://users/jeffersd/maventest
scm:perforce://us
What does this error message mean?
Build Error:
Provider message: The cvs command failed.
Command output:
---
cvs update: in directory .:
cvs [u
Hi,
You need to add the Mojo repo at codehaus too.
codehaus.org
CodeHaus Snapshots
http://snapshots.repository.codehaus.org
Add a
BRANCH-X in your pom in the element.
(only in the pom which is the branch of course ;)
Otherwise, you can edit the project once it's added to continuum and
you can specify an alternate url/user/paswword/branch/ ..
HTH,
Stéphane
On 2/20/07, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
Our c
Run mvn -X ... to get more information about what Maven is doing while
it is running. Perhaps you'll notice some misconfiguration resulting
in the exception.
Wayne
On 2/19/07, TheTrain09 <[EMAIL PROTECTED]> wrote:
Did u ever get a response or figure this issue out, because I am having the
same
Our code base has recently been branched to a branch ,call it
BRANCH-X.My current configuration check out code from the HEAD and the
SCM url is specified as :
scm:cvs:pserver:jeffm:[EMAIL PROTECTED]:/var/lib/cvsroot:Eportal/dev
How do I specify the new branch , BRANCH-X to be used for checking o
Hi,
any news on maven-source-plugin 2.0.3 ?
thx
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
-
To unsubscribe, e-mail: [EMAIL PROT
87 matches
Mail list logo