I thought of looking in application.xml and noticed the xml-rpc port is
8000.
The 8080 port gives 404.
The 8000 port says, method GET not implemented (try POST)
The rest of the URL is that same as below.
Is there any other documentation for writing a SOAP client?
Does anyone know the right
Hi there,
I just read http://docs.codehaus.org/display/MAVENUSER/Creating+the
+repositories , a pretty good document on policies for multiple
repositories within the corporation.
Before reading this document, I basically had my own way of working,
which is pretty ok I guess but may deviate from
Well.. you could use the same approach in your testcases for getting
surefire to recognise the testcases by using the inner testsuite class
code
public static junit.framework.Test suite() {
return new JUnit4TestAdapter(SimpleTest.class);
}
/code
But to get maven to compile with annotations you
I have a project that's been setup using maven 1.1.Running the first
build I'm getting the error message :
Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
No credentials available for the 'null' authentication realm at ourproxy.co.za
Error retrieving artifact from
Mmmh,
Ok for the compilation with the 1.5 option. But for the tests recognition I
still miss something. Here is a piece of my code:
code
@Test public void formatMySqlDateTime()
{
assertEquals (calendarValue20060215120523.getTime ().toString (),
//message
I keep getting the following error message whenever I try to use the
jdepend-plugin as described below:
[INFO] Error building POM (may not be this project's POM).
Project ID: org.codehaus.mojo:mojo
Reason: Error getting POM for 'org.codehaus.mojo:mojo' from the
repository: Error
Hi Andreas!
Take a look at the Getting Started Guide
(http://maven.apache.org/guides/getting-started/index.html), section
How do I filter resource files?. It explains how to reference the
elements of the pom.xml/settings.xml using property-names.
I´m currently working on a book that covers
I'm sure I has this problem too but I can't remember how I fixed it.
Could you post your pom.xml please ?
Joern Huxhorn a écrit :
I keep getting the following error message whenever I try to use the
jdepend-plugin as described below:
[INFO] Error building POM (may not be this project's
Try :
mvn compile war:exploded. (or process-classes or a phase you need)
AFAIK, the mojo war:exploded doesn't have @phase in his declaration.
- Olivier
-Message d'origine-
De : Brill Pappin [mailto:[EMAIL PROTECTED]
Envoyé : dimanche 19 mars 2006 06:03
À : users@maven.apache.org
Objet :
In fact not so good.
Log :
2006-03-18 09:40:52,260 [Thread-7] ERROR
org.codehaus.plexus.summit.pull.PullService - Problem disp
osing global tools:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
at
Hello,
I have a three java files with annotations. When I try to generate the
hibernate.cfg.xml with maven.hibernte3.plugin, then the mapped classes
are never included inside hibernate.cfg.xml file. If I add them manualy
then hbm2ddl works fine.
In the plugin manual is that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Hello Subhash,
Thanks a lot it works. You have probably more experience than me with
JUnit 4 and maven. I would ask you another question. I have written my
test class as described in the cookbook (for 4.0) by Kent Beck, Erich
Gamma on the
Looks like an old help plugin though. Could you run that again with
-U? If you still get the NPE, let me know, but also run:
mvn help:describe -DgroupId=org.apache.maven.plugins
-DartifactId=maven-site-plugin
Thanks,
Brett
On 3/20/06, Wilfred Springer [EMAIL PROTECTED] wrote:
Hi Brett,
I ran
I actually copied the my local repository to the internal, I have
uncommented the definition of the mirroirs sits. So, it seems that that
functions to create a basic project, however, while trying to create a
webapp, maven does not find the artifact corresponding in my internal
(remonte
Boris Lenzinger wrote:
I'm sure I has this problem too but I can't remember how I fixed it.
Could you post your pom.xml please ?
The relevant parts of my pom file look like this:
repositories
repository
idbpinteractive/id
namelocal bpinteractive
Hi!
I have a problem using maven surefire plugin in pertest fork mode in
Windows environment (in Linux it works properly).
Tests use DBUnit 2.1: the db is a HSQLDB file.
Here below a fragment of my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
Hi,
I created a custom archetype.
I have a hierarchical project structure:
pom.xml
|
`-- services
`-- pom.xml
`-- service1
`-- pom.xml
`-- service2
`-- pom.xml
`-- service3
`-- pom.xml
What I
Hi Gunther,
-Original Message-
From: ext Gunther Popp [mailto:[EMAIL PROTECTED]
Take a look at the Getting Started Guide
(http://maven.apache.org/guides/getting-started/index.html),
section How do I filter resource files?. It explains how to
reference the elements of the
A few months back I read something that Sun's jars (activation,
javamail, jca, netbeans libs, ...) etc might end up on ibiblio.
Still most of them aren't there yet.
However there is a maven1 java.net repository with a lot of jars
auto-downloadable available at
1/ I have used your pom file to build my project. I have the same error.
Good news ;)
2/ Now I've commented your repositories and change your plugin
repositories with my list (find it below) and it is working. Good news
too ;)
3/ I have used the plugins jdepend, jxr, taglist (I will add it
2006/3/20, Geoffrey De Smet [EMAIL PROTECTED]:
A few months back I read something that Sun's jars (activation,
javamail, jca, netbeans libs, ...) etc might end up on ibiblio.
Still most of them aren't there yet.
Have you taken a look at
http://www.ibiblio.org/maven2/org/apache/geronimo/specs/?
svn co http://svn.apache.org/repos/asf/maven/archetype/trunk
mvn install
Cheers,
Brett
On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:
What do I have to get from SVN to get this fix?
The Maven 2.1-SNAPSHOT or just a few plugins?
Regards
Stefan
Brett Porter wrote:
Fixed in SVN just
I did what you suggested but I still get the error.
In the pom of the archetypes I saw the version is a snapshot version.
Might that be the problem?
Regards
Stefan
Brett Porter wrote:
svn co http://svn.apache.org/repos/asf/maven/archetype/trunk
mvn install
Cheers,
Brett
On 3/21/06,
No, it has to be a snapshot.
Sorry, I don't have any other suggestions for you at the moment. The
code will receive some more testing and polish this week before the
next release.
- Brett
On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:
I did what you suggested but I still get the error.
In
Hello Taavi
Did you set the ejb3 parameter to true?
You can see an example here:
https://svn.mojo.codehaus.org/mojo/trunk/mojo/mojo-sandbox/hibernate3-maven-
plugin/src/test/project-jdk15/pom.xml
Regards
Johann Reyes
-Original Message-
From: Taavi Sildeberg [mailto:[EMAIL PROTECTED]
Is there a way to change the bundle name of a dependency for WARs too? I
don't want JARs in my WAR file to have version numbers on them.
Any response would be good thanks.
_Mang Lau
Stephane Nicoll [EMAIL PROTECTED]
03/07/2006 08:58 AM
Please respond to
Maven Users List
Just a tiny comment...
An execution is always an additional binding to the lifecycle, so it
doubles up when it is already bound through the presets for the
packaging. The only way to configure the presets is through the
configuration element in the plugin node itself (outside of
Maybe my whole thinking is wrong in wanting to do this, but I have a
project that has several pieces (EAR, EJB, WAR, JAR), and so I set up
a parent project with the a parent POM and then each piece is like a
sub-project and has it's own POM that extends the parent. This all
works fine and I'm able
I don't know anything about those TestBean and Benchmark files.
The most important thing is to modify the signatures of the test
methods themselves.
They must all take the form:
public void testXXX () {
//test code here
}
If they are not public void testXXX, then Junit will not see them, and
Just place links in your navigation to /module-artifactId
The next release of the site plugin would support something like
${modules} I 've heard.
If you do mvn site it will not copy the modules contents into the
parent site, but that's not a problem: once you do mvn deploy, they
will be
I am very pragmatic when it comes to Maven, since not everything works
as you might expect.
I'd add it to your plugin dependency directly, file a bug report,
watch the bug, and when it is eventually resolved, remove the plugin
dependency.
Wayne
On 3/19/06, Subhash Chandran [EMAIL PROTECTED]
Realistically, I don't think this is something that you're ever going
to get out of the box, and so you'll have to write your own plugin
for this specific functionality.
Go get source code for a project from my repo and unzip into this
project is just not a normal use case for Maven in my
Hello all,
I was looking over http://maven.apache.org/guides/index.html and I
didn't see a guide regarding Managing Library Repositories and I would
like to start a thread to do just that.
Although this is seperated from Maven, Maven did help bring to the
masses the idea of library repositories
Hi Darren,
take a look at http://maven.apache.org/maven-settings/settings.html. Here you
can find a lot of answers to your questions
Am Montag, 20. März 2006 17:22 schrieb Darren Hartford:
Hello all,
I was looking over http://maven.apache.org/guides/index.html and I
didn't see a guide
Chris or Dan,
Just wondered if you could share your POM and testing approach with me , I'm
looking to test JBoss EJB3 EJBs using surefire or testNG, so I am wondering
what the options are, and how this emedded EJB3 container works / fits in ?
Pete
On 19/03/06, Chris Richardson [EMAIL
Brett,
Thought I'd weigh in on this as well...
C:\cvs_home\xyz2.1.2\svn3\Libmvn -U help:describe -Dplugin=site
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo:
I see those errors on all sorts of different things and, though I am not
fully informed, I have found you can ignore them. The errors I means are
canGenerateReport() errors.
I removed the reportSets part from my pom and found the change log started
working. I was willing to live with that and ...
Brett can probably comment more on this, as I believe he has been
working on this (Surefire) a bit lately, but I believe the comment
test plugin doesn't use 4.0 (yet) is probably along the right lines.
There's probably a Maven JIRA you could find and watch so you'd know
when JUnit 4.0 is fully
Hello,
i am developing a small m2 plugin for deploying portlet applications on WPS.
I have created custom packaging and it works fine with default lifecycle.
Now i would like to switch to a custom lifecycle (wps-deployment) to provide
WPS-specific naming for deployment phases.
How can tell m2
Emmanuel Venisse emmanuel at venisse.net writes:
It's a known issue that will be fix in 1.0.3
(http://jira.codehaus.org/browse/CONTINUUM-577)
I think it's because you have a schedule without any attached projects. Remove
this unused schedule
or attach to it a project.
Emmanuel
Hi all,
I have a project with two war modules (app1, app2) that depend one on
the other. I have defined a parent pom.xml (root) in order to be able to
build both project modules at once.
In one of the war modules (app2) I am using the dependency-maven-plugin
in order to merge the artifact
Hello All,
i am trying the same and what i get?
---
Battery: example1.EJB3ContainerTest
---
Tests run: 1, Failures: 0, Errors: 1, Time
When you create the my/project/path/build.xml file and add the task to
that file, does the antcall function work as you expected?
Not saying this is the proper solution, just trying to help figure it out...
Wayne
On 3/19/06, Adrian Herscu [EMAIL PROTECTED] wrote:
Hi all,
When using antcall
Hi there,
I want to build J2ME applications with maven. To do this, you have to use
another boot classpath for the compiler. This ensures, that you only can use
classes known to the J2ME platform. I guess this can be done via
configuration of the compiler plugin.
Later on you have to preverify
andreas.ebbert-karroum wrote:
where are the variables documented, that I can use inside the POM? I guess
there's something available like ${artifactId} and alike, but I couldn't
find a place, where they're all listed and described.
Hi Andreas,
i found out, that most of the variables
My bad. The source was there but I don't know where all the dependencies
would be. For example, org.codehaus.xfire.yom version 1.0-whatever. And
there is nothing in iBiblio at all under 'yom'.
Any help?
On 3/20/06, Lee Meador [EMAIL PROTECTED] wrote:
I hate replying to myself.
I got the
Pete
You can download the source code for my book, which includes the POMs etc,
from: http://www.manning.com/crichardson
The embedded EJB 3 container looks like a good way to easily test EJB3
session beans- avoids having to fire up the fullblown server.
Chris
--
Enterprise POJO consulting -
hello all,
i have a maven2 project with some test classes that are in charge of
bootstrapping Jboss microcontainer
i have included all needed jars but for some reaasons maven2 does not
include all of htem...
could anyone help?
i attach my pom and the output from maven-X
** pom.xml
I have recently setup Continuum and it is working fine.
My SCM is subversion. For each build I can see the files that changed to
trigger that build. Can Continuum also show the user(s) who committed
the changes?
Thank you.
-- Mark R
Are you using 1.0.2? If so then I don't think the change list is totally
working properly. I believe it is fixed in the lastest snapshot of 1.0.3.
It should show the user who committed the changes.
_Mang Lau
Mark Reynolds [EMAIL PROTECTED]
Sent by: news [EMAIL PROTECTED]
03/20/2006
I have been asked for similar functionality to this. I wrote a plugin which
can grab a source jar from the repo and which then expands it into the src tree
as a new module. It then generates a pom file which includes the new module.
If your interested in it, let me know and I will send you
On 8080, it's a RPC server.
In 1.0.3, we have a client for it :
http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/continuum-rpc-client/
Emmanuel
Lee Meador a écrit :
I was wondering how to get started on a SOAP client.
1) The wsdl is not at
yes, it's fixed in 1.0.3
Emmanuel
Mang Jun Lau a écrit :
Are you using 1.0.2? If so then I don't think the change list is totally
working properly. I believe it is fixed in the lastest snapshot of 1.0.3.
It should show the user who committed the changes.
_Mang Lau
Mark Reynolds
You have a project that isn't attached to the current schedule.
You can try the first RC too :
http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/continuum-20060316.173001.tar.gz
Emmanuel
P. Siegmann a écrit :
Emmanuel Venisse emmanuel at venisse.net writes:
It's a
Hello,
I like Maven 2 but I'm still somehow confused.
So far I got my project (which contains subproject) to compile.
What is the good way to get maven to prepare a distribution directory
with the jars for my project as well as all the necessary libs.
Thanks in advance.
Pierre
Look at the Assembly Plugin.
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
From: Pierre Monestie [EMAIL PROTECTED]
Reply-To: Maven Users List
Excellent, thank you.
Emmanuel Venisse wrote:
yes, it's fixed in 1.0.3
Emmanuel
Mang Jun Lau a écrit :
Are you using 1.0.2? If so then I don't think the change list is
totally working properly. I believe it is fixed in the lastest
snapshot of 1.0.3. It should show the user who committed
Hi all,
I just managed to use maven-release-plugin (2.0-beta-3) to automate
the release
and tag process within my projects.
Anything works fine, except that the generated connection and
developerConnection
entries are created false.
I have multiple projects in one subversion repository. So
Hi there,
Is there any plans for an exclusions block for plugin dependencies
within the pom? I have a use-case of wanting to exclude slf4j-simple
from the jetty6 plugin in order to use an alternative implementation.
Cheers,
Mark
The easiest way to achieve this is to just add the dependency to your
pom with scopeprovided/scope
You can also exclude specific files from your WAR or EAR, take a look at:
http://jira.codehaus.org/browse/MWAR-6
http://jira.codehaus.org/browse/MEAR-3
This has also come up previously on user@
Is there a danger that artifacts in a repository can become corrupt? I'm
concerned about someone modifying source code with out changing a
projects version and redeploying the artifact. Is there a way to prevent
this?
There is also the case where source code is not changed but a component
is
Ok
I tried mvn assembly:assembly -DdescriptorId=bin (the doc is wrong
btw, it refers to -Dmaven.assembly.descriptorId=bin).
Is there a way in formats no specify no packaging at all, I want my
assembly expanded in a specific directory.
BTW the formats clause has no doc at all in the assembly
mvn assembly:directory will do that.
-Stephen
On 3/20/06, Pierre Monestie [EMAIL PROTECTED] wrote:
Ok
I tried mvn assembly:assembly -DdescriptorId=bin (the doc is wrong
btw, it refers to -Dmaven.assembly.descriptorId=bin).
Is there a way in formats no specify no packaging at all, I want my
That did thank you!!!
My last question:
At the top of my assembly descriptor I do:
fileset
outputDirectory/outputDirectory
includes
include*.jar/include
/includes
/fileset
Is there a way to rename the jars in order to remove the version
number? Something similar to
Helck, Christopher wrote:
Is there a danger that artifacts in a repository can become corrupt? I'm
concerned about someone modifying source code with out changing a
projects version and redeploying the artifact. Is there a way to prevent
this?
There is also the case where source code is not
its possible. To help prevent it, you should:
* use appropriate file and directory permissions
* always have the version set to *-SNAPSHOT, and use the relase plugin
to deploy the releases.
- Brett
On 3/21/06, Helck, Christopher [EMAIL PROTECTED] wrote:
Is there a danger that artifacts in a
Dear List,
I recently upgraded my JDK from 1.5.0_04 to 1.5.0_06. Now when I run
mvn compile
I get the following error:
Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.5.0_06\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the
Does that mean there is no soap interface?
On 3/20/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
On 8080, it's a RPC server.
In 1.0.3, we have a client for it :
http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/continuum-rpc-client/
Emmanuel
Lee Meador a écrit :
what version of changelog plugin are you using?
-allan
On 3/18/06, Tim Davies [EMAIL PROTECTED] wrote:
Hi,
Ive just been trying to get the changelog plugin to work for my maven2
sites. I find that only template pages are being generated and I get the
following errors in the output:
I have a build that consists of 3 modules and then a src directory for the
assembly:
./common/*
./ear/*
./war/*
./src/*
When I run an install, only the common.jar, war and ear are created. Then,
if I want to create an assembly, I run assembly:assembly and this seems to
run the build and then
Dear ,
You should remember the true name of jar should be same to jar name in
run-time .
thanks.
Tel: (020)36315358-328 Fax: (020)36315170
I guess this is also related to http://jira.codehaus.org/browse/MASSEMBLY-54
-allan
On 3/21/06, Mick Knutson [EMAIL PROTECTED] wrote:
I have a build that consists of 3 modules and then a src directory for the
assembly:
./common/*
./ear/*
./war/*
./src/*
When I run an install, only the
You can try to set childDelegationtrue/childDelegation in the
surefire plugin configuration
On 3/21/06, Chris Richardson [EMAIL PROTECTED] wrote:
Pete
You can download the source code for my book, which includes the POMs etc,
from: http://www.manning.com/crichardson
The embedded EJB 3
btw, you sure you placed your install script inside the src/main/resources
directory?
-allan
On 3/21/06, allan ramirez [EMAIL PROTECTED] wrote:
I guess this is also related to
http://jira.codehaus.org/browse/MASSEMBLY-54
-allan
On 3/21/06, Mick Knutson [EMAIL PROTECTED] wrote:
I have
that did it... much to my surprise :)
- Brill Pappin
On 3/20/06, Olivier Lamy [EMAIL PROTECTED] wrote:
Try :
mvn compile war:exploded. (or process-classes or a phase you need)
AFAIK, the mojo war:exploded doesn't have @phase in his declaration.
- Olivier
How do I use the Maven model converter? Is there a goal I can execute
('mvn convert' or something) to automatically migrate a Maven1 POM to a
Maven2 POM?
L.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
If I'm not mistaken, its just an XSLT, right?
So you load up your Maven1 project.xml file, then apply the XSLT to it
using an XSLT engine, and poof the output is a Maven2 pom.xml file.
;-)
If this is all Greek to you, reply back and I'll provide more exact
directions ie link to download etc.
Hi Wayne,
I checked the Signatures, The Signatures are as per the format which
you have specified.
Is there anything else which we need to check. Am struckup at this
stage... Need help to proceed
Regards
A S P Raj
On 3/20/06, Wayne Fay [EMAIL PROTECTED] wrote:
I don't know
Hi Jesse,
I have Tried the solutions which have given mvn -X test and mvn -U test
, still am getting the same Error. Am attaching the Error Please let me know
the possible ways to debug some more
Regards
A S P Raj
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level
I had a report plugin that used to compile with maven-reporting-impl-2.0.1.
When I switched to using maven 2.0.2. I tried to switch to using
maven-reporting-impl-2.0.2. However, now I get unresolved symbol errors for
SiteRenderer.java. It is no longer in doxia-core version 1-alpha-7.
Is there a
Hmm, I was thinking of the thing in maven/meven-model-converter in svn;
I'm not aware of an XSLT transformation. Where's that at?
Thanks,
L.
Wayne Fay wrote:
If I'm not mistaken, its just an XSLT, right?
So you load up your Maven1 project.xml file, then apply the XSLT to it
using an XSLT
This was discussed and the XSLT posted to the users list just a few days ago...
Search Archives for an email (with XSLT attachment) from Matthew L
Daniel in the thread titled Subject: Re: maven-corburtura POM v3 in
repo on March 11, 2006.
;-)
Wayne
On 3/21/06, Laurie Harper [EMAIL PROTECTED]
Thank you Johann for so quick answer.
Yes a have set the ejb3 to true.
Here is my pom.xml configuration:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.5/source
83 matches
Mail list logo