Re: CVS module name with whitespace

2004-05-27 Thread Ian Neruda
> > Hi!
> > 
> > I'm trying to fetch cvs data from module that has
> > whitespace in its name. Module name is XML Utils
> and I
> > receive error:
> > 
> > [cvs] cvs server: cannot find module `Utils' -
> ignored
> > [cvs] cvs [checkout aborted]: cannot expand
> modules
> > 
> > Everything works with other modules.
> > 
> > Can I do that or I need to rename module in order
> to
> > use maven?
> > 
> > Thanks,
> > Ian
> > 

--- Dion Gillard <[EMAIL PROTECTED]> wrote:
> How are you invoking Maven?
> Which plugin?
> 

This is repository part of project.xml:


scm|cvs|pserver|[EMAIL PROTECTED]|d:\cvs_repository\dir|XML
Utils


I'm using scm:checkout-project goal. 




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CVS module name with whitespace

2004-05-27 Thread Dion Gillard
How are you invoking Maven?
Which plugin?

On Thu, 27 May 2004 23:24:24 -0700 (PDT), Ian Neruda <[EMAIL PROTECTED]> wrote:
> 
> Hi!
> 
> I'm trying to fetch cvs data from module that has
> whitespace in its name. Module name is XML Utils and I
> receive error:
> 
> [cvs] cvs server: cannot find module `Utils' - ignored
> [cvs] cvs [checkout aborted]: cannot expand modules
> 
> Everything works with other modules.
> 
> Can I do that or I need to rename module in order to
> use maven?
> 
> Thanks,
> Ian
> 
> __
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CVS module name with whitespace

2004-05-27 Thread Ian Neruda
Hi!

I'm trying to fetch cvs data from module that has
whitespace in its name. Module name is XML Utils and I
receive error:

[cvs] cvs server: cannot find module `Utils' - ignored
[cvs] cvs [checkout aborted]: cannot expand modules

Everything works with other modules.

Can I do that or I need to rename module in order to
use maven?

Thanks,
Ian




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven jar

2004-05-27 Thread Brett Porter
Yes, I do see why this is happening. Perhaps what should happen is for 
the plugins to provide a jar override that specifies 
${maven.home}/lib/maven.jar if that works.

- Brett
Gilles Dodinet wrote:
Brett Porter wrote:
Which part of maven does this?
Most plugins use rc2 for compile time at the moment. There should be 
no runtime dependency as the version you are running is already 
loaded into memory.

not sure exactly where it happens but it seems to be related to 
multiproject. heres a simple test to reproduce it : delete maven.jar 
from repo, in an almost empty project run maven multiproject:site (no 
need to specify the various multiproject properties). maven will then 
try to download maven.jar. this doesnot happen if running, f.i., 
custom goals or other goal (e.g. java:compile)

-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: maven jar

2004-05-27 Thread Gilles Dodinet
Brett Porter wrote:
Which part of maven does this?
Most plugins use rc2 for compile time at the moment. There should be 
no runtime dependency as the version you are running is already loaded 
into memory.

not sure exactly where it happens but it seems to be related to 
multiproject. heres a simple test to reproduce it : delete maven.jar 
from repo, in an almost empty project run maven multiproject:site (no 
need to specify the various multiproject properties). maven will then 
try to download maven.jar. this doesnot happen if running, f.i., custom 
goals or other goal (e.g. java:compile)

-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: About Dependencies

2004-05-27 Thread Brett Porter
-o or the property maven.mode.offline=true will do the trick.
You'll want to have a good grasp of rsync or something though :)
Cheers,
Brett
YKonuslu wrote:
Hi,
I'm a new user of maven. Great work, thanks to all developers and contributors. 
I wonder if there is some way to say maven that it should not download the dependencies, since i will do the downloads manually. 
Actually i will install maven on a machine which has no internet connection. So i will do the downloads on a computer with connection and use the downloaded files to resolve the dependencies on the maven installed computer.
Is this possible?

Best Regards
Yagmur Konuslu 


Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi 
bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, 
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi 
gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir.


Attention: 

This e-mail message is privileged and confidential. If you are not the intended recipient please 
delete the message and notify the sender. E-mails to and from the company are monitored for 
operational reasons and in accordance with lawful business practices. Any views or opinions 
presented are solely those of the author and do not necessarily represent the views of the company.


 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


About Dependencies

2004-05-27 Thread YKonuslu
Hi,
I'm a new user of maven. Great work, thanks to all developers and contributors. 
I wonder if there is some way to say maven that it should not download the 
dependencies, since i will do the downloads manually. 
Actually i will install maven on a machine which has no internet connection. So i will 
do the downloads on a computer with connection and use the downloaded files to resolve 
the dependencies on the maven installed computer.
Is this possible?

Best Regards
Yagmur Konuslu 


Dikkat:

Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen 
gondericiyi 
bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan 
gecirilmekte, 
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi 
gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir.


Attention: 

This e-mail message is privileged and confidential. If you are not the intended 
recipient please 
delete the message and notify the sender. E-mails to and from the company are 
monitored for 
operational reasons and in accordance with lawful business practices. Any views or 
opinions 
presented are solely those of the author and do not necessarily represent the views of 
the company.




Re: Crossreferencing Javadoc between projects?

2004-05-27 Thread matthew.hawthorne
matthew.hawthorne wrote:
Here's a hack which I used to solve this problem.  I'd imagine that this 
javadoc is being put online somewhere, right? So just add the URL of your 
destination for the javadoc to the maven.javadoc.links property.

For example, I knew I was deploying my site so it was accessible as 
http://somewhere/project, with the subproject directories underneath, 
so I put this in my project.properties:

maven.javadoc.links=http://somewhere/project/project1/apidocs, 
http://somewhere/project/project2/apidocs

Like I said, it's a hack.  Not very flexible, but it does the job.

I forgot to mention that you have to deploy the site so that it's
viewable on the web before the crosslinking can work.   So
you'll have to build it this way twice to get it working, but after
that it's smooth sailing.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[ANN] JBlanket plugin 1.0.0503 release

2004-05-27 Thread Tim Shadel
The JBlanket team is pleased to announce the JBlanket plugin 1.0.0503 
release!

http://csdl.ics.hawaii.edu/Tools/JBlanket/maven-plugin/
JBlanket is a method coverage tool for Java programs. It modifies the byte
code to measure coverage during the execution of JUnit test cases.
Requiring a "green bar" when unit tests run is an easy policy to
state and to measure.  At the end of the day either all tests passed
or not.  Many have adopted that mantra.  It's power is in its simplicity.
Code coverage policy should be that simple.
Achieving a 100% coverage rate using a statement level tool usually
requires large amounts of effort.  Instead of a simple coverage
policy, what usually evolves is the general acceptance of a coverage
rate that's "high enough for us", or abandonment of coverage measures
altogether.  This easily leaves a wide net of functionality uncovered
by automated tests.  Intuitively, some code is worth more effort
to test than others.
JBlanket strikes a great balance.  It leverages the simplicity of the
"green bar" coverage policy by using simple heuristics to make the
coverage measure meaningful and practical.  First, only method coverage
is measured.  Second, you can choose to categorically ignore methods that
aren't worth the effort of testing -- like one-line methods.  This makes
it easier to maintain 100% coverage, and keep up the culture of quality.
Then, statement level tools can help check specific classes or problem 
areas.

The plugin has been tested with Maven 1.0-rc3. It can be installed
through Maven:
maven plugin:download -DartifactId=maven-jblanket-plugin 
-DgroupId=jblanket -Dversion=1.0.0503

Check out the documentation for how to enable JBlanket for your project
http://csdl.ics.hawaii.edu/Tools/JBlanket/maven-plugin/enable.html
Enjoy!
Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Crossreferencing Javadoc between projects?

2004-05-27 Thread Arnaud Heritier
Actually there's no mechanism to do it.

I think also that it could be a good idea to implement something like a
javadoc:multiproject which could use the maven.compile.src.set feature that
we added some days ago.

You can add an issue on Jira if you are interested and I'll work on it after
the 1.0 final.

Arnaud

> -Message d'origine-
> De : Mike Sluyter [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 28 mai 2004 00:32
> À : [EMAIL PROTECTED]
> Objet : Crossreferencing Javadoc between projects?
> 
> Hi,
> I've just started using maven and I think it's awesome; I've gotten it to
> build multiple projects with the reactor, but our projects are
> interdependent, and when multiproject is used to generate the javadoc, the
> resulting javadocs are partitioned by project. Ie, there's no
> crossreferencing, which would be nice. Is that possible via some other
> mechanism, or am I missing something? I tried googling it and found a
> similar question but no definitive answer. I looked at Maven's javadoc,
> and
> it doesn't appear to be crossreferenced across projects either, so perhaps
> there's no easy solution to this. Just curious.
> 
> TIA,
> Mike Sluyter
> 
> --
> Mike Sluyter
> [EMAIL PROTECTED]
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven jar

2004-05-27 Thread Brett Porter
Which part of maven does this?
Most plugins use rc2 for compile time at the moment. There should be no 
runtime dependency as the version you are running is already loaded into 
memory.

- Brett
Gilles Dodinet wrote:
hi-
this question is troubling me since time now : why does maven depend 
on maven.jar, i.e. why the artifactId-version naming pattern is not 
enforced here  ?

thanks.
-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SCM Plugin

2004-05-27 Thread Brett Porter
It's coming.
An example is to look at the Maven developers release process for 
plugins on the Maven web site.

STRAYER, JON (SBCSI) wrote:
Is there any documentation available on how to use the perform-release goal
of the scm plugin?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE : getPluginContext........

2004-05-27 Thread Brett Porter
BTW, the old version should still work, but is deprecated.
You'll probably have the same problems with ... you need to 
somehow indicate dependency on the plugin before doing this (a prereq's 
goal, a plugin dependency in the POM, or using a taglib from that plugin 
- the last being the "standard")

Heritier Arnaud wrote:
You can try :

Arnaud
 

-Message d'origine-
De : Nathan Coast [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 27 mai 2004 15:38
À : Maven Users
Objet : getPluginContext

Hi,
I have some jelly script that no longer seems to work.  I wrote this 
with rc1.  Has something been changed since then that would 
break this?

${pom.getPluginContext('maven-example-plugin').getVariable('ma
ven.example.dir')}
I'm trying to use variables defined in one plugin within another. 
Should I be using different method calls?

cheers
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: plugin-parent error with 1.0rc3

2004-05-27 Thread Brett Porter
You shouldn't have the plugin-parent-1.0 directory in your cache - it 
thinks this is a plugin, but it doesn't have a script.

Try removing the plugin cache directory (.../.maven/plugins) and see if 
that helps. Check whether there is a mistaken plugin-parent-1.0.jar in 
$MAVEN_HOME/plugins first and remove that too.

- Brett
Joe Germuska wrote:
Perhaps if you run maven -e and show the FileNotFoundException stack 
trace
we could find out where it is occurring, although it would be easier 
to grep
for the use of plugin-parent :)

Well in all my mucking around, I'm getting different behavior now -- 
even when I remove the jimmied "plugin.jelly" file, I don't get the 
error any more, but I was able to find it in one of the scrollback 
buffers.

germuska% maven -e tomcat
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
Plugin cache will be regenerated
org.apache.maven.MavenException: Error reading plugin script
at 
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:181) 

at 
org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:205) 

at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:257)
at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

at 
org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:472)
at org.apache.maven.cli.App.main(App.java:1214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.io.FileNotFoundException: 
/Users/germuska/.maven/plugins/plugin-parent-1.0/plugin.jelly (No such 
file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at 
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177) 

at 
org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:205) 

at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:257)
at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207) 

at 
org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:472)
at org.apache.maven.cli.App.main(App.java:1214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
At 1:52 PM +1000 5/27/04, Brett Porter wrote:
The problem is that the project.xml file is shared between plugin 
build-time
and plugin run-time. Extending another parent if useful for 
build-time, but
not run-time when it is not present.

I guess I have a pretty primitive understanding of how plugins work; I 
managed to write one a while back, but I didn't realize that 
project.xml had any run-time implications.  Can you point to any more 
info about this?

Thanks
Joe


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Crossreferencing Javadoc between projects?

2004-05-27 Thread matthew.hawthorne
Mike Sluyter wrote:
I've just started using maven and I think it's awesome; I've gotten it to
build multiple projects with the reactor, but our projects are
interdependent, and when multiproject is used to generate the javadoc, the
resulting javadocs are partitioned by project. Ie, there's no
crossreferencing, which would be nice. Is that possible via some other
mechanism, or am I missing something? I tried googling it and found a
similar question but no definitive answer. I looked at Maven's javadoc, and
it doesn't appear to be crossreferenced across projects either, so perhaps
there's no easy solution to this. Just curious.

Here's a hack which I used to solve this problem.  I'd imagine that this 
javadoc is
being put online somewhere, right? So just add the URL of your 
destination for the
javadoc to the maven.javadoc.links property.

For example, I knew I was deploying my site so it was accessible as 
http://somewhere/project,
with the subproject directories underneath, so I put this in my 
project.properties:

maven.javadoc.links=http://somewhere/project/project1/apidocs, 
http://somewhere/project/project2/apidocs

Like I said, it's a hack.  Not very flexible, but it does the job.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Crossreferencing Javadoc between projects?

2004-05-27 Thread Mike Sluyter
Hi,
I've just started using maven and I think it's awesome; I've gotten it to
build multiple projects with the reactor, but our projects are
interdependent, and when multiproject is used to generate the javadoc, the
resulting javadocs are partitioned by project. Ie, there's no
crossreferencing, which would be nice. Is that possible via some other
mechanism, or am I missing something? I tried googling it and found a
similar question but no definitive answer. I looked at Maven's javadoc, and
it doesn't appear to be crossreferenced across projects either, so perhaps
there's no easy solution to this. Just curious.
 
TIA,
Mike Sluyter
 
--
Mike Sluyter
[EMAIL PROTECTED]
 


RE: Mevenide - eclipse 3.0 M8 (was: Plugin built...)

2004-05-27 Thread Gilles Dodinet
Omair-Inam Abdul-Matin wrote:
I see the directory.

actually that is useful when upgrading feature - seems  3.0 Mx have some 
troubles with managing feature versions (ive experimented it and read 
similar experiences on o.e.platform newsgroup). anyway ive uploaded a 
zip archive here : http://dist.codehaus.org/mevenide/release/. you can 
use it to install from a local update site. please report any problems 
to mevenide user-list.

thanks,
-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RC3 problem with clover

2004-05-27 Thread Incze Lajos
On Thu, May 27, 2004 at 09:12:22AM +1000, Brett Porter wrote:
> Please submit to JIRA so we don't forget it - sounds like a bug.
> 
> - Brett

Did anybody see this code coverage tool?

http://emma.sourceforge.net/index.html

incze

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dumb question: config dir = config dir

2004-05-27 Thread Omair-Inam Abdul-Matin
Omair-Inam Abdul-Matin wrote:
Omair-Inam Abdul-Matin wrote:
Gilles Dodinet wrote:
Omair-Inam Abdul-Matin wrote:
I followed the link provided by Gilles and am trying to build the 
eclipse plugin.  All goes well until the final step.  I chang into 
the mevenide-master directory and issue the maven 
mevenide-eclipse:build command.  Maven chugs along for a while, then 
chokes and dies :(

I have attached the final few pages of output given by maven.  Can 
anyone guide me as to what the problem is?

Note that my setup environment is correctly set up (I have 
ECLIPSE_HOME set to point to my Eclipse installation directory)


Omair,
problem is that youve built against M9. 

Oh (:-0)
i havent yet committed the changes i made for M9. i just committed 
changes so it will at least compile, however M9 seems to _really_ 
break runtime.. if you're interested i can upload a M8 compatible 
update site.

-- gd

I would definitely be interested in an M8 compatible website.  So if I 
understand correctly this would allow me to go through the 
Help->Software Updates->Find and Install option in Eclipse 3.0M8 to 
install the plugin... right?

Omair

I managed to build the plugin against 3.0M8.  Now what is the 
configuration directory mentioned in the wiki that I have to delete.  By 
that are you referring to the /path/to/my/workspace/.metadata directory?
If not then which directory?

Omair
I see the directory.
Omair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Plugin built...

2004-05-27 Thread Omair-Inam Abdul-Matin
Omair-Inam Abdul-Matin wrote:
Gilles Dodinet wrote:
Omair-Inam Abdul-Matin wrote:
I followed the link provided by Gilles and am trying to build the 
eclipse plugin.  All goes well until the final step.  I chang into 
the mevenide-master directory and issue the maven 
mevenide-eclipse:build command.  Maven chugs along for a while, then 
chokes and dies :(

I have attached the final few pages of output given by maven.  Can 
anyone guide me as to what the problem is?

Note that my setup environment is correctly set up (I have 
ECLIPSE_HOME set to point to my Eclipse installation directory)


Omair,
problem is that youve built against M9. 
Oh (:-0)
i havent yet committed the changes i made for M9. i just committed 
changes so it will at least compile, however M9 seems to _really_ 
break runtime.. if you're interested i can upload a M8 compatible 
update site.

-- gd

I would definitely be interested in an M8 compatible website.  So if I 
understand correctly this would allow me to go through the 
Help->Software Updates->Find and Install option in Eclipse 3.0M8 to 
install the plugin... right?

Omair
I managed to build the plugin against 3.0M8.  Now what is the 
configuration directory mentioned in the wiki that I have to delete.  By 
that are you referring to the /path/to/my/workspace/.metadata directory?
If not then which directory?

Omair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Maven error building mevenide

2004-05-27 Thread Omair-Inam Abdul-Matin
Gilles Dodinet wrote:
Omair-Inam Abdul-Matin wrote:
I followed the link provided by Gilles and am trying to build the 
eclipse plugin.  All goes well until the final step.  I chang into the 
mevenide-master directory and issue the maven mevenide-eclipse:build 
command.  Maven chugs along for a while, then chokes and dies :(

I have attached the final few pages of output given by maven.  Can 
anyone guide me as to what the problem is?

Note that my setup environment is correctly set up (I have 
ECLIPSE_HOME set to point to my Eclipse installation directory)

Omair,
problem is that youve built against M9. 
Oh (:-0)
i havent yet committed the 
changes i made for M9. i just committed changes so it will at least 
compile, however M9 seems to _really_ break runtime.. if you're 
interested i can upload a M8 compatible update site.

-- gd
I would definitely be interested in an M8 compatible website.  So if I 
understand correctly this would allow me to go through the 
Help->Software Updates->Find and Install option in Eclipse 3.0M8 to 
install the plugin... right?

Omair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Maven error building mevenide

2004-05-27 Thread Gilles Dodinet
Omair-Inam Abdul-Matin wrote:
I followed the link provided by Gilles and am trying to build the 
eclipse plugin.  All goes well until the final step.  I chang into the 
mevenide-master directory and issue the maven mevenide-eclipse:build 
command.  Maven chugs along for a while, then chokes and dies :(

I have attached the final few pages of output given by maven.  Can 
anyone guide me as to what the problem is?

Note that my setup environment is correctly set up (I have 
ECLIPSE_HOME set to point to my Eclipse installation directory)

Omair,
problem is that youve built against M9. i havent yet committed the 
changes i made for M9. i just committed changes so it will at least 
compile, however M9 seems to _really_ break runtime.. if you're 
interested i can upload a M8 compatible update site.

-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Maven error building mevenide

2004-05-27 Thread Omair-Inam Abdul-Matin
I followed the link provided by Gilles and am trying to build the 
eclipse plugin.  All goes well until the final step.  I chang into the 
mevenide-master directory and issue the maven mevenide-eclipse:build 
command.  Maven chugs along for a while, then chokes and dies :(

I have attached the final few pages of output given by maven.  Can 
anyone guide me as to what the problem is?

Note that my setup environment is correctly set up (I have ECLIPSE_HOME 
set to point to my Eclipse installation directory)

Omair
Note: 
C:\eclipse\workspace\mevenide\mevenide-core\src\java\org\mevenide\project\
io\JarOverrideReader.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.

java:jar-resources:
Copying 3 files to 
C:\eclipse\workspace\mevenide\mevenide-master\..\mevenide-cor
e\target\classes
Copying 6 files to 
C:\eclipse\workspace\mevenide\mevenide-master\..\mevenide-cor
e\target\classes

test:prepare-filesystem:
[mkdir] Created dir: 
C:\eclipse\workspace\mevenide\mevenide-core\target\test
-classes
[mkdir] Created dir: 
C:\eclipse\workspace\mevenide\mevenide-core\target\test
-reports

test:test-resources:
Copying 11 files to 
C:\eclipse\workspace\mevenide\mevenide-master\..\mevenide-co
re\target\test-classes
Copying 8 files to 
C:\eclipse\workspace\mevenide\mevenide-master\..\mevenide-cor
e\target\test-classes

test:compile:
[javac] Compiling 32 source files to 
C:\eclipse\workspace\mevenide\mevenide-
core\target\test-classes

test:test:
mevenide:prepare-fs:
[junit] Running 
org.mevenide.project.dependency.DefaultDependencyPathFinderT
est
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.591 sec
[junit] Running org.mevenide.project.dependency.DependencyFactoryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.45 sec
[junit] Running 
org.mevenide.project.dependency.DependencyResolverFactoryTes
t
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.351 sec
[junit] Running org.mevenide.project.dependency.DependencyResolverTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.591 sec
[junit] Running org.mevenide.project.dependency.DependencyUtilTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.701 sec
[junit] Running org.mevenide.project.io.CarefulProjectMarshallerTest
- properties.. 
key=anotherPro
creating new property element anotherPro
key=test.pro
creating new property element test.pro
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.5 sec
[junit] Running org.mevenide.project.io.DefaultProjectMarshallerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.381 sec
[junit] Running org.mevenide.project.io.JarOverrideReader2Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.761 sec
[junit] Running org.mevenide.project.io.JarOverrideReaderTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.511 sec
[junit] Running org.mevenide.project.io.JarOverrideWriterTest
maven.jar.fake fake2=C:/temp space temp/bleah/fake fake2.jar
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.312 sec
[junit] Running org.mevenide.project.io.JDomProjectUnmarshallerTest
(0 ms) [main] FATAL: 
org.mevenide.project.io.JDomProjectUnmarshaller#parse : dep
recated. no way to create a reasonable entity resolver.
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.411 sec
[junit] Running org.mevenide.project.io.ProjectReaderTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.38 sec
[junit] Running org.mevenide.project.io.ProjectWriterTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.273 sec
[junit] Running org.mevenide.project.ProjectComparatorFactoryTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.3 sec
[junit] Running org.mevenide.project.ProjectComparatorTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.64 sec
[junit] Running org.mevenide.project.source.SourceDirectoryUtilTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.6 sec
[junit] Running org.mevenide.runner.OptionsRegistryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.24 sec
[junit] Running org.mevenide.util.DefaultProjectUnmarshallerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.351 sec
[junit] Running org.mevenide.util.StringUtilsTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.01 sec

jar:jar:
[copy] Copying 1 file to 
C:\eclipse\workspace\mevenide\mevenide-core\target\
classes\templates\standard
[jar] Building jar: 
C:\eclipse\workspace\mevenide\mevenide-core\target\meven
ide-core-0.1.1-SNAPSHOT.jar
[jar] Building jar: 
C:\eclipse\workspace\mevenide\mevenide-core\target\meven
ide-core-test-0.1.1-SNAPSHOT.jar
Copying: from 
'C:\eclipse\workspace\mevenide\mevenide-

Re: Mevenide working ... ?

2004-05-27 Thread Gilles Dodinet
Omair-Inam Abdul-Matin wrote:
Is mevenide in working condition right now...?
Omair
there are still some outstanding issues (with the biggest one being to 
not support entities in the pom editor) but yes its working. please also 
note the eclipse 3.0 M9  is not supported yet. altho i have not read 
anything about it, M9 seems to have introduced some changes in the 
External Tools API, causing some unexpected errors im trying to 
investigate. M8 is however fully supported.

-- gd

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Mevenide working ... ?

2004-05-27 Thread Omair-Inam Abdul-Matin
Gilles Dodinet wrote:
Omair-Inam Abdul-Matin wrote:
I was searching for threads on Mevenide and managed to find one that 
links to the build instructions for Eclipse.  That works fine.

However from the main mevenide page the link to the wiki is broken.
Could one of the committer fix it please?

hi-
this is already fixed in cvs. however site has not been updated since 
then. it will with the next release which has been a bit delayed but 
should drop in the coming days. in any case heres the link :

http://docs.codehaus.org/display/MEVENIDE/Home
regards,
-- gd
Is mevenide in working condition right now...?
Omair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


maven jar

2004-05-27 Thread Gilles Dodinet
hi-
this question is troubling me since time now : why does maven depend on 
maven.jar, i.e. why the artifactId-version naming pattern is not 
enforced here  ?

thanks.
-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SOLVED: Re: Error with cvs / scm and multiple cvs related plugins

2004-05-27 Thread Eric Giguere
Hi all
A very good friend of mine pointed me out the problem... the CVS client 
itself.
Was using the CVS client supplied with WinCVS...ERROR!

With the one from CVSNT, it works perfectly.
Eric.
Eric Giguere wrote:
Hi all
I have here a pretty strange error that has been bugging me for a 
while and would really appreciate some hints, if any.

It concerns CVS and the plugins...
Right now, I'm trying to use the cvsstat plugin on my project but 
everytime I try to generate the report, it complains about an error in 
the ant:cvs tag.

   [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot -z3 log error=2

If I try to run the scm plugin, then, something very similar happens:
Using SCM method: cvs
Using CVSROOT: :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot
Using module: software
BUILD FAILED
File.. file:/C:/Documents and 
Settings/Eric/.maven/plugins/maven-scm-plugin-1.2-S
NAPSHOT/
Element... ant:cvs
Line.. 199
Column 9
java.io.IOException: CreateProcess: cvs 
-d:pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot -q update -Pd error=2
Total time: 5 seconds
Finished at: Thu May 27 11:25:45 EDT 2004

Strange... My cvs executable is in the path. And if for instance I run 
the cvs command shown up in the command line, it works perfectly.

Any clue?
thx a lot
Eric.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Mevenide wiki link broken

2004-05-27 Thread Gilles Dodinet
Omair-Inam Abdul-Matin wrote:
I was searching for threads on Mevenide and managed to find one that 
links to the build instructions for Eclipse.  That works fine.

However from the main mevenide page the link to the wiki is broken.
Could one of the committer fix it please?

hi-
this is already fixed in cvs. however site has not been updated since 
then. it will with the next release which has been a bit delayed but 
should drop in the coming days. in any case heres the link :

http://docs.codehaus.org/display/MEVENIDE/Home
regards,
-- gd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SCM Plugin

2004-05-27 Thread STRAYER, JON (SBCSI)
Is there any documentation available on how to use the perform-release goal
of the scm plugin?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Mevenide wiki link broken

2004-05-27 Thread Omair-Inam Abdul-Matin
I was searching for threads on Mevenide and managed to find one that 
links to the build instructions for Eclipse.  That works fine.

However from the main mevenide page the link to the wiki is broken.
Could one of the committer fix it please?
Omair
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Issue with incomplete plugin downloads

2004-05-27 Thread Dan Tran
It is a known bug and wont be fix until maven 2

-Dan

- Original Message - 
From: "Carlos Sanchez" <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 7:50 AM
Subject: Issue with incomplete plugin downloads


Hi,

When a plugin download is incomplete the partial file is kept in local
repository. Next time maven is run it will try to uncompress the plugin,
getting a java.io.EOFException: Unexpected end of ZLIB input stream, which
is logical.
When you try to download again it is not downloaded, instead the incomplete
file is got from local repository and must be manually removed.

Is this a known issue?


You can try with
maven plugin:download -DartifactId=maven-xdoclet-plugin -DgroupId=xdoclet
-Dversion=1.2
And hit Ctrl-Break while downloading


Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Min acceptable POM for ibiblio upload (was Re: ibiblio uploads question)

2004-05-27 Thread Omair-Inam Abdul-Matin
Jason van Zyl wrote:
On Thu, 2004-05-27 at 09:36, Omair-Inam Abdul-Matin wrote:
Hi,
I've made a bunch of upload requests to ibiblio with detailed enough 
POMs that allow the libs to compile and I'm just wondering what specific 
requirements must the POM satisfy. 

Are you talking about a project that doesn't use maven as its build
tool? 
One that doesn't use maven as its build tool.
If the project builds with maven the POM you provide should be
fine. If you don't use maven then it would at least be nice to have the
groupId
artifactId
name
currentVersion
dependencies
whoops I didn't put groupId in the last few requests that I made. 
Actually wait... I think you're referring to the groupId and artifactId 
that are successor elements of the dependencies element.  The groupId 
element that exists at the top-level actually isn't even present in the 
Getting Started->Integrate doc.
So basically if I understand correctly the min you'd like is a pom in 
the following form:


Project name
  

  mockobjects
  mockobjects-core
  0.0.1

...
  

If you think that's clear, I think it may be helpful to put it on the 
upload instructions
I will add to the upload instructions.

Obviously transitive dependencies 
support requires that I specify all dependencies of a library.  But, 
does the POM actually have to be able to compile the project?  

Yes, one would hope this is the case. Currently I am assuming the POM is
intact and is correct. I do limited checking of the POM.

For one 
of the projects I had to put a sourceModification element in to make it 
compile...

If you are using maven to build then give us the POM you're using.
That's what we really want.
I'm probably always going to use Maven now... Who needs ant when you can 
write just one file and get away with it.  My problem was really the 3rd 
party libraries that don't use maven as a build tool.


Omair

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Default navigation has no links

2004-05-27 Thread Christopher W. Farnham
My apologies... my problem was the result of an inherited property in 
the extended project's project.properties file.

Christopher Farnham
Senior Consultant at Wrycan, Inc.
[EMAIL PROTECTED]
http://www.wrycan.com

Christopher W. Farnham wrote:
I've just upgraded to RC3 and when I run the site on a project without 
an ${basedir}/xdocs/navigation.xml file,
no navigation is created in the left side-bar.  The generated by maven 
logo and the box for the navigation are there,
and all the reports, etc. are created, but no links.

Has anyone else had this problem?
Christopher Farnham
Senior Consultant at Wrycan, Inc.
chris.farnham[at]wrycan[dot]com
http://www.wrycan.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE : Error in generating site

2004-05-27 Thread Heritier Arnaud
The other solution is that you define a custom site.jsl that maven can't find.

Verify your property : maven.xdoc.jsl

Arnaud

> -Message d'origine-
> De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 27 mai 2004 17:49
> À : Maven Users List
> Objet : Re: Error in generating site
> 
> 
> It's fixed in xdoc 1.7 (and maven 1.0rc3)
> 
> Emmanuel
> 
> - Original Message - 
> From: "Paterline, David L." <[EMAIL PROTECTED]>
> To: "'Maven Users List'" <[EMAIL PROTECTED]>
> Sent: Thursday, May 27, 2004 5:01 PM
> Subject: Error in generating site
> 
> 
> > Hi -
> >
> > I am getting the following error message when I execute 
> "maven site" 
> > for
> my
> > project, using Maven v. 1.0-rc2 on HP-UX B.11.11. When I execute the
> command
> > on a Windows XP host (same project, same files, same Maven 
> version), I 
> > do not see this error. Can anyone provide any guidance on 
> what may be 
> > causing this or how I can debug the problem?
> >
> > Thanks in advance.
> >
> > maven-linkcheck-plugin:report-real:
> > [echo] Generating
> >
> /vobs/rpa/sceg_delivery/Q:/process_automation/projects/build/o
> pt/tomcat/weba
> > pps/rpa/sceg_delivery/linkcheck.html from 
> > /vobs/rpa/sceg_delivery/target/linkcheck/docs/linkcheck.xml
> >
> > BUILD FAILED
> > File.. 
> > 
> file:/users/paterldl/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
> > Element... j:include
> > Line.. 345
> > Column 54
> > null:-1:-1:  Could not parse Jelly script
> > Total time: 50 seconds
> > Finished at: Thu May 27 08:39:52 EDT 2004
> >
> > -
> > David L. Paterline
> > Principal Engineer
> > Westinghouse Electric Company
> > Nuclear Fuel Engineering
> > Engineering Computing
> > [EMAIL PROTECTED]
> > PH: 412-374-2286
> > FX: 412-374-2284
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Issue with incomplete plugin downloads

2004-05-27 Thread Winston . Rast


I have seen this behavior as well. It would be nice if it was "transactional".
-wr





"Carlos Sanchez" <[EMAIL PROTECTED]> on 05/27/2004 08:50:56 AM

Please respond to "Maven Users List" <[EMAIL PROTECTED]>

To:   "'Maven Users List'" <[EMAIL PROTECTED]>
cc:(bcc: Winston Rast/Jeppesen/TMC)

Subject:  Issue with incomplete plugin downloads




Hi,

When a plugin download is incomplete the partial file is kept in local
repository. Next time maven is run it will try to uncompress the plugin,
getting a java.io.EOFException: Unexpected end of ZLIB input stream, which
is logical.
When you try to download again it is not downloaded, instead the incomplete
file is got from local repository and must be manually removed.

Is this a known issue?


You can try with
maven plugin:download -DartifactId=maven-xdoclet-plugin -DgroupId=xdoclet
-Dversion=1.2
And hit Ctrl-Break while downloading


Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Issue with incomplete plugin downloads

2004-05-27 Thread Carlos Sanchez
Hi,

When a plugin download is incomplete the partial file is kept in local
repository. Next time maven is run it will try to uncompress the plugin,
getting a java.io.EOFException: Unexpected end of ZLIB input stream, which
is logical.
When you try to download again it is not downloaded, instead the incomplete
file is got from local repository and must be manually removed.

Is this a known issue?


You can try with 
maven plugin:download -DartifactId=maven-xdoclet-plugin -DgroupId=xdoclet
-Dversion=1.2
And hit Ctrl-Break while downloading


Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Default navigation has no links

2004-05-27 Thread Christopher W. Farnham
I've just upgraded to RC3 and when I run the site on a project without 
an ${basedir}/xdocs/navigation.xml file,
no navigation is created in the left side-bar.  The generated by maven 
logo and the box for the navigation are there,
and all the reports, etc. are created, but no links.

Has anyone else had this problem?
Christopher Farnham
Senior Consultant at Wrycan, Inc.
chris.farnham[at]wrycan[dot]com
http://www.wrycan.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Error in generating site

2004-05-27 Thread Emmanuel Venisse
It's fixed in xdoc 1.7 (and maven 1.0rc3)

Emmanuel

- Original Message - 
From: "Paterline, David L." <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 5:01 PM
Subject: Error in generating site


> Hi -
>
> I am getting the following error message when I execute "maven site" for
my
> project, using Maven v. 1.0-rc2 on HP-UX B.11.11. When I execute the
command
> on a Windows XP host (same project, same files, same Maven version), I do
> not see this error. Can anyone provide any guidance on what may be causing
> this or how I can debug the problem?
>
> Thanks in advance.
>
> maven-linkcheck-plugin:report-real:
> [echo] Generating
>
/vobs/rpa/sceg_delivery/Q:/process_automation/projects/build/opt/tomcat/weba
> pps/rpa/sceg_delivery/linkcheck.html from
> /vobs/rpa/sceg_delivery/target/linkcheck/docs/linkcheck.xml
>
> BUILD FAILED
> File..
> file:/users/paterldl/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
> Element... j:include
> Line.. 345
> Column 54
> null:-1:-1:  Could not parse Jelly script
> Total time: 50 seconds
> Finished at: Thu May 27 08:39:52 EDT 2004
>
> -
> David L. Paterline
> Principal Engineer
> Westinghouse Electric Company
> Nuclear Fuel Engineering
> Engineering Computing
> [EMAIL PROTECTED]
> PH: 412-374-2286
> FX: 412-374-2284
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error with cvs / scm and multiple cvs related plugins

2004-05-27 Thread Eric Giguere
Hi all
I have here a pretty strange error that has been bugging me for a while 
and would really appreciate some hints, if any.

It concerns CVS and the plugins...
Right now, I'm trying to use the cvsstat plugin on my project but 
everytime I try to generate the report, it complains about an error in 
the ant:cvs tag.

   [cvs] Caught exception: CreateProcess: cvs 
-d:pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot -z3 log error=2

If I try to run the scm plugin, then, something very similar happens:
Using SCM method: cvs
Using CVSROOT: :pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot
Using module: software
BUILD FAILED
File.. file:/C:/Documents and 
Settings/Eric/.maven/plugins/maven-scm-plugin-1.2-S
NAPSHOT/
Element... ant:cvs
Line.. 199
Column 9
java.io.IOException: CreateProcess: cvs 
-d:pserver:[EMAIL PROTECTED]:/home/cvs/cvsroot -q update -Pd error=2
Total time: 5 seconds
Finished at: Thu May 27 11:25:45 EDT 2004

Strange... My cvs executable is in the path. And if for instance I run 
the cvs command shown up in the command line, it works perfectly.

Any clue?
thx a lot
Eric.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: RC3 Property Inheritance Problem

2004-05-27 Thread Winston . Rast


Thanks Brett. I followed my mistakenly missing attachment with another post but
for some reason it never made it to the list. I created MAVEN-1296 in JIRa for
the issue. Hope you can get the chance to look at this as it is pretty important
in my view.
-wr





Brett Porter <[EMAIL PROTECTED]> on 05/26/2004 05:08:56 PM

Please respond to "Maven Users List" <[EMAIL PROTECTED]>

To:   "'Maven Users List'" <[EMAIL PROTECTED]>
cc:(bcc: Winston Rast/Jeppesen/TMC)

Subject:  RE: RC3 Property Inheritance Problem



Attachement is not there.

Can you post the contents of your message to JIRA and attach the example?

Thanks,
Brett

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 27 May 2004 7:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: RC3 Property Inheritance Problem
>
>
>
>
> I've been doing a lot of trial and error with this problem
> and I've narrowed it down to what I think is a problem in
> multiproject environments with inherited properties. It is
> *not* an issue strictly with the maven.compile.* properties
> as I've previously mentioned. I'm attaching a jar file of my
> stripped down example to demonstrate. In my example, I'm
> demonstrating the problem with the maven.repo.remote
> property. To replicate the problem, do the following:
>
> * Edit project.properties under test/ and change
> maven.repo.remote to something other than ibiblio.
> * Edit test/service/myservice/ejb/project.xml with a
> dependency (something NOT on ibiblio, but on the remote repo
> specified previously)
> * Remove this dependent jar from your local repository so
> it's forced to download it again
> * From test/service/myservice, execute a maven goal (I
> generally do clean)
>
> This should fail to download. Strangely, if I run the same
> maven goal from test/service/myservice/ejb, it DOES download!
> Anyone have a clue what's happening here?
>
> -wr
>
> __
> 
> NOTICE:  This communication and any files transmitted with it
> ("communication") may contain privileged or other
> confidential information. This communication is intended
> solely for the individual or entity to whom it is addressed.
> If you are not the intended recipient, or believe that you
> have received this communication in error, please do not
> print, copy, retransmit, disseminate, or otherwise use this
> communication.  Also, please indicate to the sender that you
> have received this communication in error, and then delete
> this communication and any copies. Thank you.
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error in generating site

2004-05-27 Thread Paterline, David L.
Hi -

I am getting the following error message when I execute "maven site" for my
project, using Maven v. 1.0-rc2 on HP-UX B.11.11. When I execute the command
on a Windows XP host (same project, same files, same Maven version), I do
not see this error. Can anyone provide any guidance on what may be causing
this or how I can debug the problem?

Thanks in advance.

maven-linkcheck-plugin:report-real:
[echo] Generating
/vobs/rpa/sceg_delivery/Q:/process_automation/projects/build/opt/tomcat/weba
pps/rpa/sceg_delivery/linkcheck.html from
/vobs/rpa/sceg_delivery/target/linkcheck/docs/linkcheck.xml

BUILD FAILED
File..
file:/users/paterldl/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly
Element... j:include
Line.. 345
Column 54
null:-1:-1:  Could not parse Jelly script
Total time: 50 seconds
Finished at: Thu May 27 08:39:52 EDT 2004

-
David L. Paterline
Principal Engineer   
Westinghouse Electric Company
Nuclear Fuel Engineering
Engineering Computing
[EMAIL PROTECTED]   
PH: 412-374-2286
FX: 412-374-2284

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ibiblio uploads question

2004-05-27 Thread Jason van Zyl
On Thu, 2004-05-27 at 09:36, Omair-Inam Abdul-Matin wrote:
> Hi,
> 
> I've made a bunch of upload requests to ibiblio with detailed enough 
> POMs that allow the libs to compile and I'm just wondering what specific 
> requirements must the POM satisfy. 

Are you talking about a project that doesn't use maven as its build
tool? If the project builds with maven the POM you provide should be
fine. If you don't use maven then it would at least be nice to have the

groupId
artifactId
name
currentVersion
dependencies

I will add to the upload instructions.

> Obviously transitive dependencies 
> support requires that I specify all dependencies of a library.  But, 
> does the POM actually have to be able to compile the project?  

Yes, one would hope this is the case. Currently I am assuming the POM is
intact and is correct. I do limited checking of the POM.

> For one 
> of the projects I had to put a sourceModification element in to make it 
> compile...

If you are using maven to build then give us the POM you're using.
That's what we really want.

> Omair
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: OutOfMemory Error when running test

2004-05-27 Thread Warner Onstine
Strangely enough we fixed this by blowing away the plugins directory  
and reinstalling Maven on both machines.

Any ideas on what may have been going on?
-warner
On May 26, 2004, at 1:17 PM, Warner Onstine wrote:
I'm busy converting an Ant build over to Maven and have run into a  
problem running tests. I have tried this on two different systems with  
slightly different results, one system is running OS X Panther and the  
other WinXP.

On OS X the tests fail in one place with an OutOfMemory error, on the  
XP machine the tests fail a little further down the list of test  
cases, but also with an OOM error. On both boxes I have tried to  
increase the memory through MAVEN_OPTS.

-Xms512m -Xmx768m
However on both boxes the tests still fail at the same point which  
doesn't make any sense to me, as if I increased the VM memory it  
should at least get further, right?

Additionally I have run the test that it fails on independently with  
no problems, as well as the test after it with no problems. I also  
tried to fork the VM which resulted in another error:

[junit] Running com.fotozap.data.dao.AffiliateDAOTest
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:  
org/w3c/dom/ranges/DocumentRange
[junit] at java.lang.ClassLoader.defineClass0(Native Method)
[junit] at  
java.lang.ClassLoader.defineClass(ClassLoader.java:537)
[junit] at  
java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 
123)
[junit] at  
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
[junit] at  
java.net.URLClassLoader.access$100(URLClassLoader.java:55)
[junit] at  
java.net.URLClassLoader$1.run(URLClassLoader.java:194)
[junit] at java.security.AccessController.doPrivileged(Native  
Method)
[junit] at  
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
[junit] at  
java.lang.ClassLoader.loadClass(ClassLoader.java:289)

Here is the exception from the XP box (I also have the maven -X output  
if anyone needs it):

BUILD FAILED
File.. C:\Documents and Settings\Tim
Hoyt\.maven\plugins\maven-test-plugin-1
.6.1\plugin.jelly
Element... j:if
Line.. 105
Column 107
java.lang.OutOfMemoryError
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[test:test] --
 C:\Documents and Settings\Tim
Hoyt\.maven\plugins\maven-test-plugin-1.6.1\plugi
n.jelly:105:107:  java.lang.OutOfMemoryError
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at  
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
610)
at  
org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:485)
at org.apache.maven.cli.App.main(App.java:1214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: C:\Documents and  
Settings\Tim
Hoyt\.
maven\plugins\maven-test-plugin-1.6.1\plugin.jelly:105:107: 
java.lang.Out
OfMemoryError
at
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
a:702)
at  
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at  
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
610)
at  
org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:485)
at org.apache.maven.cli.App.main(App.java:1214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)

Reactor bug?

2004-05-27 Thread Stefanutti, Mario
Hello,

 

I have a multiproject build. Some sub-projects depend on each other
(inter project dependencies). For example in my scenario the
j2ee_commons.jar depends on eai_commons.jar.

 

The question is: have you ever had problems using the reactor with
complex trees and dependencies?

 

In my case I have an ibxdt (Data Transformation) module and an ejb that
encapsulate the ibxdt library. Reactor does not work correctly.

 

maven InfoBUS:dist

 __  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

 

Starting the reactor...

Our processing order:

eai_commons

ejb-ibxdt see the
project.xml

ibxdt   see the
project.xml

ib_commons

ib_internal

j2ee_commons

wls_commons

+

| Generating eai_commons

| Memory: 3M/4M

+

...

 

Ibxdt (project.xml)

 





 

${basedir}/../../project.xml

 

ibxdt

${pom.name}

1.0.0







 





log4j

IB-Jakarta

1.2.6

jar





xalan

IB-Jakarta

2.4.1

jar





eai_commons

InfoBUS

1.0.0

jar





ib_commons

InfoBUS

1.0.0

jar





ib_internal

InfoBUS

1.0.0

jar





 



${pom.name}

src/java



 



 

Ejb-ibxdt (project.xml)

 





 

${basedir}/../../project.xml

 

ejb-ibxdt

${pom.name}

1.0.0







 





log4j

IB-Jakarta

1.2.6

jar





j2ee

IB-Sun

1.3beta

jar





eai_commons

InfoBUS

1.0.0

jar

   

 
true

   





ib_commons

InfoBUS

1.0.0

jar

   

 
true

   





ib_internal

InfoBUS

1.0.0

jar

   

 
true

   





ibxdt

InfoBUS

1.0.0

jar

   

 
true

   





 



${pom.name}

src/java



 



 

 

 

This message is for the designated recipient only 
and may contain privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other use of 
the email by you is 
prohibited.Su
 www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a 
navigare nel mondo 
TIM.



clean bug

2004-05-27 Thread Stefanutti, Mario
Hi,

 

When clean is starter, Maven tries to resolve dependencies and if the
artefact it depends on, was not build, Maven stops.

 

During project start-up this behaviour is a problem: if I am creating a
new project and I still have to compile it, why I cannot run clean?

 

Bye

 

Is it a bug or an expected behaviour?

 

Bye

This message is for the designated recipient only 
and may contain privileged or confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other use of 
the email by you is 
prohibited.Su
 www.tim.it - 119 Self Service -, puoi parlare con un operatore o farti aiutare a 
navigare nel mondo 
TIM.



RE : getPluginContext........

2004-05-27 Thread Heritier Arnaud
You can try :



Arnaud

> -Message d'origine-
> De : Nathan Coast [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 27 mai 2004 15:38
> À : Maven Users
> Objet : getPluginContext
> 
> 
> Hi,
> 
> I have some jelly script that no longer seems to work.  I wrote this 
> with rc1.  Has something been changed since then that would 
> break this?
> 
> ${pom.getPluginContext('maven-example-plugin').getVariable('ma
> ven.example.dir')}
> 
> I'm trying to use variables defined in one plugin within another. 
> Should I be using different method calls?
> 
> cheers
> Nathan
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: plugin-parent error with 1.0rc3

2004-05-27 Thread Joe Germuska
Perhaps if you run maven -e and show the FileNotFoundException stack trace
we could find out where it is occurring, although it would be easier to grep
for the use of plugin-parent :)
Well in all my mucking around, I'm getting different behavior now -- 
even when I remove the jimmied "plugin.jelly" file, I don't get the 
error any more, but I was able to find it in one of the scrollback 
buffers.

germuska% maven -e tomcat
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
Plugin cache will be regenerated
org.apache.maven.MavenException: Error reading plugin script
at 
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:181)
at 
org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:205)
at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:257)
at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)
at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:472)
at org.apache.maven.cli.App.main(App.java:1214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.io.FileNotFoundException: 
/Users/germuska/.maven/plugins/plugin-parent-1.0/plugin.jelly (No 
such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at 
org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
at 
org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java:205)
at 
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:257)
at 
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)
at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:472)
at org.apache.maven.cli.App.main(App.java:1214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

At 1:52 PM +1000 5/27/04, Brett Porter wrote:
The problem is that the project.xml file is shared between plugin build-time
and plugin run-time. Extending another parent if useful for build-time, but
not run-time when it is not present.
I guess I have a pretty primitive understanding of how plugins work; 
I managed to write one a while back, but I didn't realize that 
project.xml had any run-time implications.  Can you point to any more 
info about this?

Thanks
Joe

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
  "Imagine if every Thursday your shoes exploded if you tied them 
the usual way.  This happens to us all the time with computers, and 
nobody thinks of complaining."
-- Jef Raskin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


getPluginContext........

2004-05-27 Thread Nathan Coast
Hi,
I have some jelly script that no longer seems to work.  I wrote this 
with rc1.  Has something been changed since then that would break this?

${pom.getPluginContext('maven-example-plugin').getVariable('maven.example.dir')}
I'm trying to use variables defined in one plugin within another. 
Should I be using different method calls?

cheers
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


ibiblio uploads question

2004-05-27 Thread Omair-Inam Abdul-Matin
Hi,
I've made a bunch of upload requests to ibiblio with detailed enough 
POMs that allow the libs to compile and I'm just wondering what specific 
requirements must the POM satisfy. Obviously transitive dependencies 
support requires that I specify all dependencies of a library.  But, 
does the POM actually have to be able to compile the project?  For one 
of the projects I had to put a sourceModification element in to make it 
compile...

Omair

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Maven repository setup

2004-05-27 Thread Emmanuel Venisse

- Original Message - 
From: "Martin Jaeger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 27, 2004 3:07 PM
Subject: Maven repository setup


> Hi together
>
> I'm trying to set up a companywide remote repository. The goal is to host
> our own plugins and different plugins from the net.
>
> Because StatCVS is not longer in the Maven default package I tried to do
> this:
>
> 1) Webserver with rsync to ibiblio in my company (DONE)
>
> 2) Added the new StatCVS plugin from http://statcvs-xml.berlios.de/ in the
> directorystructure:
> http://myserver/maven/plugins/maven-statcvs-plugin-2.4.jar
> (?is this the right place?)

No, with your rsync, you get the plugin. it's here on ibiblio
http://www.ibiblio.org/maven/statcvs/plugins/

Instead of a rsync, you can use the maven proxy
(http://wiki.codehaus.org/maven/MavenProxy)

>
> 3) because this is not working alone i tried to download the plugin from
> the remoteRepository to my localRepo:
> maven plugin:download -Dmaven.repo.remote=http://myserver/
> -DgroupId=maven -DartifactId=maven-statcvs-plugin -Dversion=2.4
>
> The download did work but I wasn't able to produce the report then.I
> think I'm missing something important. I think I have to expand the jar
> file to the local maven home, but I don't know how.
> Do you know, what could be wrong?

You must add the report declaration for statcvs in your project.xml.

Emmanuel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven repository setup

2004-05-27 Thread Martin Jaeger
Hi together

I'm trying to set up a companywide remote repository. The goal is to host
our own plugins and different plugins from the net.

Because StatCVS is not longer in the Maven default package I tried to do
this:

1) Webserver with rsync to ibiblio in my company (DONE)

2) Added the new StatCVS plugin from http://statcvs-xml.berlios.de/ in the
directorystructure:
http://myserver/maven/plugins/maven-statcvs-plugin-2.4.jar
(?is this the right place?)

3) because this is not working alone i tried to download the plugin from
the remoteRepository to my localRepo:
maven plugin:download -Dmaven.repo.remote=http://myserver/
-DgroupId=maven -DartifactId=maven-statcvs-plugin -Dversion=2.4

The download did work but I wasn't able to produce the report then.I
think I'm missing something important. I think I have to expand the jar
file to the local maven home, but I don't know how.
Do you know, what could be wrong?


Thanks a lot for your help.
Martin

"Maven is great!"

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Remote Repository on a File Drive Issue

2004-05-27 Thread ECCLES, Stuart
Seem to be having issues with accessing a remote repository that is stored
on a shared drive

the remote repo properties are

maven.repo.remote=file:lonfs02//EBJAVA//repository,http://www.ibiblio.or
g/maven,http://dist.codehaus.org
maven.repo.remote.enabled=true
maven.mode.online=true
maven.proxy.host=172.24.128.87
maven.proxy.port=80


but when a developer tries downloading dependencies only stored on the file
repo by running maven from the command line they get the error. HTTP
downloads are working just fine.

BUT

if maven is run from the mevenide plugin for eclipse it WORKS...  which is
odd.

This must be some environment issue but what? i've tried changing proxy
settings and maven.repo.remote format but without success...

any ideas?

Attempting to download j2ee.jar.
Getting URL: file://lonfs02/EBJAVA/repository/j2ee/jars/j2ee.jar
Error retrieving artifact from
[file://lonfs02/EBJAVA/repository/j2ee/jars/j2ee.
jar]: java.lang.Exception: Can't get j2ee.jar to
C:\java\maven\repository\j2ee\j
ars\j2ee.jar
Getting URL: http://www.ibiblio.org/maven/j2ee/jars/j2ee.jar
File not found on one of the repos
java.io.FileNotFoundException:
http://www.ibiblio.org/maven/j2ee/jars/j2ee.jar (
HTTP Error: 404 Not Found)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:235)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:110)
at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend
encyVerifier.java:319)
at
org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen
cyVerifier.java:258)
at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe
ndencyVerifier.java:170)
at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie
r.java:96)
at
org.apache.maven.project.Project.verifyDependencies(Project.java:1353
)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
410)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:466)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Getting URL: http://dist.codehaus.org/j2ee/jars/j2ee.jar
File not found on one of the repos
java.io.FileNotFoundException: http://dist.codehaus.org/j2ee/jars/j2ee.jar
(HTTP
 Error: 404 Not Found)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:235)
at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:110)
at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend
encyVerifier.java:319)
at
org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen
cyVerifier.java:258)
at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe
ndencyVerifier.java:170)
at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie
r.java:96)
at
org.apache.maven.project.Project.verifyDependencies(Project.java:1353
)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
410)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
at org.apache.maven.cli.App.doMain(App.java:466)
at org.apache.maven.cli.App.main(App.java:1117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
WARNING: Failed to download j2ee.jar.
The build cannot continue because of the following unsatisfied dependency:

j2ee.jar (no download url specified)

Total time: 2 seconds
Finished at: Thu May 27 10:29:14 BST 2004


..
BUPA
.
BUPA House, 15-19 Bloomsbury Way, London, WC1A 2BA
.
Internet communications are not secure and therefore BUPA does
not accept legal responsibility for the contents of this message. Any 
views or opinions presented are solely those of the author and do 
not necessarily represent those of BUPA.
.



Re: Maven eclipse plugin question re: source folder

2004-05-27 Thread Peter Shillan
Hi there,

On Wednesday 26 May 2004 17:29, Al Robertson wrote:
> I had a problem with the maven eclipse:generate-classpath as well.
> With me, it is due to having 2 or 3 src folders.
> Specifying src/java and src/test/java generated

Using both goals - eclipse:generate-project and eclipse:generate-classpath - 
together then doing a Refresh in Eclipse has always worked for me.  I would 
give you a tip though.  I don't think either Maven or Eclipse will be too 
keen on your directory structure.  Consider moving src/test/java to test/java 
so that you have:

src/java
test/java

at the same level.  This is the recommended Maven way and I'm not positive, 
but I don't think Eclipse will be happy with your arrangement.

Cheers,

Peter. 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Including dependencies and configuration files in JAR distributions

2004-05-27 Thread Michael Mattox
I seems that this plugin is used for executables, projects with a main.  My
project is deployed to a webapp that is developed by another company.  And I
don't want to mix our project with theirs (we don't have much control over
their project).  So my plan is:

1 install their project (a webapp)
2 build our project and create a zip containing the project's JAR, the
dependencies, and configuration files
3 deploy our project to the webapp

I'm stuck on 2.  I have it done but the only problem is all my dependencies
are in the binary distribution:

  


  
  

  

Thanks
Michael

> -Message d'origine-
> De : Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 27 mai 2004 00:38
> À : 'Maven Users List'; [EMAIL PROTECTED]
> Objet : RE: Including dependencies and configuration files in JAR
> distributions
>
>
> Have you tried uberjar plugin?
> http://maven.apache.org/reference/plugins/uberjar/
>
> Carlos Sanchez
> A Coruña, Spain
>
> Oness Project
> http://oness.sourceforge.net
>
>
> > -Original Message-
> > From: Michael Mattox [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 26, 2004 11:07 PM
> > To: Maven Users List
> > Subject: Including dependencies and configuration files in
> > JAR distributions
> >
> > I'm using Maven to create distributions for several of our
> > projects.  I'm curious how people are including dependencies
> > and configuration files in their distributions?  So far I'm
> > using a postGoal on the prepare-bin-filesystem goal with a
> > copy dependencies (I forgot the tag).
> > This copies ALL my JAR files.  My project needs websphere's
> > j2ee.jar to compile and run the unit tests, however I don't
> > want to distribute this jar with my project.  But I do want
> > to distribute the other jars.  I know the WAR plugin lets you
> > set properties on the dependencies so they will be included
> > or not, but I haven't found this feature for a JAR distribution.
> >
> > Also I have configuration files that I need to distribute.
> > This is easier because I've separated them into different
> > directories (src/conf.test and src/conf.dist).
> >
> > Any "best practices" here?  Any Maven features that can help me out?
> >
> > Thanks,
> > Michael
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]