maven-changes-plugin

2006-05-17 Thread Borut Bolčina

This link
http://maven.apache.org/plugins/maven-changes-plugin
at http://maven.apache.org/plugins/index.html
does not work.

I wanted to found out why icons besides each action in changes report 
are missing. Are there different values for attribute type (element 
action) now? It seems "add", "fix" and "delete" don't work.


Also table is not drawn nicely aligned.

-Borut

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



Re: Maven2 versus JAXB

2006-05-17 Thread Franz Fehringer




Also, in the downloaded maven-jaxb-plugin-1.0.pom

    
  jaxb
  jsr173_api
  1.0
    

should read

    
  javax.xml.bind
  jsr173_api
  1.0
    

Is btw the ant dependency really needed?

Greetings

Franz

Franz Fehringer schrieb:

  
Hello Jonathan,
  
I think the explanations on
  https://jaxb.dev.java.net/jaxb-maven2-plugin/
are still incorrect.
  
  
jaxb
jaxb-api
   2.0-SNAPSHOT
  
  
  should read
  
  
javax.xml.bind
jaxb-api
   2.0
  
  
and
  
  
jaxb
jaxb-impl
2.0-SNAPSHOT

  
  
  should read
  
  
com.sun.xml.bind
jaxb-impl
2.0

  
  
Greetings
  
Franz
  
Jonathan Johnson schrieb:
  
Franz,

Thank you for finding the dependency version and location problems in the
recent JAXB Maven 2 plugin.  The versions have all been updated and an
updated plugin has been posted.

The instructions for using the JAXB Maven 2 plugin are here
http://jaxb.dev.java.net/jaxb-maven2-plugin/

- Jonathan

-Original Message-
From: Franz Fehringer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2006 11:22 AM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Maven2 versus JAXB

Thanks.
The 1.1 option has the slight problem that the referenced poms also
still reference the 1.0.2 version, for example
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-
impl-2.0.pom
has
 javax.xml.bind
activation 1.0.2 
But for the moment i am stuck with nonworking https proxy support (only
http works for me; i wrote another mail about this).

Greetings

Franz

Alexandre Poitras schrieb:
  

  On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

  
Thanks,

Now i get (legacy reenabled)

D:\projekte\Maven2\iso-app>mvn -U install
[INFO] Scanning for projects...
[INFO]
-
  
  

---
  

  
[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [install]
[INFO]
-
  
  

---
  

  
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
for updates from central
[INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
updates from central
Downloading:

  
  

https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
  

  
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Same with mvn -U compile.
There is no

  
  

https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
  

  
but

  
  

https://maven-repository.dev.java.net/repository/javax.activation/poms/activ
ation-1.1.pom
  

  
So it seems the downloadable plugin does not match the directory
structure anymore?!
  
  
  Your problem is that before activation 1.1, the license forbidded to
deploy it in a global repository. See
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
for more info.

So basically, you have two choices, either change the plugin .pom file
to depend on the 1.1 release or install the 1.0.2 release manually in
your local repository. It should do the trick.




  
Btw. i do not understand "run 'mvn install' on the plugin pom".
The plugin contains no pom.xml and without it i cannot run mvn?

  
  
  Ah forget it, I thought the plugin was coming with the source.


  
Greetings

Franz

Alexandre Poitras schrieb:
  

  Your answer is in the download section of your link :

Download

This plugin will be added to the Maven 2 ibiblio repository and also
to the java.net repository but we would like your feedback first.  If
you have praises or problems with this plugin please post your email
by joining the mailing list for [EMAIL PROTECTED] by registering
here https://jaxb.dev.java.net/servlets/ProjectMailingListList.

In the meantime you can download the lastest plugin version from this
link and expand the .zip contents into your local
%HOMEPATH%/.m2/repository directory.

So download it and run 'mvn install' on the plugin pom. Should work
afterward.

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

  
Hello,

I followed the instructions on
https://jaxb.dev.java.net/jaxb-maven2-plugin/

Re: Maven2 versus JAXB

2006-05-17 Thread Franz Fehringer




Hello Jonathan,

I think the explanations on
https://jaxb.dev.java.net/jaxb-maven2-plugin/ are still incorrect.


jaxb
jaxb-api
 2.0-SNAPSHOT


should read


javax.xml.bind
jaxb-api
 2.0


and


jaxb
jaxb-impl
2.0-SNAPSHOT



should read


com.sun.xml.bind
jaxb-impl
2.0



Greetings

Franz

Jonathan Johnson schrieb:

  Franz,

Thank you for finding the dependency version and location problems in the
recent JAXB Maven 2 plugin.  The versions have all been updated and an
updated plugin has been posted.

The instructions for using the JAXB Maven 2 plugin are here
http://jaxb.dev.java.net/jaxb-maven2-plugin/

- Jonathan

-Original Message-
From: Franz Fehringer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2006 11:22 AM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Maven2 versus JAXB

Thanks.
The 1.1 option has the slight problem that the referenced poms also
still reference the 1.0.2 version, for example
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-
impl-2.0.pom
has
 javax.xml.bind
activation 1.0.2 
But for the moment i am stuck with nonworking https proxy support (only
http works for me; i wrote another mail about this).

Greetings

Franz

Alexandre Poitras schrieb:
  
  
On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:


  Thanks,

Now i get (legacy reenabled)

D:\projekte\Maven2\iso-app>mvn -U install
[INFO] Scanning for projects...
[INFO]
-
  

  
  ---
  
  

  [INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [install]
[INFO]
-
  

  
  ---
  
  

  [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
for updates from central
[INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
updates from central
Downloading:

  

  
  https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
  
  

  [INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Same with mvn -U compile.
There is no

  

  
  https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
  
  

  but

  

  
  https://maven-repository.dev.java.net/repository/javax.activation/poms/activ
ation-1.1.pom
  
  

  So it seems the downloadable plugin does not match the directory
structure anymore?!
  

Your problem is that before activation 1.1, the license forbidded to
deploy it in a global repository. See
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
for more info.

So basically, you have two choices, either change the plugin .pom file
to depend on the 1.1 release or install the 1.0.2 release manually in
your local repository. It should do the trick.





  Btw. i do not understand "run 'mvn install' on the plugin pom".
The plugin contains no pom.xml and without it i cannot run mvn?

  

Ah forget it, I thought the plugin was coming with the source.



  Greetings

Franz

Alexandre Poitras schrieb:
  
  
Your answer is in the download section of your link :

Download

This plugin will be added to the Maven 2 ibiblio repository and also
to the java.net repository but we would like your feedback first.  If
you have praises or problems with this plugin please post your email
by joining the mailing list for [EMAIL PROTECTED] by registering
here https://jaxb.dev.java.net/servlets/ProjectMailingListList.

In the meantime you can download the lastest plugin version from this
link and expand the .zip contents into your local
%HOMEPATH%/.m2/repository directory.

So download it and run 'mvn install' on the plugin pom. Should work
afterward.

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:


  Hello,

I followed the instructions on
https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success.
On mvn -U compile i get
ERROR] BUILD ERROR
INFO]

  

  
  
  
  

  INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' does
  

  
  not
  
  

  exist or no valid version could be found
This is with Maven 2

[Fwd: Re: Maven2 versus JAXB]

2006-05-17 Thread Franz Fehringer






 Original-Nachricht 

  

  Betreff: 
  Re: Maven2 versus JAXB


  Datum: 
  Thu, 18 May 2006 08:34:32 +0200


  Von: 
  Franz Fehringer <[EMAIL PROTECTED]>


  An: 
  [EMAIL PROTECTED]


  Referenzen: 
  <[EMAIL PROTECTED]>

  




Hello Jonathan,

Would id be possible to make the repository also accessible via http
(in addition to https)?
I sit behind a proxy and have difficulties accessing https sites with
Maven2 (http works perfect).
Also, why not reorganize the repository making  obsolete?

Best regards

Franz

Jonathan Johnson schrieb:

  Franz,

Thank you for finding the dependency version and location problems in the
recent JAXB Maven 2 plugin.  The versions have all been updated and an
updated plugin has been posted.

The instructions for using the JAXB Maven 2 plugin are here
http://jaxb.dev.java.net/jaxb-maven2-plugin/

- Jonathan

-Original Message-
From: Franz Fehringer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 17, 2006 11:22 AM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Maven2 versus JAXB

Thanks.
The 1.1 option has the slight problem that the referenced poms also
still reference the 1.0.2 version, for example
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-
impl-2.0.pom
has
 javax.xml.bind
activation 1.0.2 
But for the moment i am stuck with nonworking https proxy support (only
http works for me; i wrote another mail about this).

Greetings

Franz

Alexandre Poitras schrieb:
  
  
On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:


  Thanks,

Now i get (legacy reenabled)

D:\projekte\Maven2\iso-app>mvn -U install
[INFO] Scanning for projects...
[INFO]
-
  

  
  ---
  
  

  [INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [install]
[INFO]
-
  

  
  ---
  
  

  [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
for updates from central
[INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
updates from central
Downloading:

  

  
  https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
  
  

  [INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Same with mvn -U compile.
There is no

  

  
  https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
  
  

  but

  

  
  https://maven-repository.dev.java.net/repository/javax.activation/poms/activ
ation-1.1.pom
  
  

  So it seems the downloadable plugin does not match the directory
structure anymore?!
  

Your problem is that before activation 1.1, the license forbidded to
deploy it in a global repository. See
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
for more info.

So basically, you have two choices, either change the plugin .pom file
to depend on the 1.1 release or install the 1.0.2 release manually in
your local repository. It should do the trick.





  Btw. i do not understand "run 'mvn install' on the plugin pom".
The plugin contains no pom.xml and without it i cannot run mvn?

  

Ah forget it, I thought the plugin was coming with the source.



  Greetings

Franz

Alexandre Poitras schrieb:
  
  
Your answer is in the download section of your link :

Download

This plugin will be added to the Maven 2 ibiblio repository and also
to the java.net repository but we would like your feedback first.  If
you have praises or problems with this plugin please post your email
by joining the mailing list for [EMAIL PROTECTED] by registering
here https://jaxb.dev.java.net/servlets/ProjectMailingListList.

In the meantime you can download the lastest plugin version from this
link and expand the .zip contents into your local
%HOMEPATH%/.m2/repository directory.

So download it and run 'mvn install' on the plugin pom. Should work
afterward.

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:


  Hello,

I followed the instructions on
https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success.
On mvn -U compile i get
ERROR] BUILD ERROR
INFO]

 

Re: Internal remote repository setup in Maven 2

2006-05-17 Thread Gustavo Valle
Hello again,
this is the project pom I use for my project:

http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>


au.com.company.telephony
maven-base
1.0.0


4.0.0
au.com.company.telephony
telephony-test
jar
1.0-SNAPSHOT
Telephony Artefact
http://maven.apache.org
 


And this is the parent pom, I'm trying to set the repositories here:

http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

  4.0.0
  Maven Base Project
  au.com.company.telephony
  maven-base
  pom
  1.0.0

  

  telephony-repository
 file:///home/valleg/apps/apache-tomcat-5.5/webapps/ROOT/maven

  

  

  central
  http://localhost:8080/maven

  
 
  

  central
  http://localhost:8080/maven

  

  

  junit
  junit
  3.8.1
  test


  log4j
  log4j
  1.2.12
  compile

  
 


I'm also working with the defaults, meaning that I have no settings.xml 
and my local repository is set to: /home/user/.m2/repository
I'm running Maven 2 in SuSE Linux 10 by the way (don't think it matters 
though!).

This is the output I get when I run mvn clean:

[EMAIL PROTECTED]:~/projects/Telephony/telephony-test> mvn clean
[INFO] Scanning for projects...
[INFO] 

[INFO] Building Telephony Artefact
[INFO]task-segment: [clean]
[INFO] 

[INFO] [clean:clean]
[INFO] Deleting directory 
/home/valleg/projects/Telephony/telephony-test/target
[INFO] Deleting directory 
/home/valleg/projects/Telephony/telephony-test/target/classes
[INFO] Deleting directory 
/home/valleg/projects/Telephony/telephony-test/target/test-classes
[INFO] 

[INFO] BUILD SUCCESSFUL
[INFO] 

[INFO] Total time: 2 seconds
[INFO] Finished at: Thu May 18 15:48:50 EST 2006
[INFO] Final Memory: 1M/3M
[INFO] 


And this is the output when I run mvn clean after I delete the contents of 
my local repository:

[EMAIL PROTECTED]:~/projects/Telephony/telephony-test> mvn clean
[INFO] Scanning for projects...
[INFO] 

[INFO] Building Telephony Artefact
[INFO]task-segment: [clean]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for 
updates from central
[INFO] 

[ERROR] BUILD ERROR
[INFO] 

[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not 
exist or no valid version could be found
[INFO] 

[INFO] For more information, run Maven with the -e switch
[INFO] 

[INFO] Total time: 1 second
[INFO] Finished at: Thu May 18 15:50:23 EST 2006
[INFO] Final Memory: 1M/2M
[INFO] 


I would expect that Maven would download all the required artifacts again, 
but apparently it doesn't.
The only thing that gets created in my local repository is this file:

/home/user/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/maven-metadata-central.xml

The error appears for every goal I try. Also tried setting a mirror in my 
settings.xml but it didn't work either.
What is it that I'm doing wrong? Please help me...
Could you possibly try it in your environment and tell me if this settings 
work? Thanks.

Cheers,
Gustavo




"jerome lacoste" <[EMAIL PROTECTED]> 
17/05/2006 16:58
Please respond to
"Maven Users List" 


To
"Maven Users List" 
cc

Subject
Re: Internal remote repository setup in Maven 2






On 5/17/06, Gustavo Valle <[EMAIL PROTECTED]> wrote:
> Hello
>
> I'm new to Maven 2 and I just needed some help setting up my 
environment.
> Basically I want to have an internal remote repository where maven can
> download all plugins and artifacts not found in my local repository and 
to
> use it also to upload my project artifact. Simple uh? Well, I haven't 
been
> able to make this setting to work... I've tried setting the
>  tag in the pom and that works for the upload 
via
> the deploy goal an

RE: Need information on maven proxy

2006-05-17 Thread Malcolm Wong Ho


I am currently using ntlmaps to authenticate on the NTLM proxy, Maven works 
fine thought using ntlmaps as a proxy. It is only when i set up maven-proxy to 
use it, is when i get an 'java.net.ConnectException: Connection refused' error.

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Thu 5/18/2006 7:47 AM
To: Maven Users List
Subject: Re: Need information on maven proxy
 
Ask Microsoft for cross-platform Java code that supports NTLM proxies
and I'm sure it will be integrated into Maven. ;-)

Wayne

On 5/17/06, Clifton Craig <[EMAIL PROTECTED]> wrote:
> From my knowledge, there is limited Java support for ntlm proxies. Generally
> only the older outdated versions are supported so you may be out of luck. We
> have a http proxy the supports basic authentication so I can only be of
> little help in your situation. My apologies and I wish the best of luck to
> you.
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Wednesday 17 May 2006 3:46 am, Malcolm Wong Ho wrote:
> > i'm trying to use maven-proxy, i have a ntlmaps proxy setup. The
> > maven-proxy.properties file has an entry for the proxy and port, but i get
> > java.net.ConnectException: Connection refused.
> >
> >
> > Any ideas ?
> >
> > -Original Message-
> > From: Clifton Craig [mailto:[EMAIL PROTECTED]
> > Sent: Tue 5/16/2006 9:40 PM
> > To: Maven Users List
> > Subject: Re: Need information on maven proxy
> >
> > There seems to be a disk corruption problem on codehaus from what I've
> > heard. I'm not sure when it will be available but I can tell you what I
> > know of Maven-proxy. I got it up and running here. I used the war
> > distribution and dropped it into a Jetty instance. I had some trouble
> > understanding how to get things to work through our authenticating in
> > office proxy but finally got it working. If you have a specific question
> > I'd be glad to help.
> >
> > ---
> > Clifton C. Craig, Software Engineer
> > Intelligent Computer Systems -  A Division of GBG
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > On Tuesday 16 May 2006 12:39 pm, Gautham Pamu wrote:
> > > Hi Everyone,
> > >
> > > Can you send me the links on how to setup maven proxy ? Is this main
> > > project website ? Is seems to be down ?
> > > Are there any alternate website which have information on maven proxy.
> > >
> > > http://maven-proxy.codehaus.org/
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > DISCLAIMER:
> > This message may contain information which is confidential, private or
> > privileged in nature. If you are not the intended recipient, you may not
> > peruse, use, disseminate, distribute or copy this message or file which is
> > attached to this message. If you have received this message in error,
> > please notify the sender immediately by e-mail, facsimile or telephone and
> > thereafter return and/or destroy the original message.
> >
> > Any views of this communication are those of the sender except where the
> > sender specifically states them to be those of Faritec (Holdings)  Limited
> > (Faritec) and/or  any of its subsidiaries including (but not limited to)
> > Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT
> > Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited,
> > Ebis and/or any of its subsidiaries.
> >
> > Please note that the recipient must scan this e-mail and any attached files
> > for viruses and the like. While we do everything possible to protect
> > information from viruses, Faritec accepts no liability of whatever nature
> > for any loss, liability, damage or expense resulting directly or indirectly
> > from the access and/or downloading of any files which are attached to this
> > e-mail message.
>
> -
> 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]




DISCLAIMER:
This message may contain information which is confidential, private or 
privileged in nature. If you are not the intended recipient, you may not 
peruse, use, disseminate, distribute or copy this message or file which is 
attached to this message. If you have received this message in error, please 
notify the sender immediately by e-mail, facsimile or telephone and thereafter 
return and/or destroy the original message. 

Any views of this communication are those of the sender except where the sender 
specifically states them to be those of Faritec (Holdings)  Limited (

Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

2006-05-17 Thread Wayne Fay

Unless I'm mistaken, there is no "M1 to M2 converter". There is only a
"M2 to M1 converter".

So probably the M2 project pom itself should be updated. File a JIRA
bug in MEV (Maven Evangelism) with the fixed pom attached.

Wayne

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Dennis,
It sounds like a bug in the "Maven1-to-Maven2 repo converter".  Is this
something I should report?  If so, who should I report it to?

Paul Spencer

Dennis Lundberg wrote:
> Paul Spencer wrote:
>
>> I am getting the following error when Maven is downloading
>> commons-logging-1.1.pom from repo.mergere.com
>>
>> [WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is
>> invalid. It will be ignored for artifact resolution. Reason: Parse
>> error reading POM. Reason: expected start tag name and not /
>> (position: START_DOCUMENT seen > )
>>
>>
>> I also get a "XML Parsing Error: not well-formed" error when viewing
>> the pom in a browser.
>>
>> 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom
>
>
>
> The Maven 2 pom for commons-logging is created automatically by the
> Maven1-to-Maven2 repo converter. It seems that the pom in question does
> not have the xml declaration on a line of its own.
>
> Here's what the first two lines look like:
>
> 
>   4.0.0
>
> That should really be three lines like this:
>
> 
> 
>   4.0.0
>


-
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: Need information on maven proxy

2006-05-17 Thread Wayne Fay

Ask Microsoft for cross-platform Java code that supports NTLM proxies
and I'm sure it will be integrated into Maven. ;-)

Wayne

On 5/17/06, Clifton Craig <[EMAIL PROTECTED]> wrote:

From my knowledge, there is limited Java support for ntlm proxies. Generally
only the older outdated versions are supported so you may be out of luck. We
have a http proxy the supports basic authentication so I can only be of
little help in your situation. My apologies and I wish the best of luck to
you.

---
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Wednesday 17 May 2006 3:46 am, Malcolm Wong Ho wrote:
> i'm trying to use maven-proxy, i have a ntlmaps proxy setup. The
> maven-proxy.properties file has an entry for the proxy and port, but i get
> java.net.ConnectException: Connection refused.
>
>
> Any ideas ?
>
> -Original Message-
> From: Clifton Craig [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/16/2006 9:40 PM
> To: Maven Users List
> Subject: Re: Need information on maven proxy
>
> There seems to be a disk corruption problem on codehaus from what I've
> heard. I'm not sure when it will be available but I can tell you what I
> know of Maven-proxy. I got it up and running here. I used the war
> distribution and dropped it into a Jetty instance. I had some trouble
> understanding how to get things to work through our authenticating in
> office proxy but finally got it working. If you have a specific question
> I'd be glad to help.
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Tuesday 16 May 2006 12:39 pm, Gautham Pamu wrote:
> > Hi Everyone,
> >
> > Can you send me the links on how to setup maven proxy ? Is this main
> > project website ? Is seems to be down ?
> > Are there any alternate website which have information on maven proxy.
> >
> > http://maven-proxy.codehaus.org/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> DISCLAIMER:
> This message may contain information which is confidential, private or
> privileged in nature. If you are not the intended recipient, you may not
> peruse, use, disseminate, distribute or copy this message or file which is
> attached to this message. If you have received this message in error,
> please notify the sender immediately by e-mail, facsimile or telephone and
> thereafter return and/or destroy the original message.
>
> Any views of this communication are those of the sender except where the
> sender specifically states them to be those of Faritec (Holdings)  Limited
> (Faritec) and/or  any of its subsidiaries including (but not limited to)
> Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT
> Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited,
> Ebis and/or any of its subsidiaries.
>
> Please note that the recipient must scan this e-mail and any attached files
> for viruses and the like. While we do everything possible to protect
> information from viruses, Faritec accepts no liability of whatever nature
> for any loss, liability, damage or expense resulting directly or indirectly
> from the access and/or downloading of any files which are attached to this
> e-mail message.

-
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: Doxia XdocParser?

2006-05-17 Thread Vance Karimi
This is related to JIRA issue http://jira.codehaus.org/browse/MNG-545

> -Original Message-
> From: Vance Karimi [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 17 May 2006 10:42 PM
> To: users@maven.apache.org
> Subject: Doxia XdocParser?
> 
> Hi,
> 
> I've changed the velocity site template for some sites changes, but I'm at
> a
> loss on how to solve the following.
> 
> The site format is xdoc. I would like to do something like:
> 
> 
> 
> 
> abc
> ABC
> 
> 
> 
> 
> 
> test
> test
> 
> 
>  
>  
> 
> 
> Where author has a property named 'email' and list items have a property
> named 'class'.
> 
> I'm looking at XdocParser and XdocSink in
> org.apache.maven.doxia.module.xdoc.  Is there a way for me to replace the
> xdoc implementations of parser and sink with my own and use these with the
> site plugin or do I need to make the changes to the existing ones and
> rebuild doxia?
> 
> Thanks
> Vance
> 
> 
> Send instant messages to your online friends http://au.messenger.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Send instant messages to your online friends http://au.messenger.yahoo.com 

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



RE: Maven2 versus JAXB

2006-05-17 Thread Jonathan Johnson
Franz,

Thank you for finding the dependency version and location problems in the
recent JAXB Maven 2 plugin.  The versions have all been updated and an
updated plugin has been posted.

The instructions for using the JAXB Maven 2 plugin are here
http://jaxb.dev.java.net/jaxb-maven2-plugin/

- Jonathan

-Original Message-
From: Franz Fehringer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 11:22 AM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Maven2 versus JAXB

Thanks.
The 1.1 option has the slight problem that the referenced poms also
still reference the 1.0.2 version, for example
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-
impl-2.0.pom
has
 javax.xml.bind
activation 1.0.2 
But for the moment i am stuck with nonworking https proxy support (only
http works for me; i wrote another mail about this).

Greetings

Franz

Alexandre Poitras schrieb:
> On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
>> Thanks,
>>
>> Now i get (legacy reenabled)
>>
>> D:\projekte\Maven2\iso-app>mvn -U install
>> [INFO] Scanning for projects...
>> [INFO]
>> -
---
>>
>> [INFO] Building Maven Quick Start Archetype
>> [INFO]task-segment: [install]
>> [INFO]
>> -
---
>>
>> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
>> checking for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
>> for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
>> for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
>> updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
>> for updates from central
>> [INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
>> updates from central
>> Downloading:
>>
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
>>
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Error building POM (may not be this project's POM).
>> Same with mvn -U compile.
>> There is no
>>
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-
1.0.2.pom
>>
>> but
>>
https://maven-repository.dev.java.net/repository/javax.activation/poms/activ
ation-1.1.pom
>>
>> So it seems the downloadable plugin does not match the directory
>> structure anymore?!
>
> Your problem is that before activation 1.1, the license forbidded to
> deploy it in a global repository. See
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> for more info.
>
> So basically, you have two choices, either change the plugin .pom file
> to depend on the 1.1 release or install the 1.0.2 release manually in
> your local repository. It should do the trick.
>
>
>
>> Btw. i do not understand "run 'mvn install' on the plugin pom".
>> The plugin contains no pom.xml and without it i cannot run mvn?
>>
>
> Ah forget it, I thought the plugin was coming with the source.
>
>> Greetings
>>
>> Franz
>>
>> Alexandre Poitras schrieb:
>> > Your answer is in the download section of your link :
>> >
>> > Download
>> >
>> > This plugin will be added to the Maven 2 ibiblio repository and also
>> > to the java.net repository but we would like your feedback first.  If
>> > you have praises or problems with this plugin please post your email
>> > by joining the mailing list for [EMAIL PROTECTED] by registering
>> > here https://jaxb.dev.java.net/servlets/ProjectMailingListList.
>> >
>> > In the meantime you can download the lastest plugin version from this
>> > link and expand the .zip contents into your local
>> > %HOMEPATH%/.m2/repository directory.
>> >
>> > So download it and run 'mvn install' on the plugin pom. Should work
>> > afterward.
>> >
>> > On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
>> >> Hello,
>> >>
>> >> I followed the instructions on
>> >> https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success.
>> >> On mvn -U compile i get
>> >> ERROR] BUILD ERROR
>> >> INFO]
>> >>
>> 
>> >> INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' does
>> not
>> >> exist or no valid version could be found
>> >> This is with Maven 2.0.4.
>> >> There is neither com.sun.tools.xjc.maven2 nor maven-jaxb-plugin on
>> >> https://maven-repository.dev.java.net/repository,
>> >> but there are javax.xml.bind and maven-javanet-plugin.
>> >> Could i use these in an appropriate way (how?)?
>> >> My pom.xml is
>> >>
>> >> http://maven.apache.org/POM/4.0.0";
>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> >>   xsi:schemaLocation="http://maven.apache.org/POM/4.0

Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

2006-05-17 Thread Paul Spencer

Dennis,
It sounds like a bug in the "Maven1-to-Maven2 repo converter".  Is this 
something I should report?  If so, who should I report it to?


Paul Spencer

Dennis Lundberg wrote:

Paul Spencer wrote:

I am getting the following error when Maven is downloading 
commons-logging-1.1.pom from repo.mergere.com


[WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
invalid. It will be ignored for artifact resolution. Reason: Parse 
error reading POM. Reason: expected start tag name and not / 
(position: START_DOCUMENT seen 
)


I also get a "XML Parsing Error: not well-formed" error when viewing 
the pom in a browser.


http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom 




The Maven 2 pom for commons-logging is created automatically by the 
Maven1-to-Maven2 repo converter. It seems that the pom in question does 
not have the xml declaration on a line of its own.


Here's what the first two lines look like:


  4.0.0

That should really be three lines like this:



  4.0.0




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



Re: Adding Maven Plugins

2006-05-17 Thread Wayne Fay

A dependency is "something your project needs during compilation,
testing, or runtime".

A plugin is "something you want Maven to run during compilation,
testing, packaging, etc to do *something* to your project/code".

So your project might have a *dependency* on spring core.

And it might use the *plugin* axistools-maven-plugin to generate WSDL
out of your Java, or Java out of your WSDL.

And it might use the *report* javancss-maven-plugin to report on lines
of code in your project etc.

I have to imagine this is all covered in the M2 book mentioned
previously. Can't quote a specific page though... So keep reading. ;-)

Wayne

On 5/17/06, Andrew Kreps <[EMAIL PROTECTED]> wrote:

The default location of your local repository is /.m2/repository, and you can walk the tree there to see what
has been downloaded.   in Windows XP is typically
c:\documents and settings\.

You should also try running mvn with the -X option, which prints out
debug information and makes the process easier to understand.  For
example: mvn -X jar:jar

On 5/17/06, Hycel Taylor <[EMAIL PROTECTED]> wrote:
> So, I'm the one who added the dependency to my pom.  However, when I
> executed the command, mvn jar:jar, I did not see any messages that it
> was downloading the spring core plugin.  So, I have two questions:
>
> 1) Where can I look to verify that the plugin has been downloaded?
>
> 2) What's the difference in defining a plugin as apposed to a dependency?
>
> Thanks.
>
> -
> 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: Relative to content-type, Is their convention for the file in the repository?

2006-05-17 Thread Wayne Fay

pom = text/xml  (its just an XML file... I suppose you could use
application/pom if you really wanted, but that seems excessive to me)

xml = text/xml   (this is widely used and seems "standard")

md5 & sha1 = not so sure, but I imagine someone at IETF or W3C has
come up with some proposal to specify these Content-Types, so if you
Google and find it, report back.

Wayne

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Relative to content-type, Is their convention for the file in the
repository?

File   Suggested
Extension  Content-type
- --
*.jar  application/java-archive
*.pom  ?
*.xml  ?
*.md5  ?
*.sha1 ?

Granted the content type is set in the web server, documenting this will
be helpful to anyone setting up an maven repository.  I assume this is
also true for maven-proxy


Paul Spencer

-
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: repo down?

2006-05-17 Thread Brad Davis
Doesn't the Release plugin actually do this with the prepare phase?  
Determine that you don't depend on any SNAPSHOT items?  Or does the 
maven build not depend on the plugins, so this doesn't work?  In fact, I 
guess the plugins would depend on Maven itself.  How do you address 
eliminating that kind of circular dependency?


Brad


Mark Diggory wrote:

You can't if its the first time you've run maven, anyone trying to  
use maven for the first time can't get the proper plugins because its  
looking for Snapshots on codehaus. Seems if your going to do a full  
release of maven it would be wise to base it on full releases of the  
plugins in the mirrors, or at least a full release of maven and/or  
any plugin maintained and required by maven should be full released  
and often, then this sort of thing wouldn't happen. Look at Eclipse  
and the way they organize thier updates into "integration", "stable"  
and "release" builds.


For instance, EMF has a interim and stable update sites. This is one  
of the reasons I really pushed to have separate snapshot and release  
repositories at Apache, "product stability".


-Mark

p.s. there was a comment I should set up  a mirror or something crazy  
like that, it assumes I have some extensive knowledge of maven, which  
at this point with maven 2 I don't. While I understand you guys do  
allot of development and are focused on new features and bug fixes,  
it makes your product look bad to have single points of failure like  
this, I'm evaluating maven 2 for a project I'm now working on, this  
doesn't bode well in my evaluation.



On May 16, 2006, at 8:25 AM, javed mandary wrote:


You can use the -o flag ,
e.g mvn -o install

this will tell maven to work in offline mode and it wont try to  
check for

updates on the remote repo.

cheers,
 javed

On 5/15/06, Markus Reinhardt <[EMAIL PROTECTED]>  
wrote:




 Am Montag, den 15.05.2006, 11:20 +0200 schrieb Jörg Schaible:

Geoffrey De Smet wrote on Monday, May 15, 2006 10:26 AM:
> Ibiblio is up, but the dns server of maven.org seems to be  down.> 
> Brett Porter wrote:>> http://maven.apache.org/guides/mini/ 
guide-mirror-settings.html>> >> Yes, it's down. Unscheduled, and  
beyond our control, sorry.
But, since the new plugin releases refer to artifacts only  
available in snapshots.maven.codehaus.org/maven2, our complete  
development comes to a sudden stop, because of the automated  
update. Please, make sure for such releases, that all artifacts  are 
available at ibiblio (which is at least mirrored).


Who do I to tell maven not to search for updates? Neither -o nor -npu
switches help. All needed plugins (tomcat-maven-plugin:pom:1.0- 
SNAPSHOT)

are located in my local repo.

Markus Reinhardt

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBEaEpxTPqyj/tXZEMRAowGAKCfn8AEqNqeA/EVm66Fv53SO9PD6gCgtCzW
gzcI00BTuqBtvCIYuKuP8BA=
=lMx0
-END PGP SIGNATURE-






-
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 Not Resolving Dependencies

2006-05-17 Thread Wayne Fay

Perhaps try mvn -o for offline mode? Since problem just started
recently, maybe it is related to the various repos being down etc?

Wayne

On 5/17/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:

Stefan,

Thanks for the tips.  It's not just myfaces that are
not resolving, but any dependency.  I've tried it with
other dependencies and maven says it can't find the
packages.

The strange thing is that it was working fine before,
and this only started happening a yesterday.

Thanks for trying though.

Cheers,
- Ole

--- Stefan Hübner <[EMAIL PROTECTED]> wrote:

> make sure to check this out:
>
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>
> cheers,
> Stefan
>
> 2006/5/18, Stefan Hübner <[EMAIL PROTECTED]>:
> > Bruno,
> >
> > > > I first run the eclipse plugin and eclipse is
> able to
> > > > load the dependencies.
> > > >
> > > > I then attempt to install, and the maven
> compiler
> > > > gives me messages like this:
> > > >
> > > >
> > > >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > > > package javax.faces.component does not exist
> > > >
> >
> > so, does this mean, that your project depends upon
> JSF? if so, the
> > artifact "javax.faces:jsf-api" - as found in
> maven's central
> > repository - can't actually be downloaded. Reason
> is, there's just a
> > placeholder POM in the repo because of license
> considerations.
> >
> > this thought, the jsf-library shouldn't be
> referenced by eclipse
> > either. If it does, does eclipse reference to a
> jar in your local
> > maven repo or somewhere else?
> >
> > > >
> > > >
> > > > So eclipse sees the dependencies in the
> repository,
> > > > but maven does not.
> > > >
> >
> > the eclipse-plugin might have told you, to
> download the jsf-api.jar
> > manually, because  that JAR can't be found in the
> global repository.
> > you might have a second look on the
> eclipse-plugin's output.
> >
> >
> > just my 2c - may be, I'm misleaded
> >
> > Stefan
> >
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.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]



Re: Maven Not Resolving Dependencies

2006-05-17 Thread Ole Ersoy
Stefan,

Thanks for the tips.  It's not just myfaces that are
not resolving, but any dependency.  I've tried it with
other dependencies and maven says it can't find the
packages.

The strange thing is that it was working fine before,
and this only started happening a yesterday.

Thanks for trying though.

Cheers,
- Ole

--- Stefan Hübner <[EMAIL PROTECTED]> wrote:

> make sure to check this out:
>
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> 
> cheers,
> Stefan
> 
> 2006/5/18, Stefan Hübner <[EMAIL PROTECTED]>:
> > Bruno,
> >
> > > > I first run the eclipse plugin and eclipse is
> able to
> > > > load the dependencies.
> > > >
> > > > I then attempt to install, and the maven
> compiler
> > > > gives me messages like this:
> > > >
> > > >
> > > >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > > > package javax.faces.component does not exist
> > > >
> >
> > so, does this mean, that your project depends upon
> JSF? if so, the
> > artifact "javax.faces:jsf-api" - as found in
> maven's central
> > repository - can't actually be downloaded. Reason
> is, there's just a
> > placeholder POM in the repo because of license
> considerations.
> >
> > this thought, the jsf-library shouldn't be
> referenced by eclipse
> > either. If it does, does eclipse reference to a
> jar in your local
> > maven repo or somewhere else?
> >
> > > >
> > > >
> > > > So eclipse sees the dependencies in the
> repository,
> > > > but maven does not.
> > > >
> >
> > the eclipse-plugin might have told you, to
> download the jsf-api.jar
> > manually, because  that JAR can't be found in the
> global repository.
> > you might have a second look on the
> eclipse-plugin's output.
> >
> >
> > just my 2c - may be, I'm misleaded
> >
> > Stefan
> >
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Feature suggestion, was 'Re: repo down?'

2006-05-17 Thread Brad Davis
It strikes me that centralized repositories, even with mirrors is a 
potential scalability problem and point of failure.  Its also a point of 
failure since the more projects use Maven, the more administration has 
to be done to allow Project X, Y, or Z access to publish updates to the 
repo. 

Why not leverage DNS to allow projects to publish to project specific 
repositories?  This would require that the group ID be convertible into 
some sort of DNS resolvable name in a consistent manner, but that's 
nearly the case for many projects already.  Here's how it would work...


As a client, Maven could look at the group ID of say 
org.apache.maven.plugins.  It could do DNS TXT record lookups on 
plugins.maven.apahche.org, then maven.apache.org and then apache.org 
looking for repository information (encoded via some convention in the 
TXT record).  The centralized repository structure could continue to be 
used as a fallback for projects whose group ID can't conform to a DNS 
resolvable address, or who don't have control over their DNS servers at 
that level. 

As a project owner, once the DNS support is there, publishing a new 
version of my artifcats to Maven no longer requires coordination with 
another party.  In fact, publishing to Central changes from a push model 
to a pull model.  A one time agreement to publish items from a given 
group ID means that the central server can now monitor for changes on 
the project specific repositories. 


My 2 cents.

Brad


Brett Porter wrote:


http://maven.apache.org/guides/mini/guide-mirror-settings.html

Yes, it's down. Unscheduled, and beyond our control, sorry.

- Brett

On 5/14/06, Raymond Ritz <[EMAIL PROTECTED]> wrote:


Hey all, is http://repo1.maven.org   down
unexpectedly? If this is a scheduled outage, where can I get 
information on

planned downtime in the future?



Regards,



Raymond Ritz







-
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 downloading commons-logging-1.1.pom from repo.mergere.com

2006-05-17 Thread Paul Spencer

Dennis,
It sounds like a bug in the "Maven1-to-Maven2 repo converter".  Is this
something I should report?  If so, who should I report it to?

Paul Spencer

Dennis Lundberg wrote:

Paul Spencer wrote:

I am getting the following error when Maven is downloading 
commons-logging-1.1.pom from repo.mergere.com


[WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
invalid. It will be ignored for artifact resolution. Reason: Parse 
error reading POM. Reason: expected start tag name and not / 
(position: START_DOCUMENT seen 
)


I also get a "XML Parsing Error: not well-formed" error when viewing 
the pom in a browser.


http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom 




The Maven 2 pom for commons-logging is created automatically by the 
Maven1-to-Maven2 repo converter. It seems that the pom in question does 
not have the xml declaration on a line of its own.


Here's what the first two lines look like:


  4.0.0

That should really be three lines like this:



  4.0.0





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



Re: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Paul Spencer

Carlos,
Thank you.

I have posted a related question on this list.  The post is titled 
"Relative to content-type, Is their convention for the file in the 
repository?"


Paul Spencer

Carlos Sanchez wrote:

We'll be changing it to application/java-archive

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:


Brett,
Yes, I am expecting a different content type.  Our firewall only allows
certain content types to pass through.  Most executable and active-x
content is viewed as a security threat by the firewall a blocked.
Although I do not have a list of allowable content types, I do know jars
from ibiblio are allowed. As an example, the following is allowed:
http://www.ibiblio.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar 




Paul Spencer

Brett Porter wrote:
> Thanks.
>
> Just to make sure I understand - were you expecting a different content
> type?
>
> Cheers,
> Brett
>
> On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
>
>> Brett,
>> It appears the content type set by the server is different.  My 
company

>> firewall is blocking it.  Authenticating to the company firewall will
>> allows maven to work.
>>
>>Response denied from
>> 
http://64.14.253.156:80/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar: 


>>
>> Unsafe content type "application/octet-stream"
>>
>> Please thank your company for hosting the repository.
>>
>> Paul Spencer
>>
>> Brett Porter wrote:
>> > Hi Paul,
>> >
>> > My company has offered the services of the repository while there 
has

>> > been an extended hardware outage on the original community box at
>> > maven.org.
>> >
>> > I am able to download that JAR unauthenticated - do you have the 
same

>> > problems from a browser?
>> >
>> > Cheers,
>> > Brett
>> >
>> > On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
>> >> Maven build is failing to download dependencies.  I am getting the
>> >> following errors.  Notice the url maven.org is changed to 
mergere.com.

>> >>
>> >> Error transferring file
>> >>commons-logging:commons-logging:jar:1.1
>> >>
>> >> from the specified remote repositories:
>> >>central (http://repo1.maven.org/maven2)
>> >>
>> >> 
>> >>
>> >> Caused by I/O exception: Server returned HTTP response code: 403 
for

>> >> URL:
>> >>
>> 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1 


>>
>> >>
>> >> .jar
>> >>
>> >> Paul Spencer
>> >>
>> >> 
-

>> >> 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]
>>
>>
>
> -
> 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]



Relative to content-type, Is their convention for the file in the repository?

2006-05-17 Thread Paul Spencer
Relative to content-type, Is their convention for the file in the 
repository?


File   Suggested
Extension  Content-type
- --
*.jar  application/java-archive
*.pom  ?
*.xml  ?
*.md5  ?
*.sha1 ?

Granted the content type is set in the web server, documenting this will 
be helpful to anyone setting up an maven repository.  I assume this is 
also true for maven-proxy



Paul Spencer

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



Re: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Carlos Sanchez

In ibilbio is text/plain, which I don't think is acceptable
http://web-sniffer.net/?url=http%3A%2F%2Fwww.ibiblio.org%2Fmaven2%2Fcommons-logging%2Fcommons-logging%2F1.1%2Fcommons-logging-1.1.jar&submit=Submit&http=1.1&gzip=yes&type=GET&ua=Mozilla%2F5.0+%28X11%3B+U%3B+Linux+i686%3B+en-US%3B+rv%3A1.8.0.3%29+Gecko%2F20060326+Firefox%2F1.5.0.3+%28Debian-1.5.dfsg%2B1.5.0.3-2%29+Web-Sniffer%2F1.0.24

On 5/17/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:

We'll be changing it to application/java-archive

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
> Brett,
> Yes, I am expecting a different content type.  Our firewall only allows
> certain content types to pass through.  Most executable and active-x
> content is viewed as a security threat by the firewall a blocked.
> Although I do not have a list of allowable content types, I do know jars
> from ibiblio are allowed. As an example, the following is allowed:
> 
http://www.ibiblio.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
>
>
> Paul Spencer
>
> Brett Porter wrote:
> > Thanks.
> >
> > Just to make sure I understand - were you expecting a different content
> > type?
> >
> > Cheers,
> > Brett
> >
> > On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
> >
> >> Brett,
> >> It appears the content type set by the server is different.  My company
> >> firewall is blocking it.  Authenticating to the company firewall will
> >> allows maven to work.
> >>
> >>Response denied from
> >> 
http://64.14.253.156:80/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:
> >>
> >> Unsafe content type "application/octet-stream"
> >>
> >> Please thank your company for hosting the repository.
> >>
> >> Paul Spencer
> >>
> >> Brett Porter wrote:
> >> > Hi Paul,
> >> >
> >> > My company has offered the services of the repository while there has
> >> > been an extended hardware outage on the original community box at
> >> > maven.org.
> >> >
> >> > I am able to download that JAR unauthenticated - do you have the same
> >> > problems from a browser?
> >> >
> >> > Cheers,
> >> > Brett
> >> >
> >> > On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
> >> >> Maven build is failing to download dependencies.  I am getting the
> >> >> following errors.  Notice the url maven.org is changed to mergere.com.
> >> >>
> >> >> Error transferring file
> >> >>commons-logging:commons-logging:jar:1.1
> >> >>
> >> >> from the specified remote repositories:
> >> >>central (http://repo1.maven.org/maven2)
> >> >>
> >> >> 
> >> >>
> >> >> Caused by I/O exception: Server returned HTTP response code: 403 for
> >> >> URL:
> >> >>
> >> 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1
> >>
> >> >>
> >> >> .jar
> >> >>
> >> >> Paul Spencer
> >> >>
> >> >> -
> >> >> 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]
> >>
> >>
> >
> > -
> > 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]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



Re: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Carlos Sanchez

We'll be changing it to application/java-archive

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Brett,
Yes, I am expecting a different content type.  Our firewall only allows
certain content types to pass through.  Most executable and active-x
content is viewed as a security threat by the firewall a blocked.
Although I do not have a list of allowable content types, I do know jars
from ibiblio are allowed. As an example, the following is allowed:
http://www.ibiblio.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar


Paul Spencer

Brett Porter wrote:
> Thanks.
>
> Just to make sure I understand - were you expecting a different content
> type?
>
> Cheers,
> Brett
>
> On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
>
>> Brett,
>> It appears the content type set by the server is different.  My company
>> firewall is blocking it.  Authenticating to the company firewall will
>> allows maven to work.
>>
>>Response denied from
>> 
http://64.14.253.156:80/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:
>>
>> Unsafe content type "application/octet-stream"
>>
>> Please thank your company for hosting the repository.
>>
>> Paul Spencer
>>
>> Brett Porter wrote:
>> > Hi Paul,
>> >
>> > My company has offered the services of the repository while there has
>> > been an extended hardware outage on the original community box at
>> > maven.org.
>> >
>> > I am able to download that JAR unauthenticated - do you have the same
>> > problems from a browser?
>> >
>> > Cheers,
>> > Brett
>> >
>> > On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
>> >> Maven build is failing to download dependencies.  I am getting the
>> >> following errors.  Notice the url maven.org is changed to mergere.com.
>> >>
>> >> Error transferring file
>> >>commons-logging:commons-logging:jar:1.1
>> >>
>> >> from the specified remote repositories:
>> >>central (http://repo1.maven.org/maven2)
>> >>
>> >> 
>> >>
>> >> Caused by I/O exception: Server returned HTTP response code: 403 for
>> >> URL:
>> >>
>> 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1
>>
>> >>
>> >> .jar
>> >>
>> >> Paul Spencer
>> >>
>> >> -
>> >> 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]
>>
>>
>
> -
> 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]





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



Re: Maven Not Resolving Dependencies

2006-05-17 Thread Stefan Hübner

make sure to check this out:
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

cheers,
Stefan

2006/5/18, Stefan Hübner <[EMAIL PROTECTED]>:

Bruno,

> > I first run the eclipse plugin and eclipse is able to
> > load the dependencies.
> >
> > I then attempt to install, and the maven compiler
> > gives me messages like this:
> >
> >
> > 
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > package javax.faces.component does not exist
> >

so, does this mean, that your project depends upon JSF? if so, the
artifact "javax.faces:jsf-api" - as found in maven's central
repository - can't actually be downloaded. Reason is, there's just a
placeholder POM in the repo because of license considerations.

this thought, the jsf-library shouldn't be referenced by eclipse
either. If it does, does eclipse reference to a jar in your local
maven repo or somewhere else?

> >
> >
> > So eclipse sees the dependencies in the repository,
> > but maven does not.
> >

the eclipse-plugin might have told you, to download the jsf-api.jar
manually, because  that JAR can't be found in the global repository.
you might have a second look on the eclipse-plugin's output.


just my 2c - may be, I'm misleaded

Stefan



Re: Maven Not Resolving Dependencies

2006-05-17 Thread Stefan Hübner

Bruno,


> I first run the eclipse plugin and eclipse is able to
> load the dependencies.
>
> I then attempt to install, and the maven compiler
> gives me messages like this:
>
>
> 
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> package javax.faces.component does not exist
>


so, does this mean, that your project depends upon JSF? if so, the
artifact "javax.faces:jsf-api" - as found in maven's central
repository - can't actually be downloaded. Reason is, there's just a
placeholder POM in the repo because of license considerations.

this thought, the jsf-library shouldn't be referenced by eclipse
either. If it does, does eclipse reference to a jar in your local
maven repo or somewhere else?


>
>
> So eclipse sees the dependencies in the repository,
> but maven does not.
>


the eclipse-plugin might have told you, to download the jsf-api.jar
manually, because  that JAR can't be found in the global repository.
you might have a second look on the eclipse-plugin's output.


just my 2c - may be, I'm misleaded

Stefan


Re: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Paul Spencer

Brett,
Yes, I am expecting a different content type.  Our firewall only allows 
certain content types to pass through.  Most executable and active-x 
content is viewed as a security threat by the firewall a blocked. 
Although I do not have a list of allowable content types, I do know jars 
from ibiblio are allowed. As an example, the following is allowed:

http://www.ibiblio.org/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar


Paul Spencer

Brett Porter wrote:

Thanks.

Just to make sure I understand - were you expecting a different content 
type?


Cheers,
Brett

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:


Brett,
It appears the content type set by the server is different.  My company
firewall is blocking it.  Authenticating to the company firewall will
allows maven to work.

   Response denied from
http://64.14.253.156:80/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar: 


Unsafe content type "application/octet-stream"

Please thank your company for hosting the repository.

Paul Spencer

Brett Porter wrote:
> Hi Paul,
>
> My company has offered the services of the repository while there has
> been an extended hardware outage on the original community box at
> maven.org.
>
> I am able to download that JAR unauthenticated - do you have the same
> problems from a browser?
>
> Cheers,
> Brett
>
> On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
>> Maven build is failing to download dependencies.  I am getting the
>> following errors.  Notice the url maven.org is changed to mergere.com.
>>
>> Error transferring file
>>commons-logging:commons-logging:jar:1.1
>>
>> from the specified remote repositories:
>>central (http://repo1.maven.org/maven2)
>>
>> 
>>
>> Caused by I/O exception: Server returned HTTP response code: 403 for
>> URL:
>> 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1 


>>
>> .jar
>>
>> Paul Spencer
>>
>> -
>> 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]




-
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: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Brett Porter

Thanks.

Just to make sure I understand - were you expecting a different content type?

Cheers,
Brett

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Brett,
It appears the content type set by the server is different.  My company
firewall is blocking it.  Authenticating to the company firewall will
allows maven to work.

   Response denied from
http://64.14.253.156:80/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:
Unsafe content type "application/octet-stream"

Please thank your company for hosting the repository.

Paul Spencer

Brett Porter wrote:
> Hi Paul,
>
> My company has offered the services of the repository while there has
> been an extended hardware outage on the original community box at
> maven.org.
>
> I am able to download that JAR unauthenticated - do you have the same
> problems from a browser?
>
> Cheers,
> Brett
>
> On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
>> Maven build is failing to download dependencies.  I am getting the
>> following errors.  Notice the url maven.org is changed to mergere.com.
>>
>> Error transferring file
>>commons-logging:commons-logging:jar:1.1
>>
>> from the specified remote repositories:
>>central (http://repo1.maven.org/maven2)
>>
>> 
>>
>> Caused by I/O exception: Server returned HTTP response code: 403 for
>> URL:
>> 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1
>>
>> .jar
>>
>> Paul Spencer
>>
>> -
>> 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]




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



Re: Adding Maven Plugins

2006-05-17 Thread Andrew Kreps

The default location of your local repository is /.m2/repository, and you can walk the tree there to see what
has been downloaded.   in Windows XP is typically
c:\documents and settings\.

You should also try running mvn with the -X option, which prints out
debug information and makes the process easier to understand.  For
example: mvn -X jar:jar

On 5/17/06, Hycel Taylor <[EMAIL PROTECTED]> wrote:

So, I'm the one who added the dependency to my pom.  However, when I
executed the command, mvn jar:jar, I did not see any messages that it
was downloading the spring core plugin.  So, I have two questions:

1) Where can I look to verify that the plugin has been downloaded?

2) What's the difference in defining a plugin as apposed to a dependency?

Thanks.

-
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]



Maven Not Resolving Dependencies

2006-05-17 Thread Ole Ersoy
Hey Everbody,

Earlier I thought maven was not resolving dependencies
from ibiblio because java was installed as root.

So I reinstalled java, but maven is still not
resolving dependencies.

Maven downloads them fine.  I can see them in eclipse
after run mvn eclipse:eclipse and looking at libraries
it resolves via it's classpath settings.

But maven does see the library in the repository.

Any ideas?

Thanks,
- Ole

--- Ole Ersoy <[EMAIL PROTECTED]> wrote:

> Hi Bruno,
> 
> It's actually a class from the Apache myfaces
> project
> and it is downloaded from ibiblio by maven using
> the standard dependency mechanism.
> 
> So eclipse is loading the dependency 
> from the local maven repository.
> 
> For some reason Maven is not seeing the dependency
> in
> the repository.
> 
> Thanks for the try though,
> - Ole
> 
> --- Bruno Patini Furtado <[EMAIL PROTECTED]>
> wrote:
> 
> > is UIComponentBase a class of yours? or for some
> JAR
> > of which you depend?
> > 
> > Because if it is a class of your project you may
> > have put it outside the
> > standard maven directory for source code, and
> maven
> > is not compiling it.
> > Eclipse source folders and where maven expects to
> > find the sources are
> > places not related. Maven's compile plugin does
> not
> > read the Eclipse project
> > to gather information.
> > 
> > 
> > On 5/16/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I'm running Maven 2.0.3 and I'm having problems
> > > compiling.
> > >
> > > I first run the eclipse plugin and eclipse is
> able
> > to
> > > load the dependencies.
> > >
> > > I then attempt to install, and the maven
> compiler
> > > gives me messages like this:
> > >
> > >
> > >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > > package javax.faces.component does not exist
> > >
> > >
> > >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[3,35]
> > > cannot find symbol
> > > symbol: class UIComponentBase
> > >
> > >
> > > So eclipse sees the dependencies in the
> > repository,
> > > but maven does not.
> > >
> > > Any ideas?
> > >
> > > Thanks in advance!
> > >
> > > Cheers,
> > > - Ole
> > >
> > >
> __
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> > >
> > 
> > 
> > -- 
> > "Minds are like parachutes, they work best when
> > open."
> > 
> > Bruno Patini Furtado
> > Software Developer
> > webpage: http://bpfurtado.net
> > software development blog:
> > http://bpfurtado.livejournal.com
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: wagon-ftp cannot be downloaded

2006-05-17 Thread Carlos Sanchez

http://repo1.maven.org is not a valid repo, it's http://repo1.maven.org/maven2

On 5/17/06, Davis Ford <[EMAIL PROTECTED]> wrote:

Hi, we use ftp to deploy to our local repo.  As a litmus test for the
environment, I completely wiped out my .m2/repository/*

Then I tried to do a mvn test on one of my projects.  This project has
a parent pom.xml which has:




org.apache.maven.wagon
wagon-ftp
1.0-alpha-6


etc...

But I get the error

Project ID: org.apache.maven.wagon:wagon-ftp

Reason: Error getting POM for 'org.apache.maven.wagon:wagon-ftp' from
the repository: Error transferring file
  org.apache.maven.wagon:wagon-ftp:pom:1.0-alpha-6

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven-fast-repo (http://repo1.maven.org),

If I do a deploy first, then this seems to work.  But if I try a
compile or test, this always fails?  How to fix this?

Regards,
Davis

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





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



wagon-ftp cannot be downloaded

2006-05-17 Thread Davis Ford

Hi, we use ftp to deploy to our local repo.  As a litmus test for the
environment, I completely wiped out my .m2/repository/*

Then I tried to do a mvn test on one of my projects.  This project has
a parent pom.xml which has:




org.apache.maven.wagon
wagon-ftp
1.0-alpha-6


etc...

But I get the error

Project ID: org.apache.maven.wagon:wagon-ftp

Reason: Error getting POM for 'org.apache.maven.wagon:wagon-ftp' from
the repository: Error transferring file
 org.apache.maven.wagon:wagon-ftp:pom:1.0-alpha-6

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 maven-fast-repo (http://repo1.maven.org),

If I do a deploy first, then this seems to work.  But if I try a
compile or test, this always fails?  How to fix this?

Regards,
Davis

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



Re: Adding Maven Plugins

2006-05-17 Thread Hycel Taylor

So, I'm the one who added the dependency to my pom.  However, when I
executed the command, mvn jar:jar, I did not see any messages that it
was downloading the spring core plugin.  So, I have two questions:

1) Where can I look to verify that the plugin has been downloaded?

2) What's the difference in defining a plugin as apposed to a dependency?

Thanks.

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



Re: Adding Maven Plugins

2006-05-17 Thread Carlos Sanchez

  
org.spingframework
spring-core
1.2.6
  


On 5/17/06, Hycel Taylor <[EMAIL PROTECTED]> wrote:

I'm pretty confused from what I have read:

I do not understand if I should be adding a dependency or a plugin.
This is what I currently have in my pom file:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  com.acme.app
  acme1.0
  jar
  1.0-SNAPSHOT
  Maven Quick Start Archetype
  http://maven.apache.org
  

  junit
  junit
  3.8.1
  test

   

  spingframework
  spring-core
  1.2.6

  


In the book, Better Builds With Maven, section 2.7 describes getting a
plugin with the  elements.  However, the dtd, does
not allow a  element.  It does however allow for
 elements.

I would like to get the spring core jar plugin to work.  Can any one
provide a solution the I can add to my pom file?

Thanks in advance

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





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



Re: Adding Maven Plugins

2006-05-17 Thread Hycel Taylor

I'm pretty confused from what I have read:

I do not understand if I should be adding a dependency or a plugin.
This is what I currently have in my pom file:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
 4.0.0
 com.acme.app
 acme1.0
 jar
 1.0-SNAPSHOT
 Maven Quick Start Archetype
 http://maven.apache.org
 
   
 junit
 junit
 3.8.1
 test
   
  
   
 spingframework
 spring-core
 1.2.6
   
 


In the book, Better Builds With Maven, section 2.7 describes getting a
plugin with the  elements.  However, the dtd, does
not allow a  element.  It does however allow for
 elements.

I would like to get the spring core jar plugin to work.  Can any one
provide a solution the I can add to my pom file?

Thanks in advance

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



Re: Release Plugin Assistance

2006-05-17 Thread Andrew Kreps

Julian,

In fact, I hadn't tried that.  It wasn't the entire solution, but it
did get me up and running.  Now I'm havving fun with version numbers
because our code is now being considered part of the Maven repository.
Hence, it's subject to Maven's rules and regs regarding versioning.
Thanks for getting me moving on this one!



On 5/16/06, Julian Wood <[EMAIL PROTECTED]> wrote:

It almost seems too obvious, but have you tried mvn install? Once
your artifacts are all in your local repo, the dependencies can be
located, and the release can go ahead. Just a guess (it still happens
to me sometimes).

J


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



Re: Error downloading commons-logging-1.1.pom from repo.mergere.com

2006-05-17 Thread Dennis Lundberg

Paul Spencer wrote:
I am getting the following error when Maven is downloading 
commons-logging-1.1.pom from repo.mergere.com


[WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
invalid. It will be ignored for artifact resolution. Reason: Parse error 
reading POM. Reason: expected start tag name and not / (position: 
START_DOCUMENT seen 
)


I also get a "XML Parsing Error: not well-formed" error when viewing the 
pom in a browser.


http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom 


The Maven 2 pom for commons-logging is created automatically by the 
Maven1-to-Maven2 repo converter. It seems that the pom in question does 
not have the xml declaration on a line of its own.


Here's what the first two lines look like:


  4.0.0

That should really be three lines like this:



  4.0.0

--
Dennis Lundberg

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



Legacy repository snapshot deploy

2006-05-17 Thread Eric White

I'm starting to migrate my maven1 projects over to maven2.  I need to
publish snapshot artifacts to a maven1 repository from a maven 2 build.
I have my repo set up in legacy mode, and the artifact publishes and
converts the snapshot to a date encoded version number just like it's
supposed to.  Cool.
Is there a graceful way to get it to publish the -SNAPSHOT file name as well
so my maven1 projects can use the artifact?
Thanks.
-Eric


J2me maven plugin

2006-05-17 Thread Vandermi Joao da Silva
I have a  maven2 project using J2me,  but I do not to make preverify in my .jar.
Then,  the jar not work in my device.
 Somebody can help me? 
Is there some plugin for J2ME?
If that exist plugin ,is possible create a file jad to project J2me?
I see one plugin in mojo site but the URL is down.

Best Regards
 
 

 

 

Vandermi Silva
R&D MAO - Core Engines  

BenQ Eletroeletrônica Ltda. 

 

TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Av. Djalma Batista, 536 - São Geraldo 

Manaus-AM
Brasil

 

 

 


Error downloading commons-logging-1.1.pom from repo.mergere.com

2006-05-17 Thread Paul Spencer
I am getting the following error when Maven is downloading 
commons-logging-1.1.pom from repo.mergere.com


[WARNING] POM for 'commons-logging:commons-logging:pom:1.1:compile' is 
invalid. It will be ignored for artifact resolution. Reason: Parse error 
reading POM. Reason: expected start tag name and not / (position: 
START_DOCUMENT seen 
)


I also get a "XML Parsing Error: not well-formed" error when viewing the 
pom in a browser.


http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom

Paul Spencer

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



Re: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Paul Spencer

Brett,
It appears the content type set by the server is different.  My company 
firewall is blocking it.  Authenticating to the company firewall will 
allows maven to work.


  Response denied from 
http://64.14.253.156:80/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.jar: 
Unsafe content type "application/octet-stream"


Please thank your company for hosting the repository.

Paul Spencer

Brett Porter wrote:

Hi Paul,

My company has offered the services of the repository while there has
been an extended hardware outage on the original community box at
maven.org.

I am able to download that JAR unauthenticated - do you have the same
problems from a browser?

Cheers,
Brett

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Maven build is failing to download dependencies.  I am getting the
following errors.  Notice the url maven.org is changed to mergere.com.

Error transferring file
   commons-logging:commons-logging:jar:1.1

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)



Caused by I/O exception: Server returned HTTP response code: 403 for
URL:
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1 


.jar

Paul Spencer

-
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: JavaOne?

2006-05-17 Thread Carlos Sanchez

And later at the Geronimo party at the W hotel ;)
See http://www.virtuas.com/

On 5/17/06, Brett Porter <[EMAIL PROTECTED]> wrote:

We missed out this year, unfortunately.

If you are in the pavilion today, a couple of us will likely be at the
Mergere booth - come by and say hi.

Cheers,
Brett

On 5/17/06, Carl Schmidt <[EMAIL PROTECTED]> wrote:
> Hey there, anyone else here at JavaOne want to get together and chat?  I was 
shocked that there wasn't even a Maven BOF!
>
>  - Carl
>
>
>
> 
> Hacked out painfully on my Blackberry just for you...
>

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





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



Re: Adding Maven Plugins

2006-05-17 Thread Hycel Taylor

Thank you for the references. I'll tear into them right away.

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



Re: Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Brett Porter

Hi Paul,

My company has offered the services of the repository while there has
been an extended hardware outage on the original community box at
maven.org.

I am able to download that JAR unauthenticated - do you have the same
problems from a browser?

Cheers,
Brett

On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Maven build is failing to download dependencies.  I am getting the
following errors.  Notice the url maven.org is changed to mergere.com.

Error transferring file
   commons-logging:commons-logging:jar:1.1

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)



Caused by I/O exception: Server returned HTTP response code: 403 for
URL:
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1
.jar

Paul Spencer

-
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: Status on mavenide (maven2) IDEA plugin?

2006-05-17 Thread ben short

Vinny,

Where did you hear that? Do you have a link to it?

Ben

On 5/17/06, Wayne Fay <[EMAIL PROTECTED]> wrote:


Hopefully that's Maven2 -and- Maven1, not just one or the other,
though I personally just care about M2 at this point...

Wayne

On 5/17/06, Vinny <[EMAIL PROTECTED]> wrote:
> Got a confirmation...  jetbrains is  building in Maven support into
their next
> release of IDEA, it should have the same integration that Ant enjoys.
> Very cool.
>
> On 5/17/06, Gwyn <[EMAIL PROTECTED]> wrote:
> >
> >
> > Wayne Fay wrote:
> > >
> > > IDEA is a product of a company which charges money for the IDE. Thus
> > > it by definition does not have as many customers as a free product
> > > like Netbeans and Eclipse.
> > >
> > While IDEA may well have less users than NetBeans/Eclipe, it's
certainly not
> > "by definition".  In fact, there's an argument that as they don't
charge,
> > "by definition" they have fewer "customers".  [My dictionary's primary
> > definition of customer is "a person who buys".]
> >
> > There's also the possibility that the developers who do
purchase/influence
> > the purchase of IDEA might tend to have more than the average
proportion of
> > types who would be interested in knocking up an IDEA plugin in their
spare
> > time!
> >
> >
> > Wayne Fay wrote:
> > >
> > > If your paid-for IDE does not support all of your development
> > > requirements, then you might want to look elsewhere.
> > >
> > At which point you find that no IDE will do everything, so return to
the
> > best available, which is IDEA for a lot of developers.  Competing
against
> > some strong free alternatives, it's got to be something special, just
to
> > stick around.
> >
> >
> > Wayne Fay wrote:
> > > For these reasons and more, I'm not surprised that the IDEA plugin
is
> > > not up to your expectations...
> > >
> > I think the real reason is that the combination of the
maven-idea-plugin
> > together with the way "mvn" can be added to the menus/toolbars as an
> > external tool means that it has "good enough" support for most
developers...
> >
> > /Gwyn
> > --
> > View this message in context:
http://www.nabble.com/Status-on-mavenide-%28maven2%29-IDEA-plugin--t1622062.html#a4426597
> > Sent from the Maven - Users forum at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Ghetto Java: http://www.ghettojava.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]




Who is mergere.com and why is maven.org resolving to it?

2006-05-17 Thread Paul Spencer
Maven build is failing to download dependencies.  I am getting the 
following errors.  Notice the url maven.org is changed to mergere.com.


Error transferring file
  commons-logging:commons-logging:jar:1.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



Caused by I/O exception: Server returned HTTP response code: 403 for 
URL: 
http://repo.mergere.com/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1

.jar

Paul Spencer

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



Re: Central repo slow -- hangs often

2006-05-17 Thread Brett Porter

We don't currently have any resume support, unfortunately.

I'd suggest trying the default repository (repo1.maven.org), as right
now it is the fastest.

- Brett

On 5/17/06, Davis Ford <[EMAIL PROTECTED]> wrote:

Hi, it seems getting to the central repo and downloading dependencies
often hangs for me, and i have to restart the process again and again.

I understand the intermittency of network issues, but is there any
recommended solution for this?

I added:


  etc.


a whole bunch of mirrors to my settings.xml, but that does not seem to
alleviate the problem.

Concrete example.  I've tried to d/l

http://www.ibiblio.net/pub/packages/maven2/pcj/pcj/1.2/pcj-1.2.jar

about 5 times now.  Each time it gets to 480/2699K and hangs -- I've
left it hanging for about 10 min. now.

Any ideas?

Thanks in advance,
Davis

-
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: Adding Maven Plugins

2006-05-17 Thread Dennis Lundberg

Hycel Taylor wrote:

Hi,

I'm new to using Maven.  I purchased the book, "Maven A Developer's
Nnotebook", and I've read it cover to cover.  However, it's not up to
date with Maven2. 


If you want to get updated on Maven 2, I can highly recommend the new 
book "Better Builds with Maven" written by some of the Maven 
contributors. It is available as a free download from this site 
(registration is required)

  http://www.mergere.com/m2book_download.jsp


I've setup my first Maven project and now I'm
trying to download a few Maven plugins.  Initially I need to download
the Spring1.2.6.jar and the latest Hibernate jar.  I've been trying
for the last four hours or so to figure out how to do this to no
avail.

Could someone please explain the steps I need to take in order to do
this?  For example, what are the steps I need to take in order to
download the latest spring core jar?


You shouldn't have to download anything manually - Maven should do it 
for you. But for this to happen you need to set up your dependencies 
correctly. Here's an introduction to how dependencies work:

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

--
Dennis Lundberg

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



Re: Multi modules: project-jar and project-obfuscated-jar help

2006-05-17 Thread dan tran

I meant " so that you DONT need build-helper-maven-plugin

-Dan


On 5/17/06, dan tran <[EMAIL PROTECTED]> wrote:




 On 5/17/06, Dave Comeau <[EMAIL PROTECTED]> wrote:
>
>
> Thanks for the quicky reply Dan.
>
> When you said "you can deploy multiple artifacts under one project", did
> you
> mean that that one project contains multiple modules?
>
> I was following your advice from this earlier response:
>
> http://www.mail-archive.com/users@maven.apache.org/msg41540.html
>
> ...where you said that for my project-obfuscated-jar module, to "write
> your
> own plugin (or custom antrun) to scramble the project-jar".
>
> But I'm thinking now that I don't need project-jar (with pom.xml) and
> project-obfuscated-jar (with pom.xml) modules.  I just need one project
> with
> one pom.xml and create multiple artifacts (using different classifier
> types)
> with my own plugin or the build-helper-maven-plugin.  Do you agree?


 Yes,

So you artifact should be something like this:

id-${version}.jar
id-${version}-obf.jar

If you write your own plugin to package to obfuscated jar, your can
directly attach that atifact to maven
( so that you need build-heler-maven-plugin to do that job)

no need to have multi modules

-D

-Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED] ]
> Sent: Tuesday, May 16, 2006 4:53 PM
> To: Maven Users List
> Subject: Re: Multi modules: project-jar and project-obfuscated-jar help
>
>
> On 5/16/06, Dave Comeau <[EMAIL PROTECTED] > wrote:
> >
> >
> > I'm trying to design a multi-module project to do a variety of steps
> that
> > I
> > currently do in my existing Ant build system, and was previously given
> > some
> > advice to setup one module to create the standard jar artifact, and
> then
> > create another module (which has a dependency on the jar module) to
> create
> > the obfuscated jar.
> >
> > Being new to Maven, I can't see how to do this.  In theory I will want
> the
> > project-ofuscated-jar to access (and unpackage?) the project-jar's
> freshly
> > created jar file and then obfuscate the classes using antrun or a
> custom
> > plugin.
> >
> > I'm hoping someone can shed some light on how this is actually
> done.  I
> > can't find any documentation on multi-modules that explains the
> > relationship
> > between modules in the context that I need.
> >
> > Here are my questions:
> >
> > 1) I assume that by M2 design, project-obfuscated-jar should not
> directly
> > access the classes/ in project-jar.  Instead it should access the
> > project-jar JAR artifact.  Is this correct?
>
>
> Maven 2 now allows artifact classifier type, ie you can deploy mulitple
> artifacts under one project.
> So I dont see why not apply to your use case since it is much simpler.
>
> So you need a use antrun to do the obfuscation and use
> build-helper-maven-plugin to help with deploy thru attach goal.
>
> 2) Would project-jar's jar artifact first need to be deployed to the
> > repository before the project-obfuscated-jar can access it?
> >
> > 3) Assume that project-obfuscated-jar uses antrun to feed the classes
> > produced by project-jar into the obfuscator.  How do I directly
> reference
> > project-jar's JAR file?
> >
> > 4) Is it bad practice to reference peer projects/modules using "../.."
>
> > type
> > references?
> >
> > 5) Is there any documentation/references on multi-modules outside of
> the
> > typical use cases where a multi-module project is just a set of
> projects
> > each with their own source tree?  I feel I am trying to apply the
> > multi-module functionality to a more specialized use case that is
> > certainly
> > within the capabilities of Maven, but it's not typical and the
> > documentation
> > hasn't expanded beyond the mainstream use cases yet.
> >
> > Thank you for your help
> > DaveC
> >
> >
> >
> >
> >
>
>




Re: Multi modules: project-jar and project-obfuscated-jar help

2006-05-17 Thread dan tran

On 5/17/06, Dave Comeau <[EMAIL PROTECTED]> wrote:



Thanks for the quicky reply Dan.

When you said "you can deploy multiple artifacts under one project", did
you
mean that that one project contains multiple modules?

I was following your advice from this earlier response:

http://www.mail-archive.com/users@maven.apache.org/msg41540.html

...where you said that for my project-obfuscated-jar module, to "write
your
own plugin (or custom antrun) to scramble the project-jar".

But I'm thinking now that I don't need project-jar (with pom.xml) and
project-obfuscated-jar (with pom.xml) modules.  I just need one project
with
one pom.xml and create multiple artifacts (using different classifier
types)
with my own plugin or the build-helper-maven-plugin.  Do you agree?



Yes,

So you artifact should be something like this:

id-${version}.jar
id-${version}-obf.jar

If you write your own plugin to package to obfuscated jar, your can directly
attach that atifact to maven
( so that you need build-heler-maven-plugin to do that job)

no need to have multi modules

-D

-Original Message-

From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 4:53 PM
To: Maven Users List
Subject: Re: Multi modules: project-jar and project-obfuscated-jar help


On 5/16/06, Dave Comeau <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to design a multi-module project to do a variety of steps
that
> I
> currently do in my existing Ant build system, and was previously given
> some
> advice to setup one module to create the standard jar artifact, and then
> create another module (which has a dependency on the jar module) to
create
> the obfuscated jar.
>
> Being new to Maven, I can't see how to do this.  In theory I will want
the
> project-ofuscated-jar to access (and unpackage?) the project-jar's
freshly
> created jar file and then obfuscate the classes using antrun or a custom
> plugin.
>
> I'm hoping someone can shed some light on how this is actually done.  I
> can't find any documentation on multi-modules that explains the
> relationship
> between modules in the context that I need.
>
> Here are my questions:
>
> 1) I assume that by M2 design, project-obfuscated-jar should not
directly
> access the classes/ in project-jar.  Instead it should access the
> project-jar JAR artifact.  Is this correct?


Maven 2 now allows artifact classifier type, ie you can deploy mulitple
artifacts under one project.
So I dont see why not apply to your use case since it is much simpler.

So you need a use antrun to do the obfuscation and use
build-helper-maven-plugin to help with deploy thru attach goal.

2) Would project-jar's jar artifact first need to be deployed to the
> repository before the project-obfuscated-jar can access it?
>
> 3) Assume that project-obfuscated-jar uses antrun to feed the classes
> produced by project-jar into the obfuscator.  How do I directly
reference
> project-jar's JAR file?
>
> 4) Is it bad practice to reference peer projects/modules using "../.."
> type
> references?
>
> 5) Is there any documentation/references on multi-modules outside of the
> typical use cases where a multi-module project is just a set of projects
> each with their own source tree?  I feel I am trying to apply the
> multi-module functionality to a more specialized use case that is
> certainly
> within the capabilities of Maven, but it's not typical and the
> documentation
> hasn't expanded beyond the mainstream use cases yet.
>
> Thank you for your help
> DaveC
>
>
>
>
>




Adding Maven Plugins

2006-05-17 Thread Hycel Taylor

Hi,

I'm new to using Maven.  I purchased the book, "Maven A Developer's
Nnotebook", and I've read it cover to cover.  However, it's not up to
date with Maven2.  I've setup my first Maven project and now I'm
trying to download a few Maven plugins.  Initially I need to download
the Spring1.2.6.jar and the latest Hibernate jar.  I've been trying
for the last four hours or so to figure out how to do this to no
avail.

Could someone please explain the steps I need to take in order to do
this?  For example, what are the steps I need to take in order to
download the latest spring core jar?

Thanks in advance for the help.

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



Re: Status on mavenide (maven2) IDEA plugin?

2006-05-17 Thread Wayne Fay

Hopefully that's Maven2 -and- Maven1, not just one or the other,
though I personally just care about M2 at this point...

Wayne

On 5/17/06, Vinny <[EMAIL PROTECTED]> wrote:

Got a confirmation...  jetbrains is  building in Maven support into their next
release of IDEA, it should have the same integration that Ant enjoys.
Very cool.

On 5/17/06, Gwyn <[EMAIL PROTECTED]> wrote:
>
>
> Wayne Fay wrote:
> >
> > IDEA is a product of a company which charges money for the IDE. Thus
> > it by definition does not have as many customers as a free product
> > like Netbeans and Eclipse.
> >
> While IDEA may well have less users than NetBeans/Eclipe, it's certainly not
> "by definition".  In fact, there's an argument that as they don't charge,
> "by definition" they have fewer "customers".  [My dictionary's primary
> definition of customer is "a person who buys".]
>
> There's also the possibility that the developers who do purchase/influence
> the purchase of IDEA might tend to have more than the average proportion of
> types who would be interested in knocking up an IDEA plugin in their spare
> time!
>
>
> Wayne Fay wrote:
> >
> > If your paid-for IDE does not support all of your development
> > requirements, then you might want to look elsewhere.
> >
> At which point you find that no IDE will do everything, so return to the
> best available, which is IDEA for a lot of developers.  Competing against
> some strong free alternatives, it's got to be something special, just to
> stick around.
>
>
> Wayne Fay wrote:
> > For these reasons and more, I'm not surprised that the IDEA plugin is
> > not up to your expectations...
> >
> I think the real reason is that the combination of the maven-idea-plugin
> together with the way "mvn" can be added to the menus/toolbars as an
> external tool means that it has "good enough" support for most developers...
>
> /Gwyn
> --
> View this message in context: 
http://www.nabble.com/Status-on-mavenide-%28maven2%29-IDEA-plugin--t1622062.html#a4426597
> Sent from the Maven - Users forum at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Ghetto Java: http://www.ghettojava.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: Trying to run goal site

2006-05-17 Thread Wayne Fay

I'm not honestly sure if its a bug or not... It really depends on how
the versions are specified in the various poms. You can use
[1.1.3] to lock-in a specific version; its possible
the acegi pom specifies this explicitly, so Maven will not
automatically upgrade all your spring artifacts to the 1.2.4 release
as you might hope/expect.

You'll need to do more research into these specific artifacts to
figure out what's going on... And then perhaps file as a bug, if
necessary.

Wayne

On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:

Thx, I thought so.  Do you see this as a defect, or is this the way
things are supposed to work?  I have no problems logging this as a
defect (if that is what it is) and manipulating the pom file as a work
around.  My concern is how many times will this I have to do this
(rhetorical question).  So I guess what I am asking is, is this really a
bug?

Regards,
Douglas WF Acheson

On Wed, 2006-05-17 at 12:20 -0500, Wayne Fay wrote:
> You could download the acegisecurity source code, "move it" under your
> own company's groupId, modify the pom so it uses the newer Spring
> 1.2.4, build and deploy it to your local corporate repo.
>
> Then adjust your own project's pom to reflect the new groupId etc.
>
> I'm sure this is more painful than you're probably interested in
> dealing with, but it would work...
>
> Wayne
>
> On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >  Thanks for the response. I wen through the exercise of using -X to
> > resolve my compile issues when I started to use Maven2.
> >
> >   What happens (found out by using -X) is that Spring 1.1.3 is added to
> > the classpath via the acegi (0.7) dependency, even though I have
> > explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
> > adds it before Spring 1.2.4.  So, to remove this from the classpath I
> > used the exclusion on the acegi dependency, and that worked.
> >
> >   Now site does not work, grrr 
> >
> > Regards,
> > Douglas WF Acheson
> >


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



Re: Status on mavenide (maven2) IDEA plugin?

2006-05-17 Thread Vinny

Got a confirmation...  jetbrains is  building in Maven support into their next
release of IDEA, it should have the same integration that Ant enjoys.
Very cool.

On 5/17/06, Gwyn <[EMAIL PROTECTED]> wrote:



Wayne Fay wrote:
>
> IDEA is a product of a company which charges money for the IDE. Thus
> it by definition does not have as many customers as a free product
> like Netbeans and Eclipse.
>
While IDEA may well have less users than NetBeans/Eclipe, it's certainly not
"by definition".  In fact, there's an argument that as they don't charge,
"by definition" they have fewer "customers".  [My dictionary's primary
definition of customer is "a person who buys".]

There's also the possibility that the developers who do purchase/influence
the purchase of IDEA might tend to have more than the average proportion of
types who would be interested in knocking up an IDEA plugin in their spare
time!


Wayne Fay wrote:
>
> If your paid-for IDE does not support all of your development
> requirements, then you might want to look elsewhere.
>
At which point you find that no IDE will do everything, so return to the
best available, which is IDEA for a lot of developers.  Competing against
some strong free alternatives, it's got to be something special, just to
stick around.


Wayne Fay wrote:
> For these reasons and more, I'm not surprised that the IDEA plugin is
> not up to your expectations...
>
I think the real reason is that the combination of the maven-idea-plugin
together with the way "mvn" can be added to the menus/toolbars as an
external tool means that it has "good enough" support for most developers...

/Gwyn
--
View this message in context: 
http://www.nabble.com/Status-on-mavenide-%28maven2%29-IDEA-plugin--t1622062.html#a4426597
Sent from the Maven - Users forum at Nabble.com.


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





--
Ghetto Java: http://www.ghettojava.com

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



Central repo slow -- hangs often

2006-05-17 Thread Davis Ford

Hi, it seems getting to the central repo and downloading dependencies
often hangs for me, and i have to restart the process again and again.

I understand the intermittency of network issues, but is there any
recommended solution for this?

I added:


 etc.


a whole bunch of mirrors to my settings.xml, but that does not seem to
alleviate the problem.

Concrete example.  I've tried to d/l

http://www.ibiblio.net/pub/packages/maven2/pcj/pcj/1.2/pcj-1.2.jar

about 5 times now.  Each time it gets to 480/2699K and hangs -- I've
left it hanging for about 10 min. now.

Any ideas?

Thanks in advance,
Davis

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



RE: Multi modules: project-jar and project-obfuscated-jar help

2006-05-17 Thread Dave Comeau

Thanks for the quicky reply Dan.

When you said "you can deploy multiple artifacts under one project", did you
mean that that one project contains multiple modules?

I was following your advice from this earlier response:

http://www.mail-archive.com/users@maven.apache.org/msg41540.html

...where you said that for my project-obfuscated-jar module, to "write your
own plugin (or custom antrun) to scramble the project-jar".

But I'm thinking now that I don't need project-jar (with pom.xml) and
project-obfuscated-jar (with pom.xml) modules.  I just need one project with
one pom.xml and create multiple artifacts (using different classifier types)
with my own plugin or the build-helper-maven-plugin.  Do you agree?


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 16, 2006 4:53 PM
To: Maven Users List
Subject: Re: Multi modules: project-jar and project-obfuscated-jar help


On 5/16/06, Dave Comeau <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to design a multi-module project to do a variety of steps that
> I
> currently do in my existing Ant build system, and was previously given
> some
> advice to setup one module to create the standard jar artifact, and then
> create another module (which has a dependency on the jar module) to create
> the obfuscated jar.
>
> Being new to Maven, I can't see how to do this.  In theory I will want the
> project-ofuscated-jar to access (and unpackage?) the project-jar's freshly
> created jar file and then obfuscate the classes using antrun or a custom
> plugin.
>
> I'm hoping someone can shed some light on how this is actually done.  I
> can't find any documentation on multi-modules that explains the
> relationship
> between modules in the context that I need.
>
> Here are my questions:
>
> 1) I assume that by M2 design, project-obfuscated-jar should not directly
> access the classes/ in project-jar.  Instead it should access the
> project-jar JAR artifact.  Is this correct?


Maven 2 now allows artifact classifier type, ie you can deploy mulitple
artifacts under one project.
So I dont see why not apply to your use case since it is much simpler.

So you need a use antrun to do the obfuscation and use
build-helper-maven-plugin to help with deploy thru attach goal.

2) Would project-jar's jar artifact first need to be deployed to the
> repository before the project-obfuscated-jar can access it?
>
> 3) Assume that project-obfuscated-jar uses antrun to feed the classes
> produced by project-jar into the obfuscator.  How do I directly reference
> project-jar's JAR file?
>
> 4) Is it bad practice to reference peer projects/modules using "../.."
> type
> references?
>
> 5) Is there any documentation/references on multi-modules outside of the
> typical use cases where a multi-module project is just a set of projects
> each with their own source tree?  I feel I am trying to apply the
> multi-module functionality to a more specialized use case that is
> certainly
> within the capabilities of Maven, but it's not typical and the
> documentation
> hasn't expanded beyond the mainstream use cases yet.
>
> Thank you for your help
> DaveC
>
>
>
>
>


Re: Maven Not Resolving Dependencies

2006-05-17 Thread Ole Ersoy
Thanks Wayne - I'll do that as well.

I just figured out what the problem was.  

I upgraded java, but I was root.  So apparantly maven
could not run the classloader.  I installed again
as me, and now everything works fine.

Cheers,
- Ole

--- Wayne Fay <[EMAIL PROTECTED]> wrote:

> Upgrade to Maven 2.0.4. I doubt it will solve your
> problem, but 2.0.3
> had regression bugs, so no one should use it.
> 
> Wayne
> 
> On 5/17/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> > Hi Bruno,
> >
> > It's actually a class from the Apache myfaces
> project
> > and it is downloaded from ibiblio by maven using
> > the standard dependency mechanism.
> >
> > So eclipse is loading the dependency
> > from the local maven repository.
> >
> > For some reason Maven is not seeing the dependency
> in
> > the repository.
> >
> > Thanks for the try though,
> > - Ole
> >
> > --- Bruno Patini Furtado <[EMAIL PROTECTED]>
> wrote:
> >
> > > is UIComponentBase a class of yours? or for some
> JAR
> > > of which you depend?
> > >
> > > Because if it is a class of your project you may
> > > have put it outside the
> > > standard maven directory for source code, and
> maven
> > > is not compiling it.
> > > Eclipse source folders and where maven expects
> to
> > > find the sources are
> > > places not related. Maven's compile plugin does
> not
> > > read the Eclipse project
> > > to gather information.
> > >
> > >
> > > On 5/16/06, Ole Ersoy <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I'm running Maven 2.0.3 and I'm having
> problems
> > > > compiling.
> > > >
> > > > I first run the eclipse plugin and eclipse is
> able
> > > to
> > > > load the dependencies.
> > > >
> > > > I then attempt to install, and the maven
> compiler
> > > > gives me messages like this:
> > > >
> > > >
> > > >
> > >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > > > package javax.faces.component does not exist
> > > >
> > > >
> > > >
> > >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[3,35]
> > > > cannot find symbol
> > > > symbol: class UIComponentBase
> > > >
> > > >
> > > > So eclipse sees the dependencies in the
> > > repository,
> > > > but maven does not.
> > > >
> > > > Any ideas?
> > > >
> > > > Thanks in advance!
> > > >
> > > > Cheers,
> > > > - Ole
> > > >
> > > >
> __
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around
> > > > http://mail.yahoo.com
> > > >
> > > >
> > >
> >
>
-
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > "Minds are like parachutes, they work best when
> > > open."
> > >
> > > Bruno Patini Furtado
> > > Software Developer
> > > webpage: http://bpfurtado.net
> > > software development blog:
> > > http://bpfurtado.livejournal.com
> > >
> >
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.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]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Trying to run goal site

2006-05-17 Thread Douglas WF Acheson
Thx, I thought so.  Do you see this as a defect, or is this the way
things are supposed to work?  I have no problems logging this as a
defect (if that is what it is) and manipulating the pom file as a work
around.  My concern is how many times will this I have to do this
(rhetorical question).  So I guess what I am asking is, is this really a
bug?

Regards,
Douglas WF Acheson

On Wed, 2006-05-17 at 12:20 -0500, Wayne Fay wrote:
> You could download the acegisecurity source code, "move it" under your
> own company's groupId, modify the pom so it uses the newer Spring
> 1.2.4, build and deploy it to your local corporate repo.
> 
> Then adjust your own project's pom to reflect the new groupId etc.
> 
> I'm sure this is more painful than you're probably interested in
> dealing with, but it would work...
> 
> Wayne
> 
> On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >  Thanks for the response. I wen through the exercise of using -X to
> > resolve my compile issues when I started to use Maven2.
> >
> >   What happens (found out by using -X) is that Spring 1.1.3 is added to
> > the classpath via the acegi (0.7) dependency, even though I have
> > explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
> > adds it before Spring 1.2.4.  So, to remove this from the classpath I
> > used the exclusion on the acegi dependency, and that worked.
> >
> >   Now site does not work, grrr 
> >
> > Regards,
> > Douglas WF Acheson
> >
> > On Wed, 2006-05-17 at 11:34 -0500, Wayne Fay wrote:
> > > I think you should try the following:
> > >
> > > 1. Add an explicit spring-core/springframework dependency node with
> > > the proper version.
> > > 2. Remove this exclusion node.
> > > 3. Run mvn -X and watch what version(s) of acegisecurity and
> > > springframework are used.
> > >
> > > Maven should automatically see that acegi needs springframework
> > > version 1.3, but since you've included version x (x > 1.3) in your
> > > list of dependent artifacts, it should use that version instead.
> > >
> > > Wayne
> > >
> > > On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > Hello,
> > > >
> > > >   Okay so I have found out what the problem was.  I have in my pom.xml
> > > > the following (snippet here)
> > > >
> > > > 
> > > > acegisecurity
> > > > acegi-security
> > > > 0.7.0
> > > > compile
> > > > 
> > > > 
> > > > spring-core
> > > > springframework
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > > This causes site a problem.  I assume it is because I am using
> > > > exclusions to not include the version of Spring this guy depends on,
> > > > which is 1.3.  We use a later version of Spring (it is not an option to
> > > > upgrade to a later version of acegi nor is it an option to downgrade
> > > > Spring).
> > > >
> > > >  Any idea how I can compile and run site using the above?
> > > >
> > > >
> > > > Regards,
> > > > Douglas WF Acheson
> > > >
> > > >
> > > > On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > > > > Just for now, yes, I would exclude those dependencies manually in your
> > > > > pom, and specifically include the proper (relocated) dependencies.
> > > > >
> > > > > This is all trying to get your site generated properly. Once that
> > > > > works, then you can start optimizing your pom.
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > > > Thx for the input!  I have thought of that, but quickly realized I 
> > > > > > do
> > > > > > not directly depend upon those artifats, they are transient
> > > > > > dependencies.  Does it make sense that I modify the pom files in my
> > > > > > local repo to use exclude those dependencies?  That could be a lot 
> > > > > > of
> > > > > > work, just to have it change when a new update comes in.  And how 
> > > > > > would
> > > > > > that work for others on my team who need to run site?
> > > > > >
> > > > > > Thanks again ...
> > > > > >
> > > > > > dwfa
> > > > > >
> > > > > >
> > > > > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > > > > Based on those "... has been relocated..." statements, I would 
> > > > > > > modify
> > > > > > > your dependencies to pull the artifacts from the 
> > > > > > > org.springframework,
> > > > > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > > > > problems.
> > > > > > >
> > > > > > > Wayne
> > > > > > >
> > > > > > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > > > > >
> > > > > > > > I need to get a site up and running to show my boss :-().  I 
> > > > > > > > have gotten
> > > > > > > > a little farther.  When I run mvn site:site I get one html file
> > > > > > > > integration.html
> > > > > > > > But, the goal fails on creating the depe

Re: [m2] is maven-developer-activity-plugin a Maven 2 plugin???

2006-05-17 Thread Leo L

Thanks Dennis and Yann!
I´ll check it out...

Regards,
Leo


2006/5/16, Yann Le Du <[EMAIL PROTECTED]>:


Hi Leo,

The developer activity report is part of the changelog-maven-plugin, which
is a Maven 2 plugin with the groupId org:codehaus:mojo
http://repo1.maven.org/maven2/org/codehaus/mojo/changelog-maven-plugin/

Note that it is planned to be moved to
org.apache.maven.plugins:maven-changelog-plugin for next versions.

Regards,
- Yann

2006/5/16, Leo L <[EMAIL PROTECTED]>:
>
> >
> >
>
>
> Hi all!!!
>
> I would like to known if the maven-developer-activity-plugin is a Maven
2
> plugin?
>
> regards,
>
> Leo
>
>




Profilex.xml profile not found

2006-05-17 Thread raghurajan . x . gurunathan
Hi All

Suddenly my profiles in profiles.xml are sudenly not getting activated..? 
I was using it without any problem so long. 

It drives me crazy

any one has any idea ? why its not finding my profiles in profies.xml i 
have it as true

Please help


Thanks,
Raghu 


how to use plexus components in ant script plugin?

2006-05-17 Thread Jason Chaffee
The ant-plugin guide:
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
discusses advanced usage of plexus components, but it doesn't say how
they can be used within ant.  Can someone elaborate on this?  In
particular, I would like to create an ant based plugin that is able to
attach an artifact in similar fashion as the assembly plugin.

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



Re: Need information on maven proxy

2006-05-17 Thread Clifton Craig
From my knowledge, there is limited Java support for ntlm proxies. Generally 
only the older outdated versions are supported so you may be out of luck. We 
have a http proxy the supports basic authentication so I can only be of 
little help in your situation. My apologies and I wish the best of luck to 
you.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Wednesday 17 May 2006 3:46 am, Malcolm Wong Ho wrote:
> i'm trying to use maven-proxy, i have a ntlmaps proxy setup. The
> maven-proxy.properties file has an entry for the proxy and port, but i get 
> java.net.ConnectException: Connection refused.
>
>
> Any ideas ?
>
> -Original Message-
> From: Clifton Craig [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/16/2006 9:40 PM
> To: Maven Users List
> Subject: Re: Need information on maven proxy
>
> There seems to be a disk corruption problem on codehaus from what I've
> heard. I'm not sure when it will be available but I can tell you what I
> know of Maven-proxy. I got it up and running here. I used the war
> distribution and dropped it into a Jetty instance. I had some trouble
> understanding how to get things to work through our authenticating in
> office proxy but finally got it working. If you have a specific question
> I'd be glad to help.
>
> ---
> Clifton C. Craig, Software Engineer
> Intelligent Computer Systems -  A Division of GBG
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> On Tuesday 16 May 2006 12:39 pm, Gautham Pamu wrote:
> > Hi Everyone,
> >
> > Can you send me the links on how to setup maven proxy ? Is this main
> > project website ? Is seems to be down ?
> > Are there any alternate website which have information on maven proxy.
> >
> > http://maven-proxy.codehaus.org/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> DISCLAIMER:
> This message may contain information which is confidential, private or
> privileged in nature. If you are not the intended recipient, you may not
> peruse, use, disseminate, distribute or copy this message or file which is
> attached to this message. If you have received this message in error,
> please notify the sender immediately by e-mail, facsimile or telephone and
> thereafter return and/or destroy the original message.
>
> Any views of this communication are those of the sender except where the
> sender specifically states them to be those of Faritec (Holdings)  Limited
> (Faritec) and/or  any of its subsidiaries including (but not limited to)
> Faritec Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT
> Services (Proprietary) Limited, Faritec Contracting (Proprietary) Limited,
> Ebis and/or any of its subsidiaries.
>
> Please note that the recipient must scan this e-mail and any attached files
> for viruses and the like. While we do everything possible to protect
> information from viruses, Faritec accepts no liability of whatever nature
> for any loss, liability, damage or expense resulting directly or indirectly
> from the access and/or downloading of any files which are attached to this
> e-mail message.

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



[m2] phase skipping in release plugin?

2006-05-17 Thread Mark Hobson

Hi there,

I've just tried to use the lovely new release plugin, but discovered I
can't due to be reliant on SNAPSHOT dependencies.  Normally I'd agree
this is a bad thing, but the dependency in question is a build
extension - a locally hosted patched wagon webdav, until WAGON-48 is
fixed.

So the question is: do you think it's reasonable to request mojo
params to bypass specific phases of the release workflow?  For my
scenario I'm thinking something like:

mvn -Drelease.phase.snapshots.skip=true release:prepare

No worries if this gets shot down, I'll just have to persevere with
manual releases ;)

Cheers,

Mark

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



m2 how to exclude java files from target directory for compilation

2006-05-17 Thread Gautham Pamu

Hi Everyone,

I have project where the source code in the basedirectory, this is an SCA
module so it has source code in the basedir. During mvn install phase, I run
serviceDeploy task on the jar,
I was using keep=true which keeps the working directory in the target
directory. Now when I run mvn deploy, it tries to compile code and it tries
to compile
the code even from the target/tempworkingdirectory..

sample pom file...
  ${basedir}
   ${pom.artifactId}
 ... is there a filter for sourceDirectory so that we can exclude
java files from target directory...

how do I exclude java files from the target directory...

--
-Gautham Pamu


Re: Trying to run goal site

2006-05-17 Thread Wayne Fay

You could download the acegisecurity source code, "move it" under your
own company's groupId, modify the pom so it uses the newer Spring
1.2.4, build and deploy it to your local corporate repo.

Then adjust your own project's pom to reflect the new groupId etc.

I'm sure this is more painful than you're probably interested in
dealing with, but it would work...

Wayne

On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:

Hello,

 Thanks for the response. I wen through the exercise of using -X to
resolve my compile issues when I started to use Maven2.

  What happens (found out by using -X) is that Spring 1.1.3 is added to
the classpath via the acegi (0.7) dependency, even though I have
explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
adds it before Spring 1.2.4.  So, to remove this from the classpath I
used the exclusion on the acegi dependency, and that worked.

  Now site does not work, grrr 

Regards,
Douglas WF Acheson

On Wed, 2006-05-17 at 11:34 -0500, Wayne Fay wrote:
> I think you should try the following:
>
> 1. Add an explicit spring-core/springframework dependency node with
> the proper version.
> 2. Remove this exclusion node.
> 3. Run mvn -X and watch what version(s) of acegisecurity and
> springframework are used.
>
> Maven should automatically see that acegi needs springframework
> version 1.3, but since you've included version x (x > 1.3) in your
> list of dependent artifacts, it should use that version instead.
>
> Wayne
>
> On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >   Okay so I have found out what the problem was.  I have in my pom.xml
> > the following (snippet here)
> >
> > 
> > acegisecurity
> > acegi-security
> > 0.7.0
> > compile
> > 
> > 
> > spring-core
> > springframework
> > 
> > 
> > 
> >
> >
> > This causes site a problem.  I assume it is because I am using
> > exclusions to not include the version of Spring this guy depends on,
> > which is 1.3.  We use a later version of Spring (it is not an option to
> > upgrade to a later version of acegi nor is it an option to downgrade
> > Spring).
> >
> >  Any idea how I can compile and run site using the above?
> >
> >
> > Regards,
> > Douglas WF Acheson
> >
> >
> > On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > > Just for now, yes, I would exclude those dependencies manually in your
> > > pom, and specifically include the proper (relocated) dependencies.
> > >
> > > This is all trying to get your site generated properly. Once that
> > > works, then you can start optimizing your pom.
> > >
> > > Wayne
> > >
> > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > Thx for the input!  I have thought of that, but quickly realized I do
> > > > not directly depend upon those artifats, they are transient
> > > > dependencies.  Does it make sense that I modify the pom files in my
> > > > local repo to use exclude those dependencies?  That could be a lot of
> > > > work, just to have it change when a new update comes in.  And how would
> > > > that work for others on my team who need to run site?
> > > >
> > > > Thanks again ...
> > > >
> > > > dwfa
> > > >
> > > >
> > > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > > Based on those "... has been relocated..." statements, I would modify
> > > > > your dependencies to pull the artifacts from the org.springframework,
> > > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > > problems.
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > > >
> > > > > > I need to get a site up and running to show my boss :-().  I have 
gotten
> > > > > > a little farther.  When I run mvn site:site I get one html file
> > > > > > integration.html
> > > > > > But, the goal fails on creating the dependencies.html file (report) 
with
> > > > > > the exception
> > > > > >
> > > > > > [INFO] Generate "Dependencies" report.
> > > > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-context:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-webmvc:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > > > >   This artifac

Re: JavaOne?

2006-05-17 Thread Brett Porter

We missed out this year, unfortunately.

If you are in the pavilion today, a couple of us will likely be at the
Mergere booth - come by and say hi.

Cheers,
Brett

On 5/17/06, Carl Schmidt <[EMAIL PROTECTED]> wrote:

Hey there, anyone else here at JavaOne want to get together and chat?  I was 
shocked that there wasn't even a Maven BOF!

 - Carl




Hacked out painfully on my Blackberry just for you...



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



Re: Trying to run goal site

2006-05-17 Thread Douglas WF Acheson
Hello,

 Thanks for the response. I wen through the exercise of using -X to
resolve my compile issues when I started to use Maven2.

  What happens (found out by using -X) is that Spring 1.1.3 is added to
the classpath via the acegi (0.7) dependency, even though I have
explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
adds it before Spring 1.2.4.  So, to remove this from the classpath I
used the exclusion on the acegi dependency, and that worked.

  Now site does not work, grrr 

Regards,
Douglas WF Acheson

On Wed, 2006-05-17 at 11:34 -0500, Wayne Fay wrote:
> I think you should try the following:
> 
> 1. Add an explicit spring-core/springframework dependency node with
> the proper version.
> 2. Remove this exclusion node.
> 3. Run mvn -X and watch what version(s) of acegisecurity and
> springframework are used.
> 
> Maven should automatically see that acegi needs springframework
> version 1.3, but since you've included version x (x > 1.3) in your
> list of dependent artifacts, it should use that version instead.
> 
> Wayne
> 
> On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >   Okay so I have found out what the problem was.  I have in my pom.xml
> > the following (snippet here)
> >
> > 
> > acegisecurity
> > acegi-security
> > 0.7.0
> > compile
> > 
> > 
> > spring-core
> > springframework
> > 
> > 
> > 
> >
> >
> > This causes site a problem.  I assume it is because I am using
> > exclusions to not include the version of Spring this guy depends on,
> > which is 1.3.  We use a later version of Spring (it is not an option to
> > upgrade to a later version of acegi nor is it an option to downgrade
> > Spring).
> >
> >  Any idea how I can compile and run site using the above?
> >
> >
> > Regards,
> > Douglas WF Acheson
> >
> >
> > On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > > Just for now, yes, I would exclude those dependencies manually in your
> > > pom, and specifically include the proper (relocated) dependencies.
> > >
> > > This is all trying to get your site generated properly. Once that
> > > works, then you can start optimizing your pom.
> > >
> > > Wayne
> > >
> > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > Thx for the input!  I have thought of that, but quickly realized I do
> > > > not directly depend upon those artifats, they are transient
> > > > dependencies.  Does it make sense that I modify the pom files in my
> > > > local repo to use exclude those dependencies?  That could be a lot of
> > > > work, just to have it change when a new update comes in.  And how would
> > > > that work for others on my team who need to run site?
> > > >
> > > > Thanks again ...
> > > >
> > > > dwfa
> > > >
> > > >
> > > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > > Based on those "... has been relocated..." statements, I would modify
> > > > > your dependencies to pull the artifacts from the org.springframework,
> > > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > > problems.
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > > >
> > > > > > I need to get a site up and running to show my boss :-().  I have 
> > > > > > gotten
> > > > > > a little farther.  When I run mvn site:site I get one html file
> > > > > > integration.html
> > > > > > But, the goal fails on creating the dependencies.html file (report) 
> > > > > > with
> > > > > > the exception
> > > > > >
> > > > > > [INFO] Generate "Dependencies" report.
> > > > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-context:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-webmvc:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring

NullPointerException in Release Plugin 2.0-beta-4

2006-05-17 Thread Stefan Hübner

Hi folks,

I'm getting a NullPointerException when invoking "mvn release:prepare
-DdryRun=true" (don't know, if the dryRun-parameter makes any
difference). See the stack trace below.

Any thoughts on this issue?

cheers,
Stefan

java.lang.NullPointerException
   at 
org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.updateDomVersion(AbstractRewritePomsPhase.java:388)
   at 
org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.rewriteExtensions(AbstractRewritePomsPhase.java:352)
   at 
org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformDocument(AbstractRewritePomsPhase.java:230)
   at 
org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:165)
   at 
org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:102)
   at 
org.apache.maven.plugins.release.phase.AbstractRewritePomsPhase.simulate(AbstractRewritePomsPhase.java:529)
   at 
org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:135)
   at 
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106)
   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   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:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


Re: Maven2 versus JAXB

2006-05-17 Thread Wayne Fay

In that case, download and manually install the activation 1.0.2
artifact into your local repo. This seems to be your only option.

At the same, I would file a bug with the proper Java.net project so
the new Jaxb release does not depend on the old artifact(s), if
possible.

Wayne

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

Thanks.
The 1.1 option has the slight problem that the referenced poms also
still reference the 1.0.2 version, for example
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
has
 javax.xml.bind
activation 1.0.2 
But for the moment i am stuck with nonworking https proxy support (only
http works for me; i wrote another mail about this).

Greetings

Franz

Alexandre Poitras schrieb:
> On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
>> Thanks,
>>
>> Now i get (legacy reenabled)
>>
>> D:\projekte\Maven2\iso-app>mvn -U install
>> [INFO] Scanning for projects...
>> [INFO]
>> 
>>
>> [INFO] Building Maven Quick Start Archetype
>> [INFO]task-segment: [install]
>> [INFO]
>> 
>>
>> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
>> checking for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
>> for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
>> for updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
>> updates from central
>> [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
>> for updates from central
>> [INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
>> updates from central
>> Downloading:
>> 
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-1.0.2.pom
>>
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Error building POM (may not be this project's POM).
>> Same with mvn -U compile.
>> There is no
>> 
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-1.0.2.pom
>>
>> but
>> 
https://maven-repository.dev.java.net/repository/javax.activation/poms/activation-1.1.pom
>>
>> So it seems the downloadable plugin does not match the directory
>> structure anymore?!
>
> Your problem is that before activation 1.1, the license forbidded to
> deploy it in a global repository. See
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> for more info.
>
> So basically, you have two choices, either change the plugin .pom file
> to depend on the 1.1 release or install the 1.0.2 release manually in
> your local repository. It should do the trick.
>
>
>
>> Btw. i do not understand "run 'mvn install' on the plugin pom".
>> The plugin contains no pom.xml and without it i cannot run mvn?
>>
>
> Ah forget it, I thought the plugin was coming with the source.
>
>> Greetings
>>
>> Franz
>>
>> Alexandre Poitras schrieb:
>> > Your answer is in the download section of your link :
>> >
>> > Download
>> >
>> > This plugin will be added to the Maven 2 ibiblio repository and also
>> > to the java.net repository but we would like your feedback first.  If
>> > you have praises or problems with this plugin please post your email
>> > by joining the mailing list for [EMAIL PROTECTED] by registering
>> > here https://jaxb.dev.java.net/servlets/ProjectMailingListList.
>> >
>> > In the meantime you can download the lastest plugin version from this
>> > link and expand the .zip contents into your local
>> > %HOMEPATH%/.m2/repository directory.
>> >
>> > So download it and run 'mvn install' on the plugin pom. Should work
>> > afterward.
>> >
>> > On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
>> >> Hello,
>> >>
>> >> I followed the instructions on
>> >> https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success.
>> >> On mvn -U compile i get
>> >> ERROR] BUILD ERROR
>> >> INFO]
>> >>
>> 
>> >> INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' does
>> not
>> >> exist or no valid version could be found
>> >> This is with Maven 2.0.4.
>> >> There is neither com.sun.tools.xjc.maven2 nor maven-jaxb-plugin on
>> >> https://maven-repository.dev.java.net/repository,
>> >> but there are javax.xml.bind and maven-javanet-plugin.
>> >> Could i use these in an appropriate way (how?)?
>> >> My pom.xml is
>> >>
>> >> http://maven.apache.org/POM/4.0.0";
>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> >>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> >> http://maven.apache.org/maven-v4_0_0.xsd";>
>> >>   4.0.0
>> >>   de.isogmbh.aoo
>> >>   iso-app
>> >>   jar
>> >>   1.0-SNAPSHOT
>> >>   Maven Quick

Re: Re: Compilation failure of java.nio.BufferOverflowException

2006-05-17 Thread Wayne Fay

Try 512.
If that doesn't work, try 768. Then 1024.

Wayne

On 5/17/06, Zhi <[EMAIL PROTECTED]> wrote:

Thanks Thorsten!

Yes. I tried set MAVEN_OPTS=-Xmx256m just now. Unfortunately, it makes no 
difference. The exception message are still the same.

Is there anybody can read the exception stack?

java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:419)
at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145)
at com.sun.tools.javac.parser.Scanner.decode(Scanner.java:405)
at com.sun.tools.javac.parser.Scanner.(Scanner.java:304)
at com.sun.tools.javac.parser.Scanner.(Scanner.java:238)
at 
com.sun.tools.javac.parser.Scanner$Factory.newScanner(Scanner.java:72)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:254)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:281)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:398)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile(Main.java:85)
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:585)
at 
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:400)
at 
org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:136)
at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:483)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


- Original Message -
From: "Thorsten Heit" <[EMAIL PROTECTED]>
To: "Maven Users List" 
Sent: Wednesday, May 17, 2006 7:54 PM
Subject: Re: Compilation failure of java.nio.BufferOverflowException


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
>> I am trying replace ANT with MAVEN to build my project. In ant, I
>> also met the memory overflow problem when execute the "javac" task.
>> Finally the problem is solved by set memoryMaximumSize property like
>> this,
>>
>> > memoryMaximumSize="100m">
>>
>> I am not sure whether it is the same reason, which makes the javac
>> compiler not work. I have searched google, sun's bug database, and
>> maven user list forum, but no hint found.
>>
>> Is there any friend can tell me why, or solve the problem? Thanks in
>> advance.
>
> Have you tried to set the environment variable "MAVEN_OPTS"?
>
> MAVEN_OPTS=
>
> for example: MAVEN_OPTS=-Xmx256m
>
>
> Regards
>
> Thorsten
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.3 (MingW32)
>
> iD8DBQFEaw71QvObkgCcDe0RAsOtAJ4kNCf2nrmgo5920a5nHOevfzB3pgCfXlBP
> JH2AF/Gypwttxoe/fmoRkEo=
> =Lson
> -END PGP SIGNATURE-
>
> -
> 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]



JavaOne?

2006-05-17 Thread Carl Schmidt
Hey there, anyone else here at JavaOne want to get together and chat?  I was 
shocked that there wasn't even a Maven BOF!

 - Carl




Hacked out painfully on my Blackberry just for you...  


Re: Maven Not Resolving Dependencies

2006-05-17 Thread Wayne Fay

Upgrade to Maven 2.0.4. I doubt it will solve your problem, but 2.0.3
had regression bugs, so no one should use it.

Wayne

On 5/17/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:

Hi Bruno,

It's actually a class from the Apache myfaces project
and it is downloaded from ibiblio by maven using
the standard dependency mechanism.

So eclipse is loading the dependency
from the local maven repository.

For some reason Maven is not seeing the dependency in
the repository.

Thanks for the try though,
- Ole

--- Bruno Patini Furtado <[EMAIL PROTECTED]> wrote:

> is UIComponentBase a class of yours? or for some JAR
> of which you depend?
>
> Because if it is a class of your project you may
> have put it outside the
> standard maven directory for source code, and maven
> is not compiling it.
> Eclipse source folders and where maven expects to
> find the sources are
> places not related. Maven's compile plugin does not
> read the Eclipse project
> to gather information.
>
>
> On 5/16/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm running Maven 2.0.3 and I'm having problems
> > compiling.
> >
> > I first run the eclipse plugin and eclipse is able
> to
> > load the dependencies.
> >
> > I then attempt to install, and the maven compiler
> > gives me messages like this:
> >
> >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > package javax.faces.component does not exist
> >
> >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[3,35]
> > cannot find symbol
> > symbol: class UIComponentBase
> >
> >
> > So eclipse sees the dependencies in the
> repository,
> > but maven does not.
> >
> > Any ideas?
> >
> > Thanks in advance!
> >
> > Cheers,
> > - Ole
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
>
> --
> "Minds are like parachutes, they work best when
> open."
>
> Bruno Patini Furtado
> Software Developer
> webpage: http://bpfurtado.net
> software development blog:
> http://bpfurtado.livejournal.com
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.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]



Re: pluginManagement, purpose?

2006-05-17 Thread Wayne Fay

Not sure. Give it a try and report back.

Wayne

On 5/17/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:

Hi Wayne,

I already know there is no reportManagement, what i'd like to know is
" is the pluginManagement part of the pom also affect the reports for
configuration and version purpose ."

;)

Raphaël

2006/5/17, Wayne Fay <[EMAIL PROTECTED]>:
>
> No, there is no reportingManagement node in 2.0. If you check Jira,
> this is on the list for 2.1.
>
> Wayne
>
> On 5/17/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > Do the pluginManagement also ensure the versions and configurations of
> > reports ?
> >
> > Raphaël
> >
> > 2006/5/17, Tim Kettler <[EMAIL PROTECTED]>:
> > >
> > > You can specify a default configuration for your plugins that the
> plugin
> > > definitions in
> > > child poms then pick up. This includes but is not limited to the
> version
> > > element. You can
> > > use all elements available in a 'normal' plugin definition.
> > >
> > > -Tim
> > >
> > > Wayne Fay schrieb:
> > > > As far as I know,  is essentially identical in
> > > > purpose to  with no additional functionality.
> > > >
> > > > It specifies the plugin version to use when building the project.
> > > >
> > > > /pom.xml
> > > > 
> > > > 
> > > >  
> > > >org.codehaus.mojo
> > > >jspc-maven-plugin
> > > >1.4.1
> > > >  
> > > > 
> > > > 
> > > >
> > > > /subA/pom.xml
> > > > 
> > > > 
> > > >  
> > > >org.codehaus.mojo
> > > >jspc-maven-plugin
> > > >  
> > > > 
> > > > 
> > > >
> > > > Basically, this node simply guarantees that all of your modules will
> > > > use the same plugin versions during the build phase.
> > > >
> > > > Wayne
> > > >
> > > > On 5/16/06, David Smiley <[EMAIL PROTECTED]> wrote:
> > > >> Is there documentation anywhere on how the 
> element
> > > is
> > > >> utilized?  What differentiates it from ?
> > > >>
> > > >> ~ David Smiley
> > > >>
> > > >>
> > > >>
> -
> > > >> 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]
> > >
> > >
> >
>
> -
> 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: Trying to run goal site

2006-05-17 Thread Wayne Fay

I think you should try the following:

1. Add an explicit spring-core/springframework dependency node with
the proper version.
2. Remove this exclusion node.
3. Run mvn -X and watch what version(s) of acegisecurity and
springframework are used.

Maven should automatically see that acegi needs springframework
version 1.3, but since you've included version x (x > 1.3) in your
list of dependent artifacts, it should use that version instead.

Wayne

On 5/17/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:

Hello,

  Okay so I have found out what the problem was.  I have in my pom.xml
the following (snippet here)


acegisecurity
acegi-security
0.7.0
compile


spring-core
springframework





This causes site a problem.  I assume it is because I am using
exclusions to not include the version of Spring this guy depends on,
which is 1.3.  We use a later version of Spring (it is not an option to
upgrade to a later version of acegi nor is it an option to downgrade
Spring).

 Any idea how I can compile and run site using the above?


Regards,
Douglas WF Acheson


On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> Just for now, yes, I would exclude those dependencies manually in your
> pom, and specifically include the proper (relocated) dependencies.
>
> This is all trying to get your site generated properly. Once that
> works, then you can start optimizing your pom.
>
> Wayne
>
> On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Thx for the input!  I have thought of that, but quickly realized I do
> > not directly depend upon those artifats, they are transient
> > dependencies.  Does it make sense that I modify the pom files in my
> > local repo to use exclude those dependencies?  That could be a lot of
> > work, just to have it change when a new update comes in.  And how would
> > that work for others on my team who need to run site?
> >
> > Thanks again ...
> >
> > dwfa
> >
> >
> > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > Based on those "... has been relocated..." statements, I would modify
> > > your dependencies to pull the artifacts from the org.springframework,
> > > javax.servlet, etc locations and see if that doesn't resolve your
> > > problems.
> > >
> > > Wayne
> > >
> > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > I am really stuck on this site thing (like a dog with a bone).
> > > >
> > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > a little farther.  When I run mvn site:site I get one html file
> > > > integration.html
> > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > the exception
> > > >
> > > > [INFO] Generate "Dependencies" report.
> > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-context:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-webmvc:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > >
> > > >
> > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > >
> > > >
> > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-mock:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-web:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-orm:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-dao:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-aop:1.1.3.
> > > >
> > > >
> > > > [INFO]
> > > > 
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > > 
> > > > [INFO] null
> > > > [INFO]
> > > > --

Re: [m2] site does not generate index.html anymore

2006-05-17 Thread Brett Porter

Actually, it depends on the update to the project-info-reports plugin
as well (v2.0). That now generates the default index page.

- Brett

On 5/17/06, Julien Henry <[EMAIL PROTECTED]> wrote:


Same for me...

Perhaps should we submit a bug report.

Dario Luis Coneglian Oliveros a écrit :
> After upgrading to site-plugin 2.0-beta-5, I noticed the index.html of
> a project is not being generated anymore.
> Any thoughts ?
>
> Thanks,
> Dário
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--

_

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com 

Porte de l'Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience **
_


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
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 Not Resolving Dependencies

2006-05-17 Thread Ole Ersoy
Hi Bruno,

It's actually a class from the Apache myfaces project
and it is downloaded from ibiblio by maven using
the standard dependency mechanism.

So eclipse is loading the dependency 
from the local maven repository.

For some reason Maven is not seeing the dependency in
the repository.

Thanks for the try though,
- Ole

--- Bruno Patini Furtado <[EMAIL PROTECTED]> wrote:

> is UIComponentBase a class of yours? or for some JAR
> of which you depend?
> 
> Because if it is a class of your project you may
> have put it outside the
> standard maven directory for source code, and maven
> is not compiling it.
> Eclipse source folders and where maven expects to
> find the sources are
> places not related. Maven's compile plugin does not
> read the Eclipse project
> to gather information.
> 
> 
> On 5/16/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm running Maven 2.0.3 and I'm having problems
> > compiling.
> >
> > I first run the eclipse plugin and eclipse is able
> to
> > load the dependencies.
> >
> > I then attempt to install, and the maven compiler
> > gives me messages like this:
> >
> >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
> > package javax.faces.component does not exist
> >
> >
> >
>
/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[3,35]
> > cannot find symbol
> > symbol: class UIComponentBase
> >
> >
> > So eclipse sees the dependencies in the
> repository,
> > but maven does not.
> >
> > Any ideas?
> >
> > Thanks in advance!
> >
> > Cheers,
> > - Ole
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> "Minds are like parachutes, they work best when
> open."
> 
> Bruno Patini Furtado
> Software Developer
> webpage: http://bpfurtado.net
> software development blog:
> http://bpfurtado.livejournal.com
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: urgent - downloading of snapshot not working, aaaargh!

2006-05-17 Thread Jörg Schaible
Hi Pete,

Pete wrote on Wednesday, May 17, 2006 5:52 PM:

> Jörg,
> 
> thanks for your reply, but we aren't using SNAPSHOT
> 
> we are using
> 
> 1.0-SNAPSHOT
> 
> on all our artifacts (some of them inherit this from the parent's
> version though) 
> 
> So I don't think the JIRA applies here ?

SNAPSHOT is SNAPSHOT - independent of a version prefix! But you may add your 
observation about the refreshed metadata.xml. This might be a good hint for the 
developers.

- Jörg

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



Dependency are not downloading from remote repository placed in Subversion with http access

2006-05-17 Thread Alexander Schwartz

*Hi,

we are migrating to maven-1.1 and encountered a mission critical bug:
We could not download dependencies from a maven repo placed under
subversion (with http access).

The problems seems to be known: http://jira.codehaus.org/browse/MAVEN-1659
Adding all ant jars to our maven installation did not solved the problem.

Is there a solution for the problem?

Thanks,

Alex
*


Re: War plugin and filtering webapp files

2006-05-17 Thread Kris Nuttycombe
Is there a reason why the common functionality can't be factored out of 
the resources plugin so that there isn't code duplication between war 
and resources? I hate to see copy-and-paste coding in a situation like this.


Kris

Jorg Heymans wrote:


This is something i couldn't get to work either.

A brief look at the code reveils that it's doing exactly the same as the
resources plugin to get the project properties, so i'm wondering if 
this is

not working for normal resources as well.

   private Properties getBuildFilterProperties()
   throws MojoExecutionException
   {
   // System properties
   Properties filterProperties = new Properties( 
System.getProperties() );


   // Project properties
   filterProperties.putAll( project.getProperties() );

   for ( Iterator i = filters.iterator(); i.hasNext(); )
   {
   String filtersfile = (String) i.next();

   try
   {
   Properties properties =
PropertyUtils.loadPropertyFile( new File( filtersfile ), true, true );

   filterProperties.putAll( properties );
   }
   catch ( IOException e )
   {
   throw new MojoExecutionException( "Error loading
property file '" + filtersfile + "'", e );
   }
   }
   return filterProperties;
   }



On 5/16/06, Julian Wood <[EMAIL PROTECTED]> wrote:



Yes that works. The only mod I had to make was adding a filter file.

http://jira.codehaus.org/browse/MWAR-12

shows the filters in the configuration element of the maven-war-
plugin, which _doesn't_ work. Moving the filters element up to be a
child of the build element is the necessary fix.

There would still appear to be a problem though - how can you get
access to, say, ${project.version}. It would seem you would need to
take a resource, filter it normally, then use the filtered resource
as the filter file for the war plugin. Or how can you access a
property set in a profile? These should all be available for
filtering, and we shouldn't need to specify a filter file, if we want
to be consistent with regular resource filtering.

Should I file a JIRA issue, or are there more hidden gems that I'm
missing?

Thanks,

J


On 16-May-06, at 2:14 AM, Jorg Heymans wrote:

> You need to make sure you add a filter. Below config works file for
> me.
>
>  
>
>  your filter file here
>
>
>  
>org.apache.maven.plugins
>maven-war-plugin
>   ...
>  
>
>  

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca



-
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: War plugin and filtering webapp files

2006-05-17 Thread Julian Wood

On 17-May-06, at 1:14 AM, Jorg Heymans wrote:


This is something i couldn't get to work either.

A brief look at the code reveils that it's doing exactly the same  
as the
resources plugin to get the project properties, so i'm wondering if  
this is

not working for normal resources as well.


Filtering is working fine for normal resources. Maybe it's time to  
dive into the code and see what's up - it looks like it is a strange  
and unexpected bug, as you point out.


J

--

Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca



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



Re: urgent - downloading of snapshot not working, aaaargh!

2006-05-17 Thread Pete

Jörg,

thanks for your reply, but we aren't using SNAPSHOT

we are using

1.0-SNAPSHOT

on all our artifacts (some of them inherit this from the parent's
version though)

So I don't think the JIRA applies here ?

Pete

On 17/05/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:

Pete wrote on Wednesday, May 17, 2006 4:56 PM:

> Maven 2.0.4.
>
> We have a common jar Maven Project call 'infra_Common', but even
> though it deploys, it won't download to developer workstations after
> a  'mvn deploy'
>
> We have Continuum building & deploying this project as 1.0-SNAPSHOT,
> however the snapshot jar only seems to get downloaded from our Company
> Repository if a developer's localRepository is empty (i.e the first
> time only).
>
> Once the jar is in a developer's localRepository if it is then changed
> by someone else and re-deployed using mvn deploy (either by hand or by
> Continuum) it won't download again.
>
> Maven will continue to use the locally installed snapshot version.

[snip]

> but only the xml changed, jar not downloaded.
>
> console output :-
>
> [INFO] snapshot rdf.infra:infra_Common:1.0-SNAPSHOT: checking for
> updates from remote_rdfgroup [DEBUG] Skipping disabled repository
> central [DEBUG] infra_Common: using locally installed snapshot
> [DEBUG] Retrieving parent-POM:
> rdf.infra:mform_infrastructure::1.0-SNAPSHOT for project:
> rdf.infra:infra_Common:jar:1.0-SNAPSHOT from the repository.
>
> finally here's the infra_common  parent pom
>
> 
>   
>   remote_rdfgroup
>   false
>   rdfgroup_remote_repository Repository
>   file:///\\x\maven2
>   
>   
>   remote_rdfgroup
>   false
>   file:///\\xxx\maven2
>   
> 

Vote here:
http://jira.codehaus.org/browse/MNG-2289

- Jörg

-
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: Trying to run goal site

2006-05-17 Thread Douglas WF Acheson
Hello,

  Okay so I have found out what the problem was.  I have in my pom.xml
the following (snippet here)


acegisecurity
acegi-security
0.7.0
compile


spring-core
springframework





This causes site a problem.  I assume it is because I am using
exclusions to not include the version of Spring this guy depends on,
which is 1.3.  We use a later version of Spring (it is not an option to
upgrade to a later version of acegi nor is it an option to downgrade
Spring).

 Any idea how I can compile and run site using the above?


Regards,
Douglas WF Acheson


On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> Just for now, yes, I would exclude those dependencies manually in your
> pom, and specifically include the proper (relocated) dependencies.
> 
> This is all trying to get your site generated properly. Once that
> works, then you can start optimizing your pom.
> 
> Wayne
> 
> On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > Thx for the input!  I have thought of that, but quickly realized I do
> > not directly depend upon those artifats, they are transient
> > dependencies.  Does it make sense that I modify the pom files in my
> > local repo to use exclude those dependencies?  That could be a lot of
> > work, just to have it change when a new update comes in.  And how would
> > that work for others on my team who need to run site?
> >
> > Thanks again ...
> >
> > dwfa
> >
> >
> > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > Based on those "... has been relocated..." statements, I would modify
> > > your dependencies to pull the artifacts from the org.springframework,
> > > javax.servlet, etc locations and see if that doesn't resolve your
> > > problems.
> > >
> > > Wayne
> > >
> > > On 5/12/06, Douglas WF Acheson <[EMAIL PROTECTED]> wrote:
> > > > I am really stuck on this site thing (like a dog with a bone).
> > > >
> > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > a little farther.  When I run mvn site:site I get one html file
> > > > integration.html
> > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > the exception
> > > >
> > > > [INFO] Generate "Dependencies" report.
> > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-context:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-webmvc:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > >
> > > >
> > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > >
> > > >
> > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-mock:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-web:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-orm:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-dao:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-aop:1.1.3.
> > > >
> > > >
> > > > [INFO]
> > > > 
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > > 
> > > > [INFO] null
> > > > [INFO]
> > > > 
> > > > [DEBUG] Trace
> > > > java.lang.NullPointerException
> > > > at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > at
> > > > or

Re: M2 - version and dependency

2006-05-17 Thread Tim Kettler

Hi,

you can change the name of the generated artifact with the  tag in you pom but 
that doesn't affect the naming of the artifact in a repository. As soon as you 
install/deploy that artifact to a repository maven uses a name in the form 
${artifactId}-${version}.jar.


So the answer to your question is no.

-Tim

Karthik Manimaran schrieb:

Hi,

Is there a way to generate a jar/ejb jar/war file without the version 
number

appended to the artifact filename and add that as a dependency?

Thanks and regards,
Karthik.




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



RE: urgent - downloading of snapshot not working, aaaargh!

2006-05-17 Thread Jörg Schaible
Pete wrote on Wednesday, May 17, 2006 4:56 PM:

> Maven 2.0.4.
> 
> We have a common jar Maven Project call 'infra_Common', but even
> though it deploys, it won't download to developer workstations after
> a  'mvn deploy' 
> 
> We have Continuum building & deploying this project as 1.0-SNAPSHOT,
> however the snapshot jar only seems to get downloaded from our Company
> Repository if a developer's localRepository is empty (i.e the first
> time only). 
> 
> Once the jar is in a developer's localRepository if it is then changed
> by someone else and re-deployed using mvn deploy (either by hand or by
> Continuum) it won't download again.
> 
> Maven will continue to use the locally installed snapshot version.

[snip]

> but only the xml changed, jar not downloaded.
> 
> console output :-
> 
> [INFO] snapshot rdf.infra:infra_Common:1.0-SNAPSHOT: checking for
> updates from remote_rdfgroup [DEBUG] Skipping disabled repository
> central [DEBUG] infra_Common: using locally installed snapshot
> [DEBUG] Retrieving parent-POM:
> rdf.infra:mform_infrastructure::1.0-SNAPSHOT for project:
> rdf.infra:infra_Common:jar:1.0-SNAPSHOT from the repository.
> 
> finally here's the infra_common  parent pom
> 
> 
>   
>   remote_rdfgroup
>   false
>   rdfgroup_remote_repository Repository
>   file:///\\x\maven2
>   
>   
>   remote_rdfgroup
>   false
>   file:///\\xxx\maven2
>   
> 

Vote here:
http://jira.codehaus.org/browse/MNG-2289

- Jörg

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



Re: https proxy support?

2006-05-17 Thread Franz Fehringer




Only the first proxy is considered it seems.
If i exchange the two proxies (https first http second) the http
connects start to fail.
How do i configure i proxy for both http amd https?

Greetings

Franz

Franz Fehringer schrieb:

  
Hello,
  
We use the same proxy host and port both for http and https.
With Maven 2.0.4 i am able to dynamically download plugins over http
but not over https.
In the latter case i get
  
Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
    at
sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:278)
    at
sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)
  
The file to be downloaded is
Downloading:
  https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
  and my .m2/settings reads
  

 
//winpc229/supply/Maven2/Repository
  
    
  true
  http
  proxy
  81
    
    
  true
  https
  proxy
  81
    
  

  
What is the problem and how can it be resolved?
  
Thanks
  
Franz
  
  
  
  




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

RE: Compilation failure of java.nio.BufferOverflowException

2006-05-17 Thread Jörg Schaible
Zhi wrote on Wednesday, May 17, 2006 3:57 PM:

> Jörg,
> 
> Microsoft Windows XP Professional 2002 SP2
> java version: 1.5.0_06
> Maven version: 2.0.4
> 
> And the project I am compiling is MyFaces [1].
> 
> Zhi
> 
> [1]  https://svn.apache.org/repos/asf/myfaces/current

[snip]

OK. I had once an issue on Linux where the NIO code did not run for a special 
JDK version. But it seems unrelated here.

- Jörg

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



Re: Maven2 versus JAXB

2006-05-17 Thread Franz Fehringer

Thanks.
The 1.1 option has the slight problem that the referenced poms also 
still reference the 1.0.2 version, for example

https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
has
 javax.xml.bind 
activation 1.0.2 
But for the moment i am stuck with nonworking https proxy support (only 
http works for me; i wrote another mail about this).


Greetings

Franz

Alexandre Poitras schrieb:

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

Thanks,

Now i get (legacy reenabled)

D:\projekte\Maven2\iso-app>mvn -U install
[INFO] Scanning for projects...
[INFO]
 


[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [install]
[INFO]
 


[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
for updates from central
[INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
updates from central
Downloading:
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-1.0.2.pom 


[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Same with mvn -U compile.
There is no
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-1.0.2.pom 


but
https://maven-repository.dev.java.net/repository/javax.activation/poms/activation-1.1.pom 


So it seems the downloadable plugin does not match the directory
structure anymore?!


Your problem is that before activation 1.1, the license forbidded to
deploy it in a global repository. See
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
for more info.

So basically, you have two choices, either change the plugin .pom file
to depend on the 1.1 release or install the 1.0.2 release manually in
your local repository. It should do the trick.




Btw. i do not understand "run 'mvn install' on the plugin pom".
The plugin contains no pom.xml and without it i cannot run mvn?



Ah forget it, I thought the plugin was coming with the source.


Greetings

Franz

Alexandre Poitras schrieb:
> Your answer is in the download section of your link :
>
> Download
>
> This plugin will be added to the Maven 2 ibiblio repository and also
> to the java.net repository but we would like your feedback first.  If
> you have praises or problems with this plugin please post your email
> by joining the mailing list for [EMAIL PROTECTED] by registering
> here https://jaxb.dev.java.net/servlets/ProjectMailingListList.
>
> In the meantime you can download the lastest plugin version from this
> link and expand the .zip contents into your local
> %HOMEPATH%/.m2/repository directory.
>
> So download it and run 'mvn install' on the plugin pom. Should work
> afterward.
>
> On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I followed the instructions on
>> https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success.
>> On mvn -U compile i get
>> ERROR] BUILD ERROR
>> INFO]
>> 

>> INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' does 
not

>> exist or no valid version could be found
>> This is with Maven 2.0.4.
>> There is neither com.sun.tools.xjc.maven2 nor maven-jaxb-plugin on
>> https://maven-repository.dev.java.net/repository,
>> but there are javax.xml.bind and maven-javanet-plugin.
>> Could i use these in an appropriate way (how?)?
>> My pom.xml is
>>
>> http://maven.apache.org/POM/4.0.0";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd";>
>>   4.0.0
>>   de.isogmbh.aoo
>>   iso-app
>>   jar
>>   1.0-SNAPSHOT
>>   Maven Quick Start Archetype
>>   http://maven.apache.org
>>   
>> 
>>   java.net
>>   java.net Maven Repository
>>   https://maven-repository.dev.java.net/repository
>>   
>> 
>>   
>>   
>> 
>>   jaxb
>>   jaxb-api
>>   2.0
>> 
>> 
>>   jaxb
>>   jaxb-impl
>>   2.0
>> 
>> 
>>   junit
>>   junit
>>   3.8.1
>>   test
>> 
>>   
>>   
>> 
>>   
>> com.sun.tools.xjc.maven2
>> maven-jaxb-plugin
>> 
>>   
>> 
>>   generate
>> 
>>   
>> 
>>   
>>   
>>   

Re: Maven2 versus JAXB

2006-05-17 Thread Alexandre Poitras

On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:

Thanks,

Now i get (legacy reenabled)

D:\projekte\Maven2\iso-app>mvn -U install
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [install]
[INFO]

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
for updates from central
[INFO] artifact com.sun.tools.xjc.maven2:maven-jaxb-plugin: checking for
updates from central
Downloading:
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-1.0.2.pom
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Same with mvn -U compile.
There is no
https://maven-repository.dev.java.net/nonav/repository/jaxb/poms/activation-1.0.2.pom
but
https://maven-repository.dev.java.net/repository/javax.activation/poms/activation-1.1.pom
So it seems the downloadable plugin does not match the directory
structure anymore?!


Your problem is that before activation 1.1, the license forbidded to
deploy it in a global repository. See
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
for more info.

So basically, you have two choices, either change the plugin .pom file
to depend on the 1.1 release or install the 1.0.2 release manually in
your local repository. It should do the trick.




Btw. i do not understand "run 'mvn install' on the plugin pom".
The plugin contains no pom.xml and without it i cannot run mvn?



Ah forget it, I thought the plugin was coming with the source.


Greetings

Franz

Alexandre Poitras schrieb:
> Your answer is in the download section of your link :
>
> Download
>
> This plugin will be added to the Maven 2 ibiblio repository and also
> to the java.net repository but we would like your feedback first.  If
> you have praises or problems with this plugin please post your email
> by joining the mailing list for [EMAIL PROTECTED] by registering
> here https://jaxb.dev.java.net/servlets/ProjectMailingListList.
>
> In the meantime you can download the lastest plugin version from this
> link and expand the .zip contents into your local
> %HOMEPATH%/.m2/repository directory.
>
> So download it and run 'mvn install' on the plugin pom. Should work
> afterward.
>
> On 5/17/06, Franz Fehringer <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I followed the instructions on
>> https://jaxb.dev.java.net/jaxb-maven2-plugin/ without success.
>> On mvn -U compile i get
>> ERROR] BUILD ERROR
>> INFO]
>> 
>> INFO] The plugin 'com.sun.tools.xjc.maven2:maven-jaxb-plugin' does not
>> exist or no valid version could be found
>> This is with Maven 2.0.4.
>> There is neither com.sun.tools.xjc.maven2 nor maven-jaxb-plugin on
>> https://maven-repository.dev.java.net/repository,
>> but there are javax.xml.bind and maven-javanet-plugin.
>> Could i use these in an appropriate way (how?)?
>> My pom.xml is
>>
>> http://maven.apache.org/POM/4.0.0";
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd";>
>>   4.0.0
>>   de.isogmbh.aoo
>>   iso-app
>>   jar
>>   1.0-SNAPSHOT
>>   Maven Quick Start Archetype
>>   http://maven.apache.org
>>   
>> 
>>   java.net
>>   java.net Maven Repository
>>   https://maven-repository.dev.java.net/repository
>>   
>> 
>>   
>>   
>> 
>>   jaxb
>>   jaxb-api
>>   2.0
>> 
>> 
>>   jaxb
>>   jaxb-impl
>>   2.0
>> 
>> 
>>   junit
>>   junit
>>   3.8.1
>>   test
>> 
>>   
>>   
>> 
>>   
>> com.sun.tools.xjc.maven2
>> maven-jaxb-plugin
>> 
>>   
>> 
>>   generate
>> 
>>   
>> 
>>   
>>   
>> org.apache.maven.plugins
>> maven-compiler-plugin
>> 
>>   1.5
>>   1.5
>> 
>>   
>> 
>>   
>> 
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAI

urgent - downloading of snapshot not working, aaaargh!

2006-05-17 Thread Pete

Maven 2.0.4.

We have a common jar Maven Project call 'infra_Common', but even
though it deploys, it won't download to developer workstations after a
'mvn deploy'

We have Continuum building & deploying this project as 1.0-SNAPSHOT,
however the snapshot jar only seems to get downloaded from our Company
Repository if a developer's localRepository is empty (i.e the first
time only).

Once the jar is in a developer's localRepository if it is then changed
by someone else and re-deployed using mvn deploy (either by hand or by
Continuum) it won't download again.

Maven will continue to use the locally installed snapshot version.

This is driving us mad, as it makes a mockery of binary dependancies
and Continuous builds.

What I do notice is that Maven goes off and DOES download the metadata xml file

maven-metadata-remote_rdfgroup.xml

(where the suffix appears to be our company repository name remote_rdfgroup)

so the build number in the local repository increments (as the new
file is xml downloaded) but it doesn't download the jar !!!

What's driving me mad is that I have had this working at other
development sites, with no problems at all.


I have tried changing the updatePolicy to always, in the project that
is dependant on the common jar.

e.g.


remote_rdfgroup
RDFGroup Remote Repository
file:///\\x\maven2
default

true
always



sequence of events :-

1) localrepository

 maven-metadata-remote_rdfgroup.xml

before a build :-


 rdf.infra
 infra_Common
 1.0-SNAPSHOT
 
   
 23
   
   20060517141954
 


i.e. timestamp 14:19 pm

2) Central Company Repository (rdfgroup)

maven-metadata.xml


 rdf.infra
 infra_Common
 1.0-SNAPSHOT
 
   
 24
   
   20060517143018
 


i.e. timestamp 14:30 pm


3) then run a  mvn install   on the dependant project

localrepo -

 maven-metadata-remote_rdfgroup.xml


 rdf.infra
 infra_Common
 1.0-SNAPSHOT
 
   
 24
 true
   
   20060517143018
 


i.e. timestamp changed to 14:30 pm

but only the xml changed, jar not downloaded.

console output :-

[INFO] snapshot rdf.infra:infra_Common:1.0-SNAPSHOT: checking for
updates from remote_rdfgroup
[DEBUG] Skipping disabled repository central
[DEBUG] infra_Common: using locally installed snapshot
[DEBUG] Retrieving parent-POM:
rdf.infra:mform_infrastructure::1.0-SNAPSHOT for project:
rdf.infra:infra_Common:jar:1.0-SNAPSHOT from the repository.

finally here's the infra_common  parent pom



remote_rdfgroup
false
rdfgroup_remote_repository Repository
file:///\\x\maven2


remote_rdfgroup
false
file:///\\xxx\maven2



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



maven surefire-report:report

2006-05-17 Thread Marco Mistroni

hi all,
somehow i m unable to run the surefire-report plugin. although i have test
running, i cannot see any HTML generated from the .xml file

here' s my pom (only relevant part...)


 org.apache.maven.plugins
 maven-surefire-report-plugin



do i need to have also  element>?


i get following error

[INFO] [surefire-report:report]
[WARNING] Unable to locate Test Source XRef to link to - DISABLED
[INFO]



anyone could help?

thanks and regards
marco


M2 - version and dependency

2006-05-17 Thread Karthik Manimaran

Hi,

Is there a way to generate a jar/ejb jar/war file without the version number
appended to the artifact filename and add that as a dependency?

Thanks and regards,
Karthik.


https proxy support?

2006-05-17 Thread Franz Fehringer




Hello,

We use the same proxy host and port both for http and https.
With Maven 2.0.4 i am able to dynamically download plugins over http
but not over https.
In the latter case i get

Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
    at
sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:278)
    at
sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)

The file to be downloaded is
Downloading:
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
and my .m2/settings reads


 
//winpc229/supply/Maven2/Repository
  
    
  true
  http
  proxy
  81
    
    
  true
  https
  proxy
  81
    
  


What is the problem and how can it be resolved?

Thanks

Franz






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

Re: pluginManagement, purpose?

2006-05-17 Thread Piéroni Raphaël

Hi Wayne,

I already know there is no reportManagement, what i'd like to know is
" is the pluginManagement part of the pom also affect the reports for
configuration and version purpose ."

;)

Raphaël

2006/5/17, Wayne Fay <[EMAIL PROTECTED]>:


No, there is no reportingManagement node in 2.0. If you check Jira,
this is on the list for 2.1.

Wayne

On 5/17/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Do the pluginManagement also ensure the versions and configurations of
> reports ?
>
> Raphaël
>
> 2006/5/17, Tim Kettler <[EMAIL PROTECTED]>:
> >
> > You can specify a default configuration for your plugins that the
plugin
> > definitions in
> > child poms then pick up. This includes but is not limited to the
version
> > element. You can
> > use all elements available in a 'normal' plugin definition.
> >
> > -Tim
> >
> > Wayne Fay schrieb:
> > > As far as I know,  is essentially identical in
> > > purpose to  with no additional functionality.
> > >
> > > It specifies the plugin version to use when building the project.
> > >
> > > /pom.xml
> > > 
> > > 
> > >  
> > >org.codehaus.mojo
> > >jspc-maven-plugin
> > >1.4.1
> > >  
> > > 
> > > 
> > >
> > > /subA/pom.xml
> > > 
> > > 
> > >  
> > >org.codehaus.mojo
> > >jspc-maven-plugin
> > >  
> > > 
> > > 
> > >
> > > Basically, this node simply guarantees that all of your modules will
> > > use the same plugin versions during the build phase.
> > >
> > > Wayne
> > >
> > > On 5/16/06, David Smiley <[EMAIL PROTECTED]> wrote:
> > >> Is there documentation anywhere on how the 
element
> > is
> > >> utilized?  What differentiates it from ?
> > >>
> > >> ~ David Smiley
> > >>
> > >>
> > >>
-
> > >> 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]
> >
> >
>

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




Re: pluginManagement, purpose?

2006-05-17 Thread Wayne Fay

No, there is no reportingManagement node in 2.0. If you check Jira,
this is on the list for 2.1.

Wayne

On 5/17/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote:

Hello,

Do the pluginManagement also ensure the versions and configurations of
reports ?

Raphaël

2006/5/17, Tim Kettler <[EMAIL PROTECTED]>:
>
> You can specify a default configuration for your plugins that the plugin
> definitions in
> child poms then pick up. This includes but is not limited to the version
> element. You can
> use all elements available in a 'normal' plugin definition.
>
> -Tim
>
> Wayne Fay schrieb:
> > As far as I know,  is essentially identical in
> > purpose to  with no additional functionality.
> >
> > It specifies the plugin version to use when building the project.
> >
> > /pom.xml
> > 
> > 
> >  
> >org.codehaus.mojo
> >jspc-maven-plugin
> >1.4.1
> >  
> > 
> > 
> >
> > /subA/pom.xml
> > 
> > 
> >  
> >org.codehaus.mojo
> >jspc-maven-plugin
> >  
> > 
> > 
> >
> > Basically, this node simply guarantees that all of your modules will
> > use the same plugin versions during the build phase.
> >
> > Wayne
> >
> > On 5/16/06, David Smiley <[EMAIL PROTECTED]> wrote:
> >> Is there documentation anywhere on how the  element
> is
> >> utilized?  What differentiates it from ?
> >>
> >> ~ David Smiley
> >>
> >>
> >> -
> >> 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]
>
>



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



Doxia XdocParser?

2006-05-17 Thread Vance Karimi
Hi,

I've changed the velocity site template for some sites changes, but I'm at a
loss on how to solve the following.

The site format is xdoc. I would like to do something like:




abc
ABC





test
test


 
 


Where author has a property named 'email' and list items have a property
named 'class'.

I'm looking at XdocParser and XdocSink in
org.apache.maven.doxia.module.xdoc.  Is there a way for me to replace the
xdoc implementations of parser and sink with my own and use these with the
site plugin or do I need to make the changes to the existing ones and
rebuild doxia?

Thanks
Vance


Send instant messages to your online friends http://au.messenger.yahoo.com 

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



Re: [m2] site does not generate index.html anymore

2006-05-17 Thread Julien Henry


Same for me...

Perhaps should we submit a bug report.

Dario Luis Coneglian Oliveros a écrit :
After upgrading to site-plugin 2.0-beta-5, I noticed the index.html of 
a project is not being generated anymore.

Any thoughts ?

Thanks,
Dário

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



--

_

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com 

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience **
_


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Codehaus down

2006-05-17 Thread Adrian Pillinger

Backups are transferred and we're starting the restore.
There are some files that aren't restoring; but these are insignificant (i.e.
you definitely won't care).
We'll be making SVN available as soon as possible. We are hoping to make
things available this weekend - 20th/21st

Is this date refering to the repository being up and running this weekend
as well as SVN?

Cheers,
Adrian


problems withcobertura plugins

2006-05-17 Thread alexis parratte

hi,
i have a problem with cobertura plugin v-2.0

this is a part of my build:


org.codehaus.mojo

cobertura-maven-plugin

2.0





pre-site



clean

check







30

30





**/*Impl*











the goal "check" is ok but it don't take account the  part and i
always have these classes
in the report
someone have an idea

thanks
Alexis


Re: Maven Not Resolving Dependencies

2006-05-17 Thread Bruno Patini Furtado

is UIComponentBase a class of yours? or for some JAR of which you depend?

Because if it is a class of your project you may have put it outside the
standard maven directory for source code, and maven is not compiling it.
Eclipse source folders and where maven expects to find the sources are
places not related. Maven's compile plugin does not read the Eclipse project
to gather information.


On 5/16/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:


Hi,

I'm running Maven 2.0.3 and I'm having problems
compiling.

I first run the eclipse plugin and eclipse is able to
load the dependencies.

I then attempt to install, and the maven compiler
gives me messages like this:


/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[1,29]
package javax.faces.component does not exist


/home/ole/workspaces/current/UIShowOneComponent/src/main/java/TestComponent.java:[3,35]
cannot find symbol
symbol: class UIComponentBase


So eclipse sees the dependencies in the repository,
but maven does not.

Any ideas?

Thanks in advance!

Cheers,
- Ole

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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





--
"Minds are like parachutes, they work best when open."

Bruno Patini Furtado
Software Developer
webpage: http://bpfurtado.net
software development blog: http://bpfurtado.livejournal.com


Re: Compilation failure of java.nio.BufferOverflowException

2006-05-17 Thread Zhi
Jörg,

Microsoft Windows XP Professional 2002 SP2 
java version: 1.5.0_06
Maven version: 2.0.4

And the project I am compiling is MyFaces [1].

Zhi

[1]  https://svn.apache.org/repos/asf/myfaces/current
 

- Original Message - 
From: "Jörg Schaible" <[EMAIL PROTECTED]>
To: "Maven Users List" 
Sent: Wednesday, May 17, 2006 9:28 PM
Subject: RE: Compilation failure of java.nio.BufferOverflowException


Zhi,

what OS are you using ?

- Jörg

Zhi wrote on Wednesday, May 17, 2006 5:24 AM:

> I am trying replace ANT with MAVEN to build my project. In
> ant, I also met the memory overflow problem when execute the
> "javac" task. Finally the problem is solved by set
> memoryMaximumSize property like this,
> 
>  memoryMaximumSize="100m"> 
> 
> I am not sure whether it is the same reason, which makes the
> javac compiler not work. I have searched google, sun's bug
> database, and maven user list forum, but no hint found.
> 
> Is there any friend can tell me why, or solve the problem?
> Thanks in advance.
> 
> Zhi
> 
> 
> Here is the detail error message,
> 
> [INFO]
> --
> --
> [ERROR] BUILD FAILURE
> [INFO]
> --
> --
> [INFO] Compilation failure
> 
> Failure executing javac, but could not parse the error:
> Compiler (1.5.0_06) arises exception.
> 
> java.nio.BufferOverflowException
>  at java.nio.Buffer.nextPutIndex(Buffer.java:419)
>  at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145)
>  at com.sun.tools.javac.parser.Scanner.decode(Scanner.java:405)
>  at com.sun.tools.javac.parser.Scanner.(Scanner.java:304)
>  at com.sun.tools.javac.parser.Scanner.(Scanner.java:238)

[snip]

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


RE: codehaus down?

2006-05-17 Thread Mike Perham
http://www.codehaus.org/status.html 

-Original Message-
From: Brian Bonner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 16, 2006 1:46 PM
To: Maven Users List
Subject: Re: codehaus down?

I saw this yesterday and today as well.  I pinged one of the guys on the
XFire team.  No word yet.

On 5/16/06, Kees de Kooter <[EMAIL PROTECTED]> wrote:
> I have been trying to take a look at the maven-proxy but for more than

> a day now the codehaus website is unreachable:
>
> "We are currently experiencing disk problems with beaver.codehaus.org.
> The problem is being looked at by our service provider"
>
>
> --
> Cheers,
> Kees de Kooter
> http://www.boplicity.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]


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



Re: Running a simple Java project, Maven2

2006-05-17 Thread Clifton Craig
Hi Markus,

Thanx. That worked out just fine. Only problem was with the assembly plugin 
since I couldn't download due to the codehaus outage I wasn't able to use it. 
Thanx all the same.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Wednesday 17 May 2006 3:59 am, Markus Reinhardt wrote:
> Hi Clifton,
>
> Am Dienstag, den 16.05.2006, 15:51 -0400 schrieb Clifton Craig:
> > Is there a way I can define the
> > main class in my pom or in the plugin settings that I'm not aware of?
> > please advise.
>
> there is. Just add
>
> ...
> 
> 
>   
> org.apache.maven.plugins
> maven-jar-plugin
> 
>   
> 
>   your.mainclass.here.MainClass
>   true
> 
>   
> 
>   
>   ...
> 
> 
> ...
>
> to your pom.xml. Additionally you might take a look at mavens assembly
> plugin:
>
>   ...
>   
> maven-assembly-plugin
> 2.1-SNAPSHOT
> 
>   
> jar-with-dependencies
>   
>   
> your.mainclass.here.MainClass
> true
>   
> 
>   
>   ...
>
> builds a JAR with all dependencies included.
>
> Markus

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



  1   2   >