i get
ERROR] BUILD ERROR
[INFO]
[INFO] There are some test failure.
[INFO]
[INFO] For more information, run Maven with the -e switch
[INFO]
Hi Emmanuel,
Took a quick look at the package.jdo and it only contains the length
property for the column not the actual datatyp. Isn't the SCMResult.class
(found in continuum-model.jar) generated from
http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
-Original Message-
From: Yuan, Bill
Sent: Thursday, July 27, 2006 9:15 AM
To: continuum-users@maven.apache.org
Subject: RE: issue with setting up M1 POM URL
Arnaud and any other experts,
I still have problem with adding our Maven 1.x project to
Continuum. Let me restate our
I don't think it will use that childs notification element, I don't
think continuum actually knows anything about that subproject when it
comes to it failing and sending out notifications.
on the bright side project groups are getting a rework in the next
version of continuum :)
jesse
On
Hi,
I built the plugin from svn, the error does not happen any more, but the
Jira report on generated site is _empty_, only headers (Key, Summary,
Status, Resolution, By) are displayed.
I tried downloading the XML (RSS 0.92) from Jira manualy (in browser)
and it looks ok to me.
Regards,
Thank you alexandre, I'll take a look at that ... though I'd like to be
decoupled from continuum if possible (not that I have anything against
continuum :) )
Tom
[EMAIL PROTECTED] 07/26/06 2:55 PM
You could also use continuum manual build functionnalities. Just don't
set any scheduled build
You have to install it by hand on your own repository. The package is
not available on public repositories. I don't know if this is a
license related problem or just because it is in beta
On 7/27/06, German de la Cruz [EMAIL PROTECTED] wrote:
Hi people,
Maybe this link response to your question:
http://maven.apache.org/ref/current/maven-model/maven.html
HTH
Tung Nguyen
- Original Message
From: Lakshman Srilakshmanan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: users@maven.apache.org
Sent: Thursday, July 27, 2006 2:03:58 AM
Subject:
There is still a question hanging around in my head related to this issue.
If I try to add a project with the following url I get a message that the
url is not valid
https://username:[EMAIL PROTECTED]/svn/name/pom.xml
You must provide a valid url (...)
I cannot seem to get this to work, if I
Vincent Massol wrote on Wednesday, July 26, 2006 7:25 PM:
Done. Try it. Make sure you use -cpu or -u (can never recall which
one) or delete the cargo files in your local repo.
Well, infact -cpu should update the plugins, while -U should look for SNAPSHOTs
(see mvn --help). For me its working
Hello!
Is there a way to create a profile that activates other profiles?
I have the following profiles:
war.exploded
war.packed
tomcat5x
weblogic9x
Now I'd like to have a profile tomcat that automatically activates
profiles war.exploded and tomcat5x and a profile weblogic that
automatically
Hi,
I had the same. Check out the jira-result.xml in your target directory. For
me it was a html file not a xml. This is the result from calling the url in
jira. For me I couldnt reach the jira-server because of proxy. But for sure
the jira-result.xml will tell you more.
Good Luck,
juergen
--
Hi all,
As recommended by the antrun
pluginhttp://maven.apache.org/plugins/maven-antrun-plugin/introduction.html,
I'd like to move all my Ant tasks to a build.xml file and just call it from
the POM using Ant's ant/ taskhttp://ant.apache.org/manual/CoreTasks/ant.html
.
I need to use some of the
Hi Jeff,
this is at the moment not solved yet. The Description tag in pom has to
consist of one single line (no linebreaks or paragraphs between it).
I did not find a jira issue yet, may be we have to set one up.
Because I had the same problem, I just made the project description by
myself
This is what I have:
gdps,10.1.119.102 ssh-rsa
B3NzaC1yc2EBIwAAAIEAz44256CBVYdZPIrtoRvbl4qUuj758/U81bcMHpDK1J/6kax4lUKX4edBW38e/BvAULs0WFeP7eyMaZVQVj5NFGgRYiqkNSsfEDwc3byq/6T8dA+cSs7BzEj380SyP6It93tW40JdSEN+7TP4/kYVND/tg0UFpSPnJnXNxm9kNTk=
On 7/26/06, Lukas Theussl [EMAIL PROTECTED]
Hi Emmanuel,
Is blob really appropriate for varchar type of information? You can't copy
varchar into a blob! Shouldn't it be a clob?
Below are the SQL statments that I executed. (unfortunatly you can't alter
the data type of the column directly). But when I started continumm it
complained that
oh yes, you need to change package.jdo in continuum-model.jar
I don't think you need to change something else.
Emmanuel
Mattias Andersson a écrit :
Hi Emmanuel,
Is blob really appropriate for varchar type of information? You can't copy
varchar into a blob! Shouldn't it be a clob?
Below are
Description in POM is meant to be a short description.
If you need something longer, you just add an index.apt file (or xdoc) to
your site, and it will take the place of the project's description.
Cheers!
Arne Sutor wrote:
Hi Jeff,
this is at the moment not solved yet. The Description
Settping though the code to debug what was going on, I saw that wagon handle
putty (plink and pscp) differently than the rest. So I downloaded them and
changed the protocol to scpexe.
This works fine for me so I'll use that from now on.
If scp and sftp works fine for everyone else, I guess we
Hi,
the strangest thing. Accessing the Jira URL with xml report with browser
returned valid RSS with issues, but the jira-result.xml is almost empty.
Like this
?xml version=1.0 encoding=UTF-8 ?
!-- RSS generated by JIRA 156 at Thu Jul 27 08:03:35 CEST 2006 --
rss version=0.92
ok, I'll try changing that when I find some spare time. And the create
table stmt should look like this and nothing else.
CREATE TABLE SCMRESULT2
(
SCMRESULT_ID BIGINT PRIMARY KEY not null,
COMMAND_LINE VARCHAR(255),
COMMAND_OUTPUT CLOB(16M),
EXCEPTION VARCHAR(8192),
Hi,
that's strange. If you have more time to try then check the source code for
this plugin. You will find the lines easily where the urlis called with the
httpclient. Create logging messages and see what really comes back from the
url. You said that manually it works so I think you will see any
Since im currently migrating all of my projects to Maven2, i ask myself if
there is a plugin for the JBuilder X IDE, that supports Maven2.
The only thing i could find out is that there exists a plugin for Maven1,
which is no longer supported and will not be extended to work for Maven2 as
well.
Thanx.Very muc appreciated
Jeff Mutonho
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
On 7/27/06, CodingPlayer [EMAIL PROTECTED] wrote:
Since im currently migrating all of my projects to Maven2, i ask myself if
there is a plugin for the JBuilder X IDE, that supports Maven2.
The only thing i could find out is that there exists a plugin for Maven1,
which is no longer supported
Hi,
Since i'm quite new to Maven2 i still haven't found out how to solve all of
my questions.
I just wonder how do i generate a single JAR, containing all of the
dependend JARs declared in the pom.xml.
What i mean is, after the build i get my JAR which contains just the class
files for my
Worked perfectly! (Except that I'm on windows so c:\Document and
Settings\username\.ssh)
I think something is broken with Wagon -- shouldn't it create that
directory and file, the same way that the command line version of ssh
does?
Thanks again!
On 7/26/06, Wayne Fay [EMAIL PROTECTED] wrote:
Worked perfectly! (Except that I'm on windows so c:\Document and
Settings\username\.ssh)
I think something is broken with Wagon -- shouldn't it create that
directory and file, the same way that the command line version of ssh
does?
Thanks again!
On 7/26/06, Wayne Fay [EMAIL PROTECTED] wrote:
Hi,
can anyone direct me to a reference/tutorial on build-in parameters? I'm
hoping to find out how I can reference the root basedir of a
multiproject build. Didn't find it on the Maven site, Google or the
Better builds.. book :(
regards,
Bram
--
Bram de Kruijff
GX creative online development
très bien!
I've already done that. At the moment, I've no problem. I only wanted to
warn it just in case it's a mistake. Perhaps the mantainer could see it.
thanks very much!
Sebastien Cesbron wrote:
You have to install it by hand on your own repository. The package is
not available on
When I am trying to build/jar a project. The test-classes are not getting
jarred. Is there a way I can change settings in my pom.xml to include the
test classes as well when i build my project?
--
View this message in context:
Hi Vincent,
It works now! I had to go in and manually delete the cargo files and then
run the mvn clean command to get it to work. Thank for the help. FYI, just
doing the mvn clean -cpu or -u at first didn't work (for me).
Thanks again,
Matilda
-Original Message-
From: Jörg
you should add the following plugins.
regards
Alexis
!--
| Those 2 plugins allow to build:
|- a JAR of the test classes
|- a JAR of the sources classes
|- a JAR of the test sources classes
--
!-- JAR of the test classes --
plugin
-Original Message-
From: Matilda Robert [mailto:[EMAIL PROTECTED]
Sent: jeudi 27 juillet 2006 15:20
To: 'Maven Users List'
Subject: RE: M2-snapshot error
Hi Vincent,
It works now! I had to go in and manually delete the cargo files and then
run the mvn clean command to get it
Hi there,
We've run into the following issue:
Our war project depends on a certain number of in house jar projects. Now,
these jar projects are under development, so we're using snapshots, and
publishing these to our company repository on a regular basis.
Now, the thing is that on some
Matilda Robert wrote on Thursday, July 27, 2006 3:20 PM:
Hi Vincent,
It works now! I had to go in and manually delete the cargo
files and then
run the mvn clean command to get it to work. Thank for the
help. FYI, just
doing the mvn clean -cpu or -u at first didn't work (for me).
Feel free to file a JIRA bug report about this issue. But I'd expect
its already been filed, and possibly even fixed in a SNAPSHOT release.
Wayne
On 7/27/06, Trent Albright [EMAIL PROTECTED] wrote:
Worked perfectly! (Except that I'm on windows so c:\Document and
Settings\username\.ssh)
I
I'm far from an expert, but I think you have to put your exclude
elements in a separate excludes element, like:
includes
include/
/includes
excludes
exclude/
/excludes
-Original Message-
From: Abhijit Diwan [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 July, 2006 00:28
To:
Hi all,
I'm currently migrating a big project from Ant to Maven.
I have exploded the source code in modules as much as possible but for
legacy reasons I want one of them to generate N output jars (instead of a
single one).
My question is How can I do that?
I have several leads but some
thanks, someone wrote a test thats wasn't a unit test but a main() class.
surefire should some how report such issues.
best
rk
Andrew Williams schrieb:
are you using clover or such like which could be redirecting test output
to another directory?
Roland Kofler wrote:
i get
ERROR] BUILD
Not sure why it would be different for your two environments,
but you need to specify unique version to false to avoid the
timestamp being appended, e.g.:
distributionManagement
repository
...
uniqueVersionfalse/uniqueVersion
...
/repository
When I manually change the name of the artifact like so
mv dsc-ear-1.0.ear dsc-ear.ear
Now I get this.
[EMAIL PROTECTED]:target]$ cd ..
[EMAIL PROTECTED]:ear]$ mvn weblogic:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'weblogic'.
[INFO]
According to the weblogic documentation..
http://e-docs.bea.com/wls/docs81/programming/app_xml.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Arnaud and any other experts,
I still have problem with adding our Maven 1.x project to Continuum. Let
me restate our problem again:
I am experimenting Continuum on my local machine, with the Continuum
1-0-3 installed. Our project's version control is managed by Perforce
which is running on a
build
plugins
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdmaven-jetty6-plugin/artifactId
executions
execution
idstart-container/id
phasepre-test/phase
goals
goalrun/goal
/goals
Hi Hal -
I'm running into a similar issue.. did you find a work-around?
thx,
-Russ
([EMAIL PROTECTED])
At 4:05 PM -0700 7/14/06, Hal Hildebrand wrote:
I'm running into a weird issue here. It seems that the Maven surefire
plugin is trying to create POJO tests for inner classes which clearly
1. Are you sure you need to disable jar:jar? Or just modify it such that
it builds one of your desired jars? I also needed to generate multiple
jars for a project; you can read about my particular solution here:
http://www.nabble.com/-maven2--Generating-several-artifacts-per-project-
well disable the jar:jar is not a requirement, but if I generate several
jars, I do not need the jar:jar goal to create a big jar containing all
classes. you see what I mean?
by the way, your answer is really appreciated.
I did not know the build-helper-maven-plugin up until now.
Regards,
Right, but you can designate one of the jars you want to create as the
primary jar for Maven's purposes, even though this may mean nothing to
you, and then configure the maven-jar-plugin with the appropriate
includes/excludes to create that jar. Then use the other technique to
create your
Hi Arne,
This JIRA issue already exists as MJAR-4, MJAR-34, MJAR-39, MJAR-50 and
PLX-185. Apparently the root cause was PLX-185, which has been closed, but
since it doesn't specify a fix version, it is hard to tell the actual status of
this issue.
Best regards
Simon Kepp Nielsen,
At 12:48 PM -0400 7/27/06, John Casey wrote:
One of the fundamental principles that Maven operates on is the 1:1
association of POMs to primary output artifacts (not counting special
assemblies, source, or javadoc jars). If you want, you might be able to
construct a set of POMs that all reference
No, unfortunately the maven-jar-plugin for maven 2.x does not support
includes/excludes at the current time:
http://jira.codehaus.org/browse/MJAR-30
You can of course control what goes into the jar by using
includes/excludes at the *compile* stage, if that's appropriate for your
project. If
Bram,
This may be helpful:
1. Reference for the POM:
http://maven.apache.org/ref/current/maven-model/maven.html
If you scroll past the .xsd file, you'll see the description of all
XML elements.
2. for each variable, you can usually access it using
${project.varname} so maybe you can get to
Alexis,
i've experimented with this as well and ended up with the same
solution as you. I'm afraid that may be the only option for now.
On 7/27/06, Alexis Midon [EMAIL PROTECTED] wrote:
Hi all,
As recommended by the antrun
Hello!
I would like to turn off maven-surefire-plugin during the test phase
(so, no unit testing at all), and turn on maven-surefire-plugin for the
integration-test. Basically my source is a test webapp, and my tests
are integration tests. While playing around with maven-surefire-plugin
So, just to keep this thread up-to-date, according to the other email I
just read (RE: How to deselect classes while creating jar? from Simon
Kitching), you can't exactly do what I outlined below because the jar
plugin does not support includes/excludes yet. Please vote for
Hello.
I am trying to build a war with:
mvn war:exploded
mvn war:inplace
mvn war:war
And, no matter how I configure it, only .properties files get copied from
my src/main/resources directory into the webapp/WEB-INF/classes/.
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
I am having creating a test app. Maven runs, but doesn't create it.
I get the following output:
[EMAIL PROTECTED] ~]$ mvn archetype:create
-DgroupId=com.plexq.applications-DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
On 7/27/06, Chris Wall [EMAIL PROTECTED] wrote:
I would like to turn off maven-surefire-plugin during the test phase
(so, no unit testing at all), and turn on maven-surefire-plugin for the
integration-test. Basically my source is a test webapp, and my tests
are integration tests.
The usual
Thanks Wendy. Unfortunately svn.apache.org is timing out. I did come
across one of your earlier posts, so I now understand executions
better. Base on one of your posts, I tried the following w/o success.
executions
!-- skip unit test run, tests to be executed during integration-test
--
Hi Chris,
I don't think it's bending maven to run two lots of unit tests,
normal and integration.
An executions section defines invocations of the specified plugin *in
addition* to the standard one. If you want to skip the standard run, or
restrict the set of classes it runs, then do that inside
Hi, i have seen couple of posting on these, but not able to find some basic
answers
I got my project setup with Maven2 and build is working.
a. How do we confirgure to scm: SVN
- any samples configuration files with couple of instructions
b. same for continum and JIRA
Thanks for all help!
Thanks Simon.
Based on your recommendation I made the following update. Yet, the
execution element's skip=false is not overriding the parent value. Both
the unit test and integration test executions are being skipped.
What am I missing? Thanks.
Plugin def:
!-- skip unit test run, tests to
Hi all,
I have a Web app project that builds to a WAR just fine. What I'd like to
do is also package it with a Tomcat bundle. This way, I can provide a
single ZIP with everything necessary to run the Web app.
Does anyone have any experience doing this with maven? Any pointers for me?
Thanks,
On 7/27/06, Chris Wall [EMAIL PROTECTED] wrote:
Based on your recommendation I made the following update. Yet, the
execution element's skip=false is not overriding the parent value. Both
the unit test and integration test executions are being skipped.
That fits with what I (vaguely)
Hi Stephen,
Thanks for your suggestion, I was coming to the same conclusion.
What puzzled me was the manual Better Builds with Maven pg 24, where they
refer to a Super POM that is implicitly inherited by all pom's. I guess this
is buried deep in the maven code somewhere and not available for
Hi,
My tests create a directory in the root of the
project.
Does anyone know of a plugin that will clean a
specified directory?
Something similar to doing this in ant:
delete directory=parent/child/directoryToDelete/
Thanks,
- Ole
__
Do You
hello,
the src/main/resources is handled by the resource plugin, by default the
resource plugin copies the contents to
target/classes. =) you need to explicitly invoke the compile phase
before using the war goals.
check the war plugin documentation for the details :
Goodness me.
This...
execution
idsurefire-it/id
phaseintegration-test/phase
goals
goaltest/goal
/goals
configuration
configuration
skipfalse/skip
/configuration
/configuration
/execution
...should be (note extra configuration stanza)...
execution
On 7/27/06, Chris Wall [EMAIL PROTECTED] wrote:
Goodness me.
This...
...
Works!
Thanks everyone!
Would you consider writing up what you've discovered for the wiki?
Here's an 'Examples' page where it might fit:
http://docs.codehaus.org/display/MAVENUSER/Examples
(If by chance you don't
I'm writing unit tests for a library which uses commons-logging-api
for its logging. I've noticed that, even if I don't include
log4j.properties or the log4j jar on the classpath, logging is
accomplished at the INFO level (and higher) to the console.
That's almost what I want. I'd like to
D'oh! Knew it was going to be something stupid like not reading
the instructions.
Thanks.
Charlie
Pete Marvin King said the following on 7/27/2006 9:08 PM:
hello,
the src/main/resources is handled by the resource plugin, by default the
resource plugin copies the contents to
Actually,
I think it's cleaner just to use the apache commons.io
library FileUtils.delete(File directory) method in the
teardown of the test.
Here's the dependency in case anyone else wants to do
this:
dependency
groupIdcommons-io/groupId
Thanks Stephen,
Sending to maven users list for future reference.
Thanks
Lakshman
-Original Message-
From: Stephen Duncan [mailto:[EMAIL PROTECTED]
Sent: Friday, 28 July 2006 12:09 PM
To: Lakshman Srilakshmanan
Subject: Re: Super Pom
Yes. That Super POM is basically a set of
Dear all,
For maven2, the child POM will inherit all properties from parent pom.
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
Hi all,
Proximity RC2 is here!
Proximity RC2 has moved forward in time, due to an important BUG about
handling aggregated repositories and Maven2 metadata.
If using non-snapshot and snapshot repositories together that contains
same paths (NOT with the default config), RC1 and former releases
Not sure if my first mail went through as I was not subscribed to the list.
-- Forwarded message --
From: Sanjiv Jivan [EMAIL PROTECTED]
Date: Jul 27, 2006 11:42 PM
Subject: mvn idea:idea question
To: users@maven.apache.org
Anyone know how to use this plugin so that it creates
Thanks a lot Simon. I have voted for the issue.
Abhijit
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 3:18 AM
To: Maven Users List
Subject: RE: How to deselect classes while creating jar?
No, unfortunately the maven-jar-plugin for maven
Anyone know how to use this plugin so that it creates an IDEA project with
the dependencies as project modules with ability to attach source/javadocs
as opposed to the default where the individual jar are included (not as
libraries).
I also found a new idea plugin here :
Hi,
with J2EE now named Java EE, shall also the guideline for the library be
changed?
From
Product artifact Group ID Artifact ID
J2EE javax.j2ee j2ee
To
Product artifact Group ID Artifact ID
Java EE javax.javaee javaee
Andreas
I just read the archived mail and actually have the same problem:
http://www.mail-archive.com/users@maven.apache.org/msg36680.html
How to assign the build artefact in a custum plugin, that is based on ant
tasks? Is there a more elegant way?
For me, there's also an additional tweak. I'd
81 matches
Mail list logo