Folks,
I am currently developing a custom maven2 plugin that needs to parse
some xml files (using xmlbeans). Therefore I used the m2 xmlbeans
plugin at mojo.codehaus.org to generate the Java code for 3 different
schema namespaces.
Unit tests within the plugin verify that this code has been gener
I try to use site:deploy behind a proxy, but I receive an
UnknownHostException.
I have verified if the hostname was accessible from my machine by using
putty, and it works. I just had to configure the HTTP Proxy in putty.
I use the maven 2-alpha 3 version.
I have very poor knowledge in net
Jesse thank you for your answer. I tried to do as you suggested but got
this error when called m2 eclipse:eclipse:
[INFO] Reason: Failed to parse model from file
'E:\unzip\m2src\maven-components\pom.xml'.
Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
(position
: START
Since I couldn't execute eclipse:eclipse task because of error in xml I
imported maven pom.xml and latest maven-v4_0_0.xsd(from
maven-site\src\site\resources) into WSAD. Latest xsd has error because
of two configuration elements. I deleted one element because they were
the same. Then I used tha
The published POM is for alpha-3, but the code you are trying to build is
for beta-1 only.
The XSD will shortly be republished for beta-1 which is in the process of
being released.
there are also some known errors in the XSD. We are planning to resolve them
and republish it next week. There is
On 16.09.2005, at 10:28, Nitko2 wrote:
Jesse thank you for your answer. I tried to do as you suggested but
got this error when called m2 eclipse:eclipse:
[INFO] Reason: Failed to parse model from file 'E:\unzip\m2src
\maven-components\pom.xml'.
Error: 'TEXT must be immediately followed by END
Hi,
For some while now I have had problems with cvs dates.
I have just installed maven-1.1.-beta-2 in the hope that that would cure it,
but no.
The server was running cvs-1.12.9 which seemed to introduce this problem.
I have now upgraded the server to 1.12.12, which my client is also running
On Fri, 16 Sep 2005, [ISO-8859-1] Ralph P�llath wrote:
I think you're using an old version of m2.. are you using the bootstrapped
installation you just checked out?
-- Kenney
> On 16.09.2005, at 10:28, Nitko2 wrote:
> > Jesse thank you for your answer. I tried to do as you suggested but
> > got
Thanks Kenney. I used alpha-3 because I couldn't build new version for
some time. Now both build and eclipse:eclipse task work.
Kenney Westerhof wrote:
On Fri, 16 Sep 2005, [ISO-8859-1] Ralph P�llath wrote:
I think you're using an old version of m2.. are you using the bootstrapped
installatio
Hi Kenney
There's no direct route to the host repo1.maven.org (presumably
explaining the exception). However, I quite happily browse there with
Firefox etc, and other maven 1/2 projects build fine, downloading
repository artefacts as needed.
Settings.xml is:
I have now found why it works with putty.
In putty, there is an option "Do DNS lookup at proxy end". This option is
set to auto by default. If I set it to "no", it doesn't work.
Is it possible to configure a similar option with the maven plugin ?
From: "Gilles Scokart" <[EMAIL PROTECTED
Just confirmed this to be true. I changed it0063/pom.xml to a
hardcoded reference to junit.jar, chosen at random. The test then
passed.
On 16 Sep 2005, at 04:51, Brett Porter wrote:
I think you can't add classes.jar to the classpath as it contains
secured
packages like java.lang.
I think
I am working on a new project for creating Web Services for the
business. These will have EJB behind them, for internal Java to Java
use as well as business logic and data models. This is my problem I
need to have a parent project for the WS, EJB and logic with an outside
project for the models, th
Just did an update and the build fails almost straight away. Just
checked the url and there is indeed no so pom there yet.
Question - do you guys (core developers) have a local repository that
you test against because this kind of error seems to happen fairly
frequently. If you intend non c
Looks like the pom is now present. Go ahead and try again...
-Original Message-
From: Ashley Williams [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 09:05
To: Maven Users List
Subject: [m2] svn update breaks build
Just did an update and the build fails almost straight away.
Hi Tomas
I sympathise with you, but then how do you handle this situation:
project
+-core
+-optional-plugin1
+-optional-plugin2
+-optional-plugin3
+-examples-files
where project have a pom (also src/site, src/assembly, src/bin) and every
subproject also have a pom?
I would like to follow the: o
All,
Quick question. Can I use the dist plugin to do a source distribution
(dist:deploy-src) to my local repository? I wasn't able to get it to work.
Can it be used for this? Am I using the wrong plugin?
Thanks,
Ken
Ken Ballard
DFS Java Team Lead, NCLeads
ACS Government Healthcare Solutions
Hi Ashley,
It's already fixed. It's the middle of the release process, and I committed
before the repo sync.
It doesn't happen that frequently - we have a test running every 15 minutes
that confirms it is successful, running from a clean repository every day.
I don't recommend using SVN HEAD u
I got it to work. False alarm.
-Original Message-
From: Ballard, Ken [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 9:16 AM
To: 'users@maven.apache.org'
Subject: [M1] dist plugin
All,
Quick question. Can I use the dist plugin to do a source distribution
(dist:deploy-src) to
Hi,
If I build an artifact with a dependency on a snapshot (i.e. version
"1.0-SNAPSHOT") I get the latest copy of the dependency in the local repository
named groupId/artifactId-1.0-MMdd.HHmm-s.jar.
Is there a (simple) way to also generate a file in the local repository named
groupI
Hi David,
install should not number the JAR, but deploy does. We have an open issue to
download the numbered versions into a single SNAPSHOT version locally, as
well as making the numbering optional. Neither are included in beta-1.
Regards,
Brett
On 9/16/05, David Pick <[EMAIL PROTECTED]> wrot
Thanks for the prompt response.
Any idea when these will these features will be made available?
Cheers
Dave
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: 16 September 2005 14:33
To: Maven Users List
Subject: Re: [m2] Snapshot dependency handling
Hi David,
insta
They have been ranked minor - so at least beta-3, and risk being left to
Maven 2.1 as we get into the business end of the release.
Of course, votes influence that, and patches make it happen :)
Cheers,
Brett
On 9/16/05, David Pick <[EMAIL PROTECTED]> wrote:
>
> Thanks for the prompt response.
Hmm, it seems that the plugin doesn't use the proxy at all.
I put the ip adress in my host file, and now I just have Connection
time-out. I fear that's because the proxy is not used.
Can anyone confirm ?
Is it changed in the Beta release ?
I have now found why it works with putty.
In pu
My point is that projects shouldn't have "sub-poms"
Let's assume I have an application called "superbig" with 1 war for the web
view, 1 war for web services, 2 jars for POJO business services (one
containing "sell" logic and one containing "buy" logic), 1 jar for an MDB,
and an EAR to package
Do you know the issue numbers for these off the top of your head? I'd
like to put in my votes as well. Hopefully I'll be able to carve out
some time to create patches as well. Anxiously awaiting the beta
announcement and release.
..David..
-Original Message-
From: Brett Porter [mailto
Hi,
I am building an SWT application. This requires a set of external jar files
for SWT and a set of .so shared libraries.
The interesting thing is that all code nicely builds via maven and that the
test are hanging.
By setting maven.junit.fork to false, which I actually should not do since I
u
I thought it was working, but it's not. It puts the distributions directory
at the base of my project not in my local repository. Does anybody have an
example for this? I have this in my project.properties
...
maven.repo.list=R1
#settings for repository 'R1'
maven.repo.R1=file://C:\\Documents and
Hi,
I'm using Maven 1.1 beta 2 and I've got a goal which does a multiproject
build and creates a multiproject site. I would like the tests to only be run
once when running this "multi:all" and therefore I've created the goal
below:
${pom.getPluginContext(
Did you try something like
instead of
${pom.getPluginContext('maven-test-plugin').setVariable('maven.test.skip
',trueValue)}
or just :
Arnaud
On 9/16/05, Michael Owen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm using Maven 1.1 beta 2 and I've got a goal which does a multiproject
> build a
Hi,
I have installed Maven 1.1 on a Linux Redhat system. Need to build my
code base present in the VSS and send mail. The VSS structure is present in a
VSS server.
How do I go about doing this?
Thanking you,
Arun Makkath
Thanks for you help, but after changing it to:
value="true"/>
value="false"/>
it still didn't work. Any more ideas? :)
Mike
Did you try something like
value="true"/>
instead of
${pom.getPluginContext('maven-test-plugin').setV
http://jira.codehaus.org/browse/MNG-230 for a single SNAPSHOT locally.
Optional disablement has only been filed under m1 - it is probably worth
filing separately for m2 as the code is different.
Cheers,
Brett
On 9/16/05, David Jackman <[EMAIL PROTECTED]> wrote:
>
> Do you know the issue numbers
I'm using maven 1.1 beta 2, win xp
I have a multiproject and my tests are not being run.
Junit tests summary:
Tests Errors FailuresSuccess rateTime(s)
0 0 0 ? 0.00
But the tests appear at tests xref.
I don't have any property telling the tests to b
I'm using maven 1.1 beta 2, win xp
I have a multiproject and my tests are not being run.
Junit tests summary:
Tests Errors FailuresSuccess rateTime(s)
0 0 0 ? 0.00
But the tests appear at tests xref.
I don't have any property telling the tests to b
(Not sure if this is the correct mailing list)
I'm interested in writing a plugin which does stuff to a svn
repository and came across the maven scm module. Does anyone have a
quick five-line-or-less example of how to use it and a few
instructions of which libraries I need? I looked at the
Try using **/*Test.java etc.
**/* means within subdirectories, and this is probably the reason if the
test files are not directly in
testsrc but are in subdirectories due to being in packages etc.
Mike
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1>
From: emerson cargnin
<[E
I known it's un but if this error can help : (;-))
It appends on start.
Error while deploying application
'continuum-plexus-application-1.0-alpha-4-SNAPSHOT.jar'.
org.codehaus.plexus.application.ApplicationServerException: Could not
deploy the JAR
at
org.codehaus.plexus.application.d
Is there an easy way to include dependency JARS in a lib/ directory
when generating binary and src distributions? I've seen project.xml
files with dependency properties. I tried that but it
has no effect. Am I going to have to write some Jelly to do this?
--
Craig McDaniel
-
maven1 maven-scm-plugin has some doc on how to setup your url in your
project.xml.
Should apply for pom.xml as well.
the code is at http://svn.apache.org/repos/asf/maven/scm/trunk
-Dan
On 9/16/05, Ashley Williams <[EMAIL PROTECTED]> wrote:
>
> (Not sure if this is the correct mailing list)
>
Looks like the plugin I need. Is it available for m2 since I don't
see it in the remote repository.
On 16 Sep 2005, at 16:51, dan tran wrote:
maven1 maven-scm-plugin has some doc on how to setup your url in your
project.xml.
Should apply for pom.xml as well.
the code is at http://svn.apache.
Got it to work:
...
maven.repo.list=R1
#settings for repository 'R1'
maven.repo.R1=file://c
maven.repo.R1.directory=/Documents and Settings/kballard/.maven/repository
...
-Original Message-
From: Ballard, Ken [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 10:14 AM
To: 'Maven
Hi Paul,
> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]
> Sent: mercredi 14 septembre 2005 14:49
> To: Maven Users List
> Subject: Re: [ANN] Article on building J2EE projects with Maven 1.1
>
> Vincent,
Sorry for answering late, I was at the Javazone conference.
> I
Vincent,
I tried to checkout but got the following error:
$ svn co http://www.mavenbook.org/svn/mdn/code/j2ee
svn: REPORT request failed on '/svn/!svn/vcc/default'
svn: REPORT of '/svn/!svn/vcc/default': 400 Bad Request(
http://www.mavenbook.org)
That happenend on cygwin and also Eclipse/subcli
a m2 scm plugin is available
(http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-scm-plugin/)
Sources are in maven-scm svn repo.
The correct list is scm-dev@maven.apache.org ;-)
Emmanuel
Ashley Williams wrote:
Looks like the plugin I need. Is it available for m2 since I don't see
The Apache Maven team are proud to announce the beta release of Maven 2.0.
Download it from http://maven.apache.org/maven2/download.html
Maven is a software project management and comprehension tool. Based on
the concept of a project object model (POM), Maven can manage a
project's build, reporti
I have had success doing the following:
1) add xmlns:artifact="artifact" to the maven.xml file's project tag
2) add the following preGoal code:
I found that if the maven:set was commented out the tests ran, and when it
was not, the tests did not run. I think that is
Andy Glick wrote:
I have had success doing the following:
1) add xmlns:artifact="artifact" to the maven.xml file's project tag
2) add the following preGoal code:
I found that if the maven:set was commented out the tests ran, and when
it was not, the tests did not r
Vincent,
Thanks for the update.
Where should I post patches?
Paul Spencer.
Vincent Massol wrote:
Hi Paul,
-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]
Sent: mercredi 14 septembre 2005 14:49
To: Maven Users List
Subject: Re: [ANN] Article on building J2EE projects
I am trying to integrate Spring into my Swing app. Currently I have a jar
that is created with all my UI classes, and then uberjar creates another jar
and I run that. So I need to figure out how to added my
applicationContext.xml into that jar, and how to access it via Spring.
Thank You
Mick
Congratulations to the Apache Maven team - this is a great milestone!
Kind Regards,
John Fallows.
On 9/16/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> The Apache Maven team are proud to announce the beta release of Maven 2.0.
>
> Download it from http://maven.apache.org/maven2/download.html
>
Ok, so i've done some more digging and it appears to be a classloader
problem in M2 rather than anything xmlbeans-specific.
The reason that some of the xmlbeans type information is not available
is that a call to
contextClassLoader.getResourceAsStream("some-generated-xmlbeans-resource")
is returni
this is becoming a fairly common problem domain it seems
as far as I know there is still no real straight-forward way to solve this
outside of mucking around with classloaders in your plugin.
there is the mechanism which would probably work as well but
that is pretty cumbersome for this partic
Hi Dru,
sorry for the quick short reply, but are you considering using maven1 or
maven2 for this project?
I don't know much about maven1, but if you are considering using maven2 for
this my initial impression is that you would be best served to give up the
notion on how it will work with ant
Just to be clear, the generated resources are actually packaged in my
plugin JAR.
However, when the plugin executes, it does not have access to those
resources because the context class loader on the thread is not the
class loader of the plugin.
I am proposing that the classloader of the plugin c
I finally worked out some Jelly code that I believe addresses your requirements
using m1.1b2:
1) my earlier remarks about the artifact plugin's namespace can be ignored, it
isn't required
2) in your multiproject context, if you add the preGoal logic to the top level
maven.xml file it will be
56 matches
Mail list logo