antrun versus wsl

2019-02-17 Thread Franz Fehringer
Hi all,

I have installed (on a Windows 10 1809 system) both Cygwin and WSL (only
the Windows component, no real Linux distribution yet).
This scenario gives me a strange problem with antrun: With  i always get the WSL bash instead of the Cygwin one,
although Cygwin is first in PATH (both Cygwin PATH and Windows PATH),
even so if C:/Windows/System32 (location of WSL bash) is not in the
(Cygwin) PATH at all.
I made some tries with extra parameters like seachpath to no avail.
It (naturally) works if i give the full absolute path to the Cyhwin
bash, but this is awkward.
Any hints about reason and solution?

Thanks Franz



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: any way to use legacy layout for local repository ?

2007-08-09 Thread Franz Fehringer
Also the Maven2 repository for JAXB2 was a legacy one in former times to 
be used with layoutlegacy/layout.


Franz


Gisbert Amm schrieb:

Max Bowsher wrote:

nicolas de loof wrote:


Hello

Lot's of my old projects use maven1, and new one start with maven2.
To avoid downloading multiple copy of same jars, I'd like to share 
the local

repository between m1 and m2.

Is there any way to make maven2 use legacy repository layout ?



No.

I believe one of the reasons is because Maven2 metadata is not storable
in the legacy layout.

Max.




?

We use M1 Repos with M2 successfully by specifying 
layoutlegacy/layout in the repository section.


-Gisbert




--
Dr. Franz Fehringer (Dipl. Math.)
Projektleiter Touristik-Systeme

ISO Software Systeme GmbH
Eichendorffstrasse 29
90491 Nürnberg
Germany

Tel.: +49/(911) - 99594-0

mailto:[EMAIL PROTECTED]
http://www.isogmbh.de

Amtsgericht Nürnberg HRB 18299
Geschäftsführer: Dipl.-Inform., Dipl.-Kaufm. Harald Goeb
Sitz: Nürnberg



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

Re: Reminder to vote for 2.0.8 issues

2007-06-29 Thread Franz Fehringer

I vote for MNG-2305.

Franz


Paul Spencer schrieb:

Jason,
Jira will not let you vote for an issue you created :(

If it would, I would vote for MNG-2075 [1]

Paul Spencer
[1] http://jira.codehaus.org/browse/MNG-3075

Jason van Zyl wrote:
Just a reminder for anyone lurking who wants issues addressed in 
2.0.8 to vote for issues in JIRA.


Thanks,

Jason

--
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot 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]





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




--
Dr. Franz Fehringer (Dipl. Math.)
Projektleiter Touristik-Systeme

ISO Software Systeme GmbH
Eichendorffstrasse 29
90491 Nürnberg
Germany

Tel.: +49/(911) - 99594-0

mailto:[EMAIL PROTECTED]
http://www.isogmbh.de

Amtsgericht Nürnberg HRB 18299
Geschäftsführer: Dipl.-Inform., Dipl.-Kaufm. Harald Goeb
Sitz: Nürnberg



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

JAXB2 versus Maven2

2007-01-11 Thread Franz Fehringer

Hello,

It seems, that http://repo1.maven.org/maven2/ is still stuck with 2.0EA3?
Who can take care of this?

Greetings

Franz


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

Re: JAXB2 versus Maven2

2007-01-11 Thread Franz Fehringer
I cannot use this, see my recent (few minutes ago) posting regarding 
Re: calling vote for 2.0.5 (Maven2 cannot access HTTPS (SSL) 
repositories from behind proxies/firewalls).


Franz


Jochen Wiedmann schrieb:

On 1/11/07, Franz Fehringer [EMAIL PROTECTED] wrote:

It seems, that http://repo1.maven.org/maven2/ is still stuck with 
2.0EA3?

Who can take care of this?


Use the sun java repository for Maven. See

   https://maven-repository.dev.java.net/




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

Re: unable to find resource 'VM_global_library.vm'

2006-11-07 Thread Franz Fehringer




As i stumbled over this some time ago i was told on this list, that

  this is only a warning and not a real problem
  if i am still annoyed i should post not to the Maven but to the
Velocity list

Regards

Franz


Deluigi Marcus schrieb:

  Hi 

I am new to Maven and I am following the 'getting started' guide
step-by-step.
When I try to create the site documentation and execute:

8
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app \
  -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-site
8

I get the appended error message.

Is my system corrupt or is it a maven (or plugin) bug?
Everything else works fine.

I have Maven v2.0.4, and Java 1.5.0_09

8
$ mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
-DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId
=maven-archetype-site
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]


[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO]


[INFO] Setting property: classpath.resource.loader.class =
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: com.mycompany.app
[INFO]


[INFO] Using following parameters for creating Archetype:
maven-archetype-site:RELEASE
[INFO]


[INFO] Parameter: groupId, Value: com.mycompany.app
[INFO] Parameter: packageName, Value: com.mycompany.app
[INFO] Parameter: basedir, Value: d:\Workspace\Maven-Test\my-app
[INFO] Parameter: package, Value: com.mycompany.app
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: artifactId, Value: my-app
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error creating from archetype

Embedded error: Unable to add module to the current project as it is not
of packaging type 'pom'
[INFO]

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

[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Nov 07 10:19:18 CET 2006
[INFO] Final Memory: 4M/8M
[INFO]



Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-14 Thread Franz Fehringer

First thanks and second i would like to apologize, if my mail was too harsh.

Franz

Carlos Sanchez schrieb:

The reference API is under javax.xml.bind in
http://www.ibiblio.org/maven2/javax/xml/bind/ and sun implementation
under com.sun.xml.bind

On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:

I am not interested in javax.xml instead of java.xml.bind, i am only
interested in a working (and current) Maven2/JAXB2 combination (and a
fix for MNG-2305).

Greetings

Franz


Wayne Fay schrieb:
 You should probably file the javax.xml instead of java.xml.bind
 issue on JIRA under MEV if you actually expect someone to fix it.

 Otherwise its just lots of talk on the Users list...

 Wayne

 On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:


 IIUC the point was, that the groupId should be javax.xml and not
 java.xml.bind (the link given for this currently yields Application
 error
 (Rails)) .
 I reported the proxies/settings.xml error as MNG-2305.


 Greetings

 Franz

 Malachi de Ælfweald schrieb:
 Yeah, I definitely agree that it should be under javax instead of
 com.sun --
 but that's just because com.sun is supposedly reserved for Sun 
internal;

 whereas javax is reserved for JCP-authorized extensions.

 Regarding the proxy bit..  So it seems like the correct solution
 would be if
 there is a way we can setup ibilio to MIRROR the java.net archive;
 instead
 of maintaining seperate copies...? Or for whatever process delivers
 it to
 java.net to deliver it to ibiblio as well  hmmm...

 BTW: Have you reported the Maven bug?


 Malachi


 On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  Regarding the location (javax.xml.bind versus java.xml) i had a 
mail

  sent by [EMAIL PROTECTED] in mind saying
  .
  .
  .
 
  Please note, that the policy for the groupId is javax.xml and
 com.sun.xml only. See also
 
http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Registry 



  .
  .
  .
 
  Hosting at java.net is not appropriate for me, because i sit 
behind a

  proxy and there is an error in maven2 to the extent that only the
 first
  proxy is considered in settings.xml (this is MNG-2305).
  Since access to http sites is indispensable i thus cannot access 
https

  sites with maven2.
 
  Greetings
 
  Franz
 
  Malachi de Ælfweald schrieb:
   We should be using the latest version of JAXB, which is 2.0.2 as
 per the
   website.  Personally, I was not aware that the jars made it onto
   ibilio -- I
   thought they were supposed to be hosted at java.net?
  
   Out of curiousity, why would javax.xml.bind be incorrect for XML
   Databinding?
  
   Malachi
  
   On 8/11/06, Franz Fehringer  [EMAIL PROTECTED] wrote:
  
Hello,
  
   Are there any current activities for enabling JAXB2 support in
 Maven2?
   In http://www.ibiblio.org/maven2/javax/xml/ there are
 jaxb-api jaxb-impl
   jaxb-xjc, but they still contain only 2.0EA3.
   Since 17. of july there is an additional subdirectory bind, but
 there
   are
   several things wrong/missing with this:
  
  - jaxb-impl and jaxb-xjc are missing.
  - version is 2.0; 2.0.1 and 2.0.2 have appeared in the 
meantime.

  - it has been mentioned on this list, that the location
  javax/xml/bind is wrong, javax/xml is the correct one.
  
   Will there be any progress/cleanup for this?
  
   Thanks and best regards
  
   Franz
  
  
  
  
 -
   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]

MNG-2305

2006-08-14 Thread Franz Fehringer

Hello,

Any chance for MNG-2305 to get looked upon?
As can be seen from
http://www.mail-archive.com/users@maven.apache.org/msg48167.html
i am not the only one.

Greetings

Franz


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

Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer




Hello,

Are there any current activities for enabling JAXB2 support in Maven2?
In http://www.ibiblio.org/maven2/javax/xml/ there are jaxb-api
jaxb-impl jaxb-xjc, but they still contain only 2.0EA3.
Since 17. of july there is an additional subdirectory bind, but there
are several things wrong/missing with this:

  jaxb-impl and jaxb-xjc are missing.
  version is 2.0; 2.0.1 and 2.0.2 have appeared in the meantime.
  it has been mentioned on this list, that the location
javax/xml/bind is wrong, javax/xml is the correct one.

Will there be any progress/cleanup for this?

Thanks and best regards

Franz




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

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer
Regarding the location (javax.xml.bind versus java.xml) i had a mail 
sent by [EMAIL PROTECTED] in mind saying

.
.
.

Please note, that the policy for the groupId is javax.xml and com.sun.xml only. See 
also http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Registry
.
.
.

Hosting at java.net is not appropriate for me, because i sit behind a 
proxy and there is an error in maven2 to the extent that only the first 
proxy is considered in settings.xml (this is MNG-2305).
Since access to http sites is indispensable i thus cannot access https 
sites with maven2.


Greetings

Franz

Malachi de Ælfweald schrieb:

We should be using the latest version of JAXB, which is 2.0.2 as per the
website.  Personally, I was not aware that the jars made it onto 
ibilio -- I

thought they were supposed to be hosted at java.net?

Out of curiousity, why would javax.xml.bind be incorrect for XML
Databinding?

Malachi

On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:


 Hello,

Are there any current activities for enabling JAXB2 support in Maven2?
In http://www.ibiblio.org/maven2/javax/xml/ there are jaxb-api jaxb-impl
jaxb-xjc, but they still contain only 2.0EA3.
Since 17. of july there is an additional subdirectory bind, but there 
are

several things wrong/missing with this:

   - jaxb-impl and jaxb-xjc are missing.
   - version is 2.0; 2.0.1 and 2.0.2 have appeared in the meantime.
   - it has been mentioned on this list, that the location
   javax/xml/bind is wrong, javax/xml is the correct one.

Will there be any progress/cleanup for this?

Thanks and best regards

Franz



-
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: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer





IIUC the point was, that the groupId should be javax.xml and not
java.xml.bind (the link given for this currently yields Application
error (Rails)) .
I reported the proxies/settings.xml error as MNG-2305.

Greetings

Franz

Malachi de lfweald schrieb:
Yeah, I definitely agree that it should be under javax
instead of com.sun -- but that's just because com.sun is supposedly
reserved for Sun internal; whereas javax is reserved for JCP-authorized
extensions.
  
Regarding the proxy bit.. So it seems like the correct solution would
be if there is a way we can setup ibilio to MIRROR the java.net archive; instead of maintaining
seperate copies...? Or for whatever process delivers it to java.net to deliver it to ibiblio as
well hmmm...
  
BTW: Have you reported the Maven bug?
  
  
Malachi
  
  
  On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  
  Regarding
the location (javax.xml.bind versus java.xml) i had a mail
sent by 
[EMAIL PROTECTED] in mind saying
.
.
.

Please note, that the policy for the groupId is "javax.xml" and
"com.sun.xml" only. See also 
http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Registry
.
.
.

Hosting at java.net is not appropriate
for me, because i sit behind a
proxy and there is an error in maven2 to the extent that only the first

proxy is considered in settings.xml (this is MNG-2305).
Since access to http sites is indispensable i thus cannot access https
sites with maven2.

Greetings

Franz

Malachi de lfweald schrieb:

 We should be using the latest version of JAXB, which is 2.0.2 as
per the
 website.Personally, I was not aware that the jars made it onto
 ibilio -- I
 thought they were supposed to be hosted at java.net?

 Out of curiousity, why would javax.xml.bind be incorrect for XML
 Databinding?

 Malachi

 On 8/11/06, Franz Fehringer 
[EMAIL PROTECTED] wrote:

Hello,

 Are there any current activities for enabling JAXB2 support in
Maven2?
 In 
http://www.ibiblio.org/maven2/javax/xml/ there are jaxb-api
jaxb-impl
 jaxb-xjc, but they still contain only 2.0EA3.
 Since 17. of july there is an additional subdirectory bind,
but there
 are

 several things wrong/missing with this:

- jaxb-impl and jaxb-xjc are missing.
- version is 2.0; 2.0.1 and 2.0.2 have appeared in the
meantime.
- it has been mentioned on this list, that the location

javax/xml/bind is wrong, javax/xml is the correct one.

 Will there be any progress/cleanup for this?

 Thanks and best regards

 Franz




-
 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: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer
I am not interested in javax.xml instead of java.xml.bind, i am only 
interested in a working (and current) Maven2/JAXB2 combination (and a 
fix for MNG-2305).


Greetings

Franz


Wayne Fay schrieb:

You should probably file the javax.xml instead of java.xml.bind
issue on JIRA under MEV if you actually expect someone to fix it.

Otherwise its just lots of talk on the Users list...

Wayne

On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:



IIUC the point was, that the groupId should be javax.xml and not
java.xml.bind (the link given for this currently yields Application 
error

(Rails)) .
I reported the proxies/settings.xml error as MNG-2305.


Greetings

Franz

Malachi de Ælfweald schrieb:
Yeah, I definitely agree that it should be under javax instead of 
com.sun --

but that's just because com.sun is supposedly reserved for Sun internal;
whereas javax is reserved for JCP-authorized extensions.

Regarding the proxy bit..  So it seems like the correct solution 
would be if
there is a way we can setup ibilio to MIRROR the java.net archive; 
instead
of maintaining seperate copies...? Or for whatever process delivers 
it to

java.net to deliver it to ibiblio as well  hmmm...

BTW: Have you reported the Maven bug?


Malachi


On 8/11/06, Franz Fehringer [EMAIL PROTECTED] wrote:
 Regarding the location (javax.xml.bind versus java.xml) i had a mail
 sent by [EMAIL PROTECTED] in mind saying
 .
 .
 .

 Please note, that the policy for the groupId is javax.xml and
com.sun.xml only. See also
http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Registry 


 .
 .
 .

 Hosting at java.net is not appropriate for me, because i sit behind a
 proxy and there is an error in maven2 to the extent that only the 
first

 proxy is considered in settings.xml (this is MNG-2305).
 Since access to http sites is indispensable i thus cannot access https
 sites with maven2.

 Greetings

 Franz

 Malachi de Ælfweald schrieb:
  We should be using the latest version of JAXB, which is 2.0.2 as 
per the

  website.  Personally, I was not aware that the jars made it onto
  ibilio -- I
  thought they were supposed to be hosted at java.net?
 
  Out of curiousity, why would javax.xml.bind be incorrect for XML
  Databinding?
 
  Malachi
 
  On 8/11/06, Franz Fehringer  [EMAIL PROTECTED] wrote:
 
   Hello,
 
  Are there any current activities for enabling JAXB2 support in 
Maven2?

  In http://www.ibiblio.org/maven2/javax/xml/ there are
jaxb-api jaxb-impl
  jaxb-xjc, but they still contain only 2.0EA3.
  Since 17. of july there is an additional subdirectory bind, but 
there

  are
  several things wrong/missing with this:
 
 - jaxb-impl and jaxb-xjc are missing.
 - version is 2.0; 2.0.1 and 2.0.2 have appeared in the meantime.
 - it has been mentioned on this list, that the location
 javax/xml/bind is wrong, javax/xml is the correct one.
 
  Will there be any progress/cleanup for this?
 
  Thanks and best regards
 
  Franz
 
 
 
 
-
  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]

prevent update on a per plugin basis?

2006-06-12 Thread Franz Fehringer

Hello,

With mvn -o it is possible, to prevent updates entirely.
Now say i want to prevent updates for a specific plugin (junit for 
example) only.

How do i achieve this, i.e. which pom change(s) do i need?

Thanks and best regards

Franz


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

Re: [proxy] troube with https repos ?

2006-06-07 Thread Franz Fehringer

I have exactly the same problem with the same site.
I opened MNG-2305 about it.

Franz

Matthias Wessendorf schrieb:

Hi,

I am behind a proxy and I have problems with https (for instance with
java.net, since it uses https).

Anybody noticed the same?

Thx,
Matthias




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

Re: Trouble with Surefire plugin

2006-06-01 Thread Franz Fehringer
Only 4.0 can be used, because 
http://www.ibiblio.org/maven2/junit/junit/4.1/ is empty.

Who can correct this?

Greetings

Franz

Carlos Sanchez schrieb:

surefire plugin 2.2 allows you to use junit 4.x and testng

On 5/31/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:

Thanks Carloss. I am not sure, if it means that it not is possible to
use Junit 4.0/4.1 using Maven for running tests ?
Regards, Jaikumar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Thursday, June 01, 2006 11:36 AM
To: Maven Users List
Subject: Re: Trouble with Surefire plugin


3.8.1

On 5/31/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:
 Surefire plugin version 2.1.3 has binding to Junit 4.0/4.1 or still
 3.8.1 ?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
 Carlos Sanchez
 Sent: Thursday, June 01, 2006 11:19 AM
 To: Maven Users List; Sean McNamara
 Subject: Re: Trouble with Surefire plugin


 Try setting a 2.1.3 version for the surefire plugin. You can later try

 with 2.2 and see what's the problem.

 On 5/31/06, Sean McNamara [EMAIL PROTECTED] wrote:
  I'm running into a build error with a project that was previously
  working properly, an am wondering if anyone has any idea how to fix
  this.  It's fairly critical I get this project rebuilt so any help
  is appreciated.
 
  Thanks!
 
  
  --
  
 
 
  [INFO]
 
 --
 --
  [ERROR] BUILD ERROR
  [INFO]
 --
 --
  [INFO] Internal error in the plugin manager executing goal
 'org.apache.maven.plu
  gins:maven-surefire-plugin:2.2:test': Unable to find the mojo
 'org.apache.maven.
  plugins:maven-surefire-plugin:2.2:test' in the plugin
 'org.apache.maven.plugins:
  maven-surefire-plugin'
  org/apache/maven/surefire/booter/SurefireExecutionException
  [INFO]
 --
 --
  [INFO] Trace
  org.apache.maven.lifecycle.LifecycleExecutionException: Internal
  error
 in the pl
  ugin manager executing goal
 'org.apache.maven.plugins:maven-surefire-plugin:2.2:
  test': Unable to find the mojo
 'org.apache.maven.plugins:maven-surefire-plugin:2
  .2:test' in the plugin
 'org.apache.maven.plugins:maven-surefire-plugin'
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
  ultLifecycleExecutor.java:538)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
  fecycle(DefaultLifecycleExecutor.java:475)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
  ltLifecycleExecutor.java:454)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
  dleFailures(DefaultLifecycleExecutor.java:306)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
  ts(DefaultLifecycleExecutor.java:273)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
  fecycleExecutor.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(DelegatingMethodAcces
  sorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  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)
  Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
 find the mo
  jo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' in the
 plugin 'org.
  apache.maven.plugins:maven-surefire-plugin'
  at
 org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
  tPluginManager.java:533)
  at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
  nManager.java:390)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
  ultLifecycleExecutor.java:534)
  ... 16 more
  Caused by:
 org.codehaus.plexus.component.repository.exception.ComponentLookupExc
  eption: Unable to lookup component
 'org.apache.maven.plugin.Mojoorg.apache.maven
  .plugins:maven-surefire-plugin:2.2:test', it could not be created
  at
 org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
  

REPOST: http://repo.mergere.com/maven2/javax/xml/

2006-06-01 Thread Franz Fehringer

Franz Fehringer schrieb:

Hello,

Now that the JAXB 2.0 release from Sun is out, would it be possible to 
update

http://repo.mergere.com/maven2/javax/xml/
accordingly?

Thanks

Franz




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

Re: REPOST: http://repo.mergere.com/maven2/javax/xml/

2006-06-01 Thread Franz Fehringer
http://www.ibiblio.org/maven2/javax/xml/ has the same issue; 
http://repo.mergere.com/maven2/javax/xml/ seems being mirrored from it 
(or vice versa).

I'll try to file a JIRA tomorrow.

Franz

Wayne Fay schrieb:

This is the Maven Users list. There's a very good reason your first
message was ignored -- we have no control over this kind of stuff.
This is like getting on an Eclipse mail list to complain about
spelling errors on the IBM.com website.

Contact Mergere directly if you have problems with their repo. (If
your issue was with the Central repo, I'd tell you to file a JIRA
under MEV.)

Wayne

On 6/1/06, Franz Fehringer [EMAIL PROTECTED] wrote:

Franz Fehringer schrieb:
 Hello,

 Now that the JAXB 2.0 release from Sun is out, would it be possible to
 update
 http://repo.mergere.com/maven2/javax/xml/
 accordingly?

 Thanks

 Franz





-
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: Maven2 with JAXB 2.0

2006-05-31 Thread Franz Fehringer




Hello Jonathan,

The script error still occurs for me but no big deal.
Unfortenately i cannot access Maven2 repositories over https (only http
works).
I opened MNG-2305 about this.
A good thing for me would be http access to jaxb.dev.java.net or even
better update of http://repo.mergere.com/maven2/javax/xml/ to the last
(released) versions.

Thanks and best regards

Franz

Jonathan Johnson schrieb:

  Greetings Franz,

Sorry for the delayed reply.  To answer some of your questions.

- Im not getting the script error with my IE6.  Noone else has reported a
problem.  Are your still getting this error?

- Thank you for the pom dependency and groupid standards guidelines.  Ill
see if the java.net/JAXB/Sun folks can update them.  Kohsuke and all are
back from their break and he is seeing these messages.

- If you see a way to slim the dependency definitions please let me know.
Especially in the instructions where I would really like to shorten and keep
simple.

Has the plugin helped you?  Any questions?

- Jonathan



-Original Message-
From: Franz Fehringer [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 19, 2006 3:06 AM
To: [EMAIL PROTECTED]
Cc: Maven Users List
Subject: Re: Maven2 with JAXB 2.0

Hello Jonathan,

I have still a few points,
*	If i access http://jaxb.dev.java.net/jaxb-maven2-plugin/ with IE6 (latest
patches applied) i get (free translation from the original german error
message) line 316 object required.
	The M$ script debugger shows the line
	for( n=dd.parentNode.previousSibling; n!=null; n=n.previousSibling ) {
	with
	n=dd.parentNode.previousSibling
	highlighted.
*	According to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  citing
http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Reg
istry
http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Re
gistry  javax.xml.bind should be only javax.xml and com.sun.xml.bind should
be only com.sun.xml (but this would not match your directory names??).
*	On http://jaxb.dev.java.net/jaxb-maven2-plugin/ you still have
groupIdjaxb/groupId
artifactIdjaxb-impl/artifactId
version2.0-SNAPSHOT/version
Why not
groupIdcom.sun.xml.bind/groupId
artifactIdjaxb-impl/artifactId
version2.0/version
??
*	The jaxb dependencies shown on
http://jaxb.dev.java.net/jaxb-maven2-plugin/ are also in the pom from the
downloaded zip
https://jaxb.dev.java.net/jaxb-maven2-plugin/maven-jaxb-plugin-1.0.zip.
	Why list them twice; or the other way round: can i omit them from my
pom.xml?
Greetings

Franz

Jonathan Johnson schrieb:
Kohsuke  The pom here
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-
impl-2.0.pom needs the activation.jar version to be change from 1.0.2 to
1.1.
Franz  your comments were helpful, I have cleaned up the instructions.  The
instructions for using the JAXB Maven 2 plugin are here
http://jaxb.dev.java.net/jaxb-maven2-plugin/
You also asked why this plugin is dependent on ant.  This plugin depends on
the jars ant since it delegates to the com.sun.tools.xjc.XJC2Task which
requires the ant jar (currently 1.6.5).
You also mentioned
  
  

  I sit behind a proxy and have difficulties accessing https sites with
  

  
  Maven2 (http works perfect).
  
  

  Also, why not reorganize the repository making legacy obsolete?
  

  
  Kohsuke Kawaguchi and the folks at Sun are working on updating the java.net
Maven 2 repository.  He should be seeing this request.   See Kohsukes
comments in his blog http://weblogs.java.net/blog/kohsuke/


  




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

Junit versions

2006-05-31 Thread Franz Fehringer

Hello,

With
mvn -U archetype:create -DgroupId=de.isogmbh.app -DartifactId=iso-app
i still get a pom.xml with
   dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version3.8.1/version
 scopetest/scope
   /dependency
What component/plugin needs update for this to become
version4.1/version
?

Greetings

Franz


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

M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer

Hello,

How do i set the classpath used during compile without using 
dependencies (which in my understanding involves copying the jars to the 
local repository, writing poms ...)?
As an example lets say my sources use functionality from 
C:\Programme\Saxon\saxon8.jar.


Thanks for help

Franz




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

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer

Perhaps my question was a bit misleading, what i meant is this:
I do not want to disregard the dependencies or the repository, i only 
want to add some jars not in the repository to my compile classpath.


Greetings

Franz

Milos Kleint schrieb:

you don't could be a short answer.

maven is based round dependencies and repositories, if you don't see a
point in using them, you probably don't want to use maven.

regards.

Milos Kleint

On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:

Hello,

How do i set the classpath used during compile without using
dependencies (which in my understanding involves copying the jars to the
local repository, writing poms ...)?
As an example lets say my sources use functionality from
C:\Programme\Saxon\saxon8.jar.

Thanks for help

Franz






-
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: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer

Which xml tag contains the absolute path i.e. what have i to substitute in

xmltagC:\Programme\Saxon\saxon8.jar/xmltag

for xmltag?

Greetings

Franz

Milos Kleint schrieb:

2 option there then:

1. use the install:install-file goal to upload the file to the local 
repository

2. declare the dependency with scope system and put the absolute path
to the jar there..

both have impact on reproducibility of your build though..

Milos

On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:

Perhaps my question was a bit misleading, what i meant is this:
I do not want to disregard the dependencies or the repository, i only
want to add some jars not in the repository to my compile classpath.

Greetings

Franz

Milos Kleint schrieb:
 you don't could be a short answer.

 maven is based round dependencies and repositories, if you don't see a
 point in using them, you probably don't want to use maven.

 regards.

 Milos Kleint

 On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:
 Hello,

 How do i set the classpath used during compile without using
 dependencies (which in my understanding involves copying the jars 
to the

 local repository, writing poms ...)?
 As an example lets say my sources use functionality from
 C:\Programme\Saxon\saxon8.jar.

 Thanks for help

 Franz






 -
 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: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer

Thanks for advice.
What is meant by packaging i.e. what would be a sensible setting in
-Dpackaging=packaging ?

Greetings

Franz

ben short schrieb:

You should add the jars to your local repos.

http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:

Perhaps my question was a bit misleading, what i meant is this:
I do not want to disregard the dependencies or the repository, i only
want to add some jars not in the repository to my compile classpath.

Greetings

Franz

Milos Kleint schrieb:
 you don't could be a short answer.

 maven is based round dependencies and repositories, if you don't see a
 point in using them, you probably don't want to use maven.

 regards.

 Milos Kleint

 On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:
 Hello,

 How do i set the classpath used during compile without using
 dependencies (which in my understanding involves copying the jars 
to the

 local repository, writing poms ...)?
 As an example lets say my sources use functionality from
 C:\Programme\Saxon\saxon8.jar.

 Thanks for help

 Franz






 -
 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: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer




Thanks

Franz

Roland Asmann schrieb:

  Is it a .jar-file? Then make it 'jar'! :-)



On Tuesday 30 May 2006 16:23, Franz Fehringer wrote:
  
  
Thanks for advice.
What is meant by packaging i.e. what would be a sensible setting in
-Dpackaging=packaging ?

Greetings

Franz

ben short schrieb:


  You should add the jars to your local repos.

http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  
  
Perhaps my question was a bit misleading, what i meant is this:
I do not want to disregard the dependencies or the repository, i only
want to add some jars not in the repository to my compile classpath.

Greetings

Franz

Milos Kleint schrieb:


  "you don't" could be a short answer.

maven is based round dependencies and repositories, if you don't see a
point in using them, you probably don't want to use maven.

regards.

Milos Kleint

On 5/30/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  
  
Hello,

How do i set the classpath used during compile without using
dependencies (which in my understanding involves copying the jars

  

to the



  
local repository, writing poms ...)?
As an example lets say my sources use functionality from
C:\Programme\Saxon\saxon8.jar.

Thanks for help

Franz






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

Re: Rant (very long)

2006-05-29 Thread Franz Fehringer
Thanks, i stumbled over this page before, but unfortunately it does not 
solve my problem.


With settings.xml as follows

settings
 localRepository//winpc229/supply/Maven2/Repository/localRepository
 proxies
   proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy/host
 port81/port
   /proxy
   proxy
 activetrue/active
 protocolhttps/protocol
 hostproxy/host
 port81/port
   /proxy
 /proxies
/settings

i cannot access the https repository 
https://maven-repository.dev.java.net/repository
If i reverse the order of the proxies (https first http second) i cannot 
access the

central repository any more (this time http protocol).
I opened MNG-2305 about this.

Greetings

Franz

Trygve Laugstøl schrieb:

Franz Fehringer wrote:

I asked this before and now try again.
Can Maven2 access https repositories from behind a proxy/firewall?


1) Browse to http://maven.apache.org
2) Press documentation
3) Seach for prox and click on: 
http://maven.apache.org/guides/mini/guide-proxies.html


--
Trygve

-
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: Rant (very long)

2006-05-26 Thread Franz Fehringer




I asked this before and now try again.
Can Maven2 access https repositories from behind a proxy/firewall?

Greetings

Franz

Kathryn Huxtable schrieb:

  Okay, I'll bite. I just set up maven-proxy-webapp (my team doesn't have
control over the firewall settings for our web servers, so I need to have
this on 80/443).

I copied a maven-proxy-config.properties file from somewhere and edited the
WEB_ROOT to be my local locations.

What now?

What do I change in settings.xml and pom.xml to make this work?

And how do I populate the proxy with jars so that the next time codehaus or
ibiblio is down I can get work done?

-K


On 5/25/06 11:51 AM, "dan tran" [EMAIL PROTECTED] wrote:

  
  
Chas, i feel your pains, so here a list of my own recommendations:

  1.  Get a maven-proxy in place, so when a central repo is down, you can
switch to
   a another mirror without user notice.  Set up maven-proxy is not that
hard ;-)
   check out archive list for all maven-proxy discussion.  Feel free to
ping us for help

  2.  Dont use snapshot,  cut a release yourself.  I fetch the source and
post fix the version
   with svn revision number.  For example, if I need a feature/bug fix
in maven-assembly-plugin
   version 2.2-snapshot,  then I build 2.2-${svn.revision} and deploy to
your
   internal repository that can serve by maven-proxy.

  3.  Use pluginManagement to specify all plugins that used by your
project'poms.
   This get your team's build much faster since it does not have to go
to maven-proxy to look
   for daily update.

This settup will prevent most of maven's uncertainties that others and I
have gone thru

Hope it helps

-D





On 5/25/06, Chas Douglass [EMAIL PROTECTED] wrote:


  I really liked the idea of Maven2 when I heard about it, and when a
fellow developer used it successfully to build a small library for me, I
thought it was time to jump in.

Three weeks later I have managed to accomplish very little on my
project, and I've converted four simple Ant build files into 7 Maven
pom.xml's that, by and large, don't work.

THE IMPLEMENTATION PROBLEMS
To advertise Maven 2 as "stable" is, I believe, a disservice to
developers.  In my experience with it, "early beta" would be a kind
description.

After struggling for the first week with broken links and dead-ends on
the web pages, I subscribed to the users list and found out there is a
"secret" book that documents much of Maven (ok, it's not really secret,
but should I really have to subscribe to a mailing list to find out
there is more documentation?).

Of course, the secret book also documents features that aren't released
yet (wagon is what bit me).  Perhaps that's why it's secret.

So now I'm using a "stable" product (incorporating several unreleased
and poorly documented snapshots) and what happens?  New releases of a
number of modules come out and everything breaks!  Have I specified a
release where I shouldn't have?  Have I NOT specified a release where I
SHOULD have?  Based on the limited traffic of the problem on the user's
list, I can only conclude that most people that use Maven are building
the plugins/modules and that very few people actually use it to build
applications.

THE DESIGN PROBLEMS
But my real beef comes to design decisions that I think needs some
serious consideration.

   MAVEN HIDES TOO MUCH.

It really is nice advertising to say "Look!  This 12 line pom.xml builds
this huge project".  But that's only if you happen to want to do EXACTLY
that ONE thing (which seems to be: build a Maven plugin).  The real
world is more complicated.  And as soon as I want to get more
complicated, Maven obliges me by getting WAY more complicated.  Most of
this complication is due to, I believe, hiding too much from me.

Why is it that I'm expected, as a developer, to be able to download and
compile snapshots of plugins that aren't released yet (the jnlp plugin),
but I'm not expected to understand a FULL LIFE CYCLE build file?

You have this wonderful archetype mechanism, why don't you use it to
make a pom.xml that actually includes information for everything it
does?  This would be self-documenting to developers.  Isn't the target
audience developers?

I believe Maven is hiding the actual build structure, and that that is a
bad thing.

I have used a number of open source projects where the configuration
file is used to document the product!  It is MUCH more enlightening to
see a comment with a commented-out section than, well, nothing.

An example: I use Java 1.5.  The Maven default is 1.4.  Can I simply
search for "1.4" in the pom.xml and change it to "1.5".  No.  I have
to research which plugin actually sets this value, how it sets this
value, and add 9 lines to my pom.xml (assuming I did not yet have any
plugins configuration).

THE CENTRAL REPOSITORY PROBLEM
I think the second major design problem is the central repository.  As
evidenced by the hardware failure at codehaus.org, this 

Re: Rant (very long)

2006-05-26 Thread Franz Fehringer




Hello Ben,

I can access https://jaxb.dev.java.net/jaxb-maven2-plugin with my
browsers (IE6 and Firefox 1.5) but not with Maven2.
My problem is described in detail in the mail below.
I also opened MNG-2305 for it.

Best regards

Franz

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.init(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

settings

localRepository//winpc229/supply/Maven2/Repository/localRepository
 proxies
 proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy/host
 port81/port
 /proxy
 proxy
 activetrue/active
 protocolhttps/protocol
 hostproxy/host
 port81/port
 /proxy
 /proxies
/settings

What is the problem and how can it be resolved?

ben short schrieb:
Franz,
  
  
So you have a firewall between you and the internet. Assuming that you
  
can access the https repo's from your browser i see no reason why
  
Maven wont be able to.
  
  
Ben
  
  
On 5/26/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  
  
I asked this before and now try again.

Can Maven2 access https repositories from behind a proxy/firewall?


Greetings


Franz


Kathryn Huxtable schrieb:

Okay, I'll bite. I just set up maven-proxy-webapp (my team doesn't
have

control over the firewall settings for our web servers, so I need to
have

this on 80/443).


I copied a maven-proxy-config.properties file from somewhere and edited
the

WEB_ROOT to be my local locations.


What now?


What do I change in settings.xml and pom.xml to make this work?


And how do I populate the proxy with jars so that the next time
codehaus or

ibiblio is down I can get work done?


-K



On 5/25/06 11:51 AM, "dan tran" [EMAIL PROTECTED] wrote:




Chas, i feel your pains, so here a list of my own recommendations:


1. Get a maven-proxy in place, so when a central repo is down, you can

switch to

a another mirror without user notice. Set up maven-proxy is not that

hard ;-)

check out archive list for all maven-proxy discussion. Feel free to

ping us for help


2. Dont use snapshot, cut a release yourself. I fetch the source and

post fix the version

with svn revision number. For example, if I need a feature/bug fix

in maven-assembly-plugin

version 2.2-snapshot, then I build 2.2-${svn.revision} and deploy to

your

internal repository that can serve by maven-proxy.


3. Use pluginManagement to specify all plugins that used by your

project'poms.

This get your team's build much faster since it does not have to go

to maven-proxy to look

for daily update.


This settup will prevent most of maven's uncertainties that others and
I

have gone thru


Hope it helps


-D






On 5/25/06, Chas Douglass [EMAIL PROTECTED] wrote:



I really liked the idea of Maven2 when I heard about it, and when a

fellow developer used it successfully to build a small library for me,
I

thought it was time to jump in.


Three weeks later I have managed to accomplish very little on my

project, and I've converted four simple Ant build files into 7 Maven

pom.xml's that, by and large, don't work.


THE IMPLEMENTATION PROBLEMS

To advertise Maven 2 as "stable" is, I believe, a disservice to

developers. In my experience with it, "early beta" would be a kind

description.


After struggling for the first week with broken links and dead-ends on

the web pages, I subscribed to the users list and found out there is a

"secret" book that documents much of Maven (ok, it's not really secret,

but should I really hav

Re: Maven2 with JAXB 2.0

2006-05-19 Thread Franz Fehringer




Hello Jonathan,

I have still a few points,

  If i access http://jaxb.dev.java.net/jaxb-maven2-plugin/
with IE6 (latest patches applied) i get (free translation from the
original german error message) line 316 object required.
The M$ script debugger shows the line
for( n=dd.parentNode.previousSibling; n!=null; n=n.previousSibling ) {
with
n=dd.parentNode.previousSibling
highlighted.
  
  According to [EMAIL PROTECTED] citing
http://www.mavenregistry.com/search/artifacts?hl=enq=jsr173btnG=Search+Registry
javax.xml.bind should be only javax.xml and com.sun.xml.bind should be
only com.sun.xml (but this would not match your directory names??).
  On http://jaxb.dev.java.net/jaxb-maven2-plugin/
you still have

groupIdjaxb/groupId
artifactIdjaxb-impl/artifactId
version2.0-SNAPSHOT/version
Why not
groupIdcom.sun.xml.bind/groupId
artifactIdjaxb-impl/artifactId
version2.0/version
??
  The jaxb dependencies shown on http://jaxb.dev.java.net/jaxb-maven2-plugin/
are also in the pom from the downloaded zip
https://jaxb.dev.java.net/jaxb-maven2-plugin/maven-jaxb-plugin-1.0.zip.
Why list them twice; or the other way round: can i omit them from my
pom.xml?
  

Greetings

Franz

Jonathan Johnson schrieb:

  
  
  
  
  

  
  
  Kohsuke  The pom here
https://maven-repository.dev.java.net/repository/com.sun.xml.bind/poms/jaxb-impl-2.0.pom
needs the activation.jar version to be change from 1.0.2 to 1.1.
  
  Franz  your comments
were
helpful, I have cleaned up the instructions. The
instructions for using the JAXB Maven 2 plugin are here http://jaxb.dev.java.net/jaxb-maven2-plugin/
  
  You also asked why this
plugin is dependent on ant. This
plugin depends on the jars ant since it delegates to the
com.sun.tools.xjc.XJC2Task
which requires the ant jar (currently 1.6.5).
  
  You also mentioned
   I sit behind a
proxy and have difficulties accessing https sites with Maven2 (http
works
perfect).
   Also, why not
reorganize the repository making legacy obsolete?
  
  Kohsuke Kawaguchi and the
folks at Sun are working on updating the java.net Maven 2 repository. He should be seeing this request. See
Kohsukes comments in his
blog http://weblogs.java.net/blog/kohsuke/
  
  




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

https versus http proxy

2006-05-19 Thread Franz Fehringer

Hello,

Is Maven2 able to do https connects over http proxies (for this it needs 
to send HTTP CONNECT remote address to the proxy)?


Greetings

Franz


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

[Fwd: Re: Maven2 versus JAXB]

2006-05-18 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 legacy 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
dependency groupIdjavax.xml.bind/groupId
artifactIdactivation/artifactId version1.0.2/version /dependency
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-appmvn -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-mav

Re: Maven2 versus JAXB

2006-05-18 Thread Franz Fehringer




Hello Jonathan,

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

dependency
groupIdjaxb/groupId
artifactIdjaxb-api/artifactId
version2.0-SNAPSHOT/version
/dependency

should read

dependency
groupIdjavax.xml.bind/groupId
artifactIdjaxb-api/artifactId
version2.0/version
/dependency

and

dependency
groupIdjaxb/groupId
artifactIdjaxb-impl/artifactId
version2.0-SNAPSHOT/version
/dependency
/dependencies

should read

dependency
groupIdcom.sun.xml.bind/groupId
artifactIdjaxb-impl/artifactId
version2.0/version
/dependency
/dependencies

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
dependency groupIdjavax.xml.bind/groupId
artifactIdactivation/artifactId version1.0.2/version /dependency
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-appmvn -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 succe

Re: Maven2 versus JAXB

2006-05-18 Thread Franz Fehringer




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

 dependency
 groupIdjaxb/groupId
 artifactIdjsr173_api/artifactId
 version1.0/version
 /dependency

should read

 dependency
 groupIdjavax.xml.bind/groupId
 artifactIdjsr173_api/artifactId
 version1.0/version
 /dependency

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.
  
  dependency
groupIdjaxb/groupId
artifactIdjaxb-api/artifactId
  version2.0-SNAPSHOT/version
  /dependency
  
  should read
  
  dependency
groupIdjavax.xml.bind/groupId
artifactIdjaxb-api/artifactId
  version2.0/version
  /dependency
  
and
  
  dependency
groupIdjaxb/groupId
artifactIdjaxb-impl/artifactId
version2.0-SNAPSHOT/version
/dependency
  /dependencies
  
  should read
  
  dependency
groupIdcom.sun.xml.bind/groupId
artifactIdjaxb-impl/artifactId
version2.0/version
/dependency
  /dependencies
  
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
dependency groupIdjavax.xml.bind/groupId
artifactIdactivation/artifactId version1.0.2/version /dependency
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-appmvn -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

http://repo.mergere.com/maven2/javax/xml/

2006-05-18 Thread Franz Fehringer

Hello,

Now that the JAXB 2.0 release from Sun is out, would it be possible to 
update

http://repo.mergere.com/maven2/javax/xml/
accordingly?

Thanks

Franz


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

Maven2 versus JAXB

2006-05-17 Thread Franz Fehringer

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

project xmlns=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;

 modelVersion4.0.0/modelVersion
 groupIdde.isogmbh.aoo/groupId
 artifactIdiso-app/artifactId
 packagingjar/packaging
 version1.0-SNAPSHOT/version
 nameMaven Quick Start Archetype/name
 urlhttp://maven.apache.org/url
 repositories
   repository
 idjava.net/id
 namejava.net Maven Repository/name
 urlhttps://maven-repository.dev.java.net/repository/url
 !-- layoutlegacy/layout --
   /repository
 /repositories
 dependencies
   dependency
 groupIdjaxb/groupId
 artifactIdjaxb-api/artifactId
 version2.0/version
   /dependency
   dependency
 groupIdjaxb/groupId
 artifactIdjaxb-impl/artifactId
 version2.0/version
   /dependency
   dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version3.8.1/version
 scopetest/scope
   /dependency
 /dependencies
 build
   plugins
 plugin
   groupIdcom.sun.tools.xjc.maven2/groupId
   artifactIdmaven-jaxb-plugin/artifactId
   executions
 execution
   goals
 goalgenerate/goal
   /goals
 /execution
   /executions
 /plugin
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
 source1.5/source
 target1.5/target
   /configuration
 /plugin
   /plugins
 /build
/project


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

Re: Maven2 versus JAXB

2006-05-17 Thread Franz Fehringer

Thanks,

Now i get (legacy reenabled)

D:\projekte\Maven2\iso-appmvn -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?!

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?

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

project xmlns=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;
  modelVersion4.0.0/modelVersion
  groupIdde.isogmbh.aoo/groupId
  artifactIdiso-app/artifactId
  packagingjar/packaging
  version1.0-SNAPSHOT/version
  nameMaven Quick Start Archetype/name
  urlhttp://maven.apache.org/url
  repositories
repository
  idjava.net/id
  namejava.net Maven Repository/name
  urlhttps://maven-repository.dev.java.net/repository/url
  !-- layoutlegacy/layout --
/repository
  /repositories
  dependencies
dependency
  groupIdjaxb/groupId
  artifactIdjaxb-api/artifactId
  version2.0/version
/dependency
dependency
  groupIdjaxb/groupId
  artifactIdjaxb-impl/artifactId
  version2.0/version
/dependency
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
  build
plugins
  plugin
groupIdcom.sun.tools.xjc.maven2/groupId
artifactIdmaven-jaxb-plugin/artifactId
executions
  execution
goals
  goalgenerate/goal
/goals
  /execution
/executions
  /plugin
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
  source1.5/source
  target1.5/target
/configuration
  /plugin
/plugins
  /build
/project




-
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

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.init(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

settings
 
localRepository//winpc229/supply/Maven2/Repository/localRepository
  proxies
    proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy/host
  port81/port
    /proxy
    proxy
  activetrue/active
  protocolhttps/protocol
  hostproxy/host
  port81/port
    /proxy
  /proxies
/settings

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: 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
dependency groupIdjavax.xml.bind/groupId 
artifactIdactivation/artifactId version1.0.2/version /dependency
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-appmvn -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

 project xmlns=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;
   modelVersion4.0.0/modelVersion
   groupIdde.isogmbh.aoo/groupId
   artifactIdiso-app/artifactId
   packagingjar/packaging
   version1.0-SNAPSHOT/version
   nameMaven Quick Start Archetype/name
   urlhttp://maven.apache.org/url
   repositories
 repository
   idjava.net/id
   namejava.net Maven Repository/name
   urlhttps://maven-repository.dev.java.net/repository/url
   !-- layoutlegacy/layout --
 /repository
   /repositories
   dependencies
 dependency
   groupIdjaxb/groupId
   artifactIdjaxb-api/artifactId
   version2.0/version
 /dependency
 dependency
   groupIdjaxb/groupId
   artifactIdjaxb-impl/artifactId
   version2.0/version

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.init(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
  
settings
 
localRepository//winpc229/supply/Maven2/Repository/localRepository
  proxies
    proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy/host
  port81/port
    /proxy
    proxy
  activetrue/active
  protocolhttps/protocol
  hostproxy/host
  port81/port
    /proxy
  /proxies
/settings
  
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]

Axis mailing lists (OFF TOPIC)

2006-05-15 Thread Franz Fehringer

Hello,

It seems that the Axis mailing lists are all completely off/gone.
Can anyone confirm this?

Greetings

Franz


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

mvn -U fails since today

2006-05-15 Thread Franz Fehringer

Hello,

Are there problems with the central repository?

With

D:\projekte\Maven2mvn -U -X -e archetype:create 
-DgroupId=de.isogmbh.app -DartifactId=iso-app


i get (both C:\Dokumente und Einstellungen\feh\.m2\plugin-registry.xml 
and C:\Programme\maven-2.0.4\conf\plugin-registry.xml do not exist):


+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente 
und Einstellungen\feh\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'C:\Programme\maven-2.0.4\conf\plugin-registry.xml'

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not 
be retrieved from repository: central due to an

error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[DEBUG] Exception
org.apache.maven.wagon.TransferFailedException: Error transferring file
   at 
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99)

   at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:295)
   at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositor

yMetadataManager.java:356)
   at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetad

ataManager.java:91)
   at 
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:98)
   at 
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:82)
   at 
org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:56)
   at 
org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:143)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1446)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecuto

r.java:381)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135)

   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)
Caused by: java.io.IOException: Server returned HTTP response code: 503 
for URL: http://repo1.maven.org/maven2/org/apach

e/maven/plugins/maven-metadata.xml
   at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)
   at 
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85)

   ... 23 more
[DEBUG] Skipping blacklisted repository central
[DEBUG] Skipping blacklisted repository central
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the 
latest version


 org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM 
org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST

[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the 
release version


 org.apache.maven.plugins:maven-archetype-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM 
org.apache.maven.plugins:maven-archetype-plugin:pom:RELEASE
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

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


[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 

Re: mvn -U fails since today

2006-05-15 Thread Franz Fehringer

Seems that codehaus.org is down.

Mark Hansen schrieb:

I am having similary problems.
Franz Fehringer wrote:


Hello,

Are there problems with the central repository?

With

D:\projekte\Maven2mvn -U -X -e archetype:create 
-DgroupId=de.isogmbh.app -DartifactId=iso-app


i get (both C:\Dokumente und 
Einstellungen\feh\.m2\plugin-registry.xml and 
C:\Programme\maven-2.0.4\conf\plugin-registry.xml do not exist):


+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente 
und Einstellungen\feh\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'C:\Programme\maven-2.0.4\conf\plugin-registry.xml'

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could 
not be retrieved from repository: central due to an

error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[DEBUG] Exception
org.apache.maven.wagon.TransferFailedException: Error transferring file
   at 
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99) 


   at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369) 

   at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(DefaultWagonManager.java:295) 

   at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways(DefaultRepositor 


yMetadataManager.java:356)
   at 
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve(DefaultRepositoryMetad 


ataManager.java:91)
   at 
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:98) 

   at 
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(DefaultPluginMappingManager.java:82) 

   at 
org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultPluginMappingManager.java:56) 

   at 
org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix(DefaultPluginManager.java:143) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1446) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecuto 


r.java:381)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:135) 


   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)
Caused by: java.io.IOException: Server returned HTTP response code: 
503 for URL: http://repo1.maven.org/maven2/org/apach

e/maven/plugins/maven-metadata.xml
   at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149) 

   at 
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85) 


   ... 23 more
[DEBUG] Skipping blacklisted repository central
[DEBUG] Skipping blacklisted repository central
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine 
the latest version


 org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM 
org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST

[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine 
the release version


 org.apache.maven.plugins:maven-archetype-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM 
org.apache.maven.plugins:maven-archetype-plugin:pom:RELEASE
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

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

Re: First Maven Getting Started Guide example

2006-04-28 Thread Franz Fehringer
Thanks, i only wondered why i get an [ERROR] with 2.0.4 where i got none 
wirh 2.0.2
Or the other way round: is it possible to get rid of this with newer 
jars or configuration changes?


Greetings

Franz

Max Cooper schrieb:

That build succeeded.

I ran the same command that you did to see if I would get the same 
error message logged (about VM_global_library.vm), and I did. I got 
the same error message, and my build also succeeded.


I think your Maven installation is working as it should. Mine works 
the same way, and I haven't had any trouble with mine.


-Max

Franz Fehringer wrote:

Hello,

I have problems to get the first example from the Maven Getting 
Started Guide working, namely
mvn -e -X archetype:create -DgroupId=de.isogmbh.iso-app 
-DartifactId=iso-app

Basically i get
[ERROR] ResourceManager : unable to find resource 
'VM_global_library.vm' in any resource loader.

I use version 2.0.4 on WIN2KSP4 with JDK 1.5.0_06.
When i got this problem with version 2.0.2 i resolved it with set 
CLASSPATH=. (it seemed to me that some jars from the former CLASSPATH 
were in the way).
But now i get this error even with an empty CLASSPATH or one 
containing only a single dot.

My settings.xml is

settings
 localRepository//winpc229/supply/Maven2/Repository/localRepository
 proxies
   proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy/host
 port81/port
   /proxy
 /proxies
/settings

The complete debug/error output is below.
I hope that someone can help me (and that this is not a FAQ).

Thanks and greetings

Franz

+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente 
und Einstellungen\feh\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'C:\Programme\maven-2.0.4\conf\plugin-registry.xml'

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-3 from 
repository central
[DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugin-parent::2.0-beta-1 for project: 
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3 
from the repository.
[INFO] 
 


[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO] 
 

[DEBUG] 
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: 
org.apache.maven:maven-archetype::1.0-alpha-3 for project: 
org.apache.maven:maven-archetype-core:jar:1.0-alpha-3 from the 
repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for 
project: null:maven-archetype:pom:1.0-alpha-3 from the repository.
[DEBUG]   
org.apache.maven:maven-archetype-core:jar:1.0-alpha-3:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: 
plexus:plexus-utils:jar:1.0.3 from the repository.

[DEBUG] plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for 
project: plexus:plexus-container-default:jar:1.0-alpha-6 from the 
repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: 
plexus:plexus-containers:pom:1.0.2 from the repository.
[DEBUG] plexus:plexus-container-default:jar:1.0-alpha-6:runtime 
(selected for runtime)
[DEBUG]   classworlds:classworlds:jar:1.1-alpha-2:runtime 
(selected for runtime)

[DEBUG]   junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: 
plexus:plexus-utils:jar:1.0.2 from the repository.
[DEBUG]   plexus:plexus-utils:jar:1.0.2:runtime (removed - nearer 
found: 1.0.3)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for 
project: org.apache.maven:maven-model:jar:2.0-beta-1 from the 
repository.
[DEBUG] org.apache.maven:maven-model:jar:2.0-beta-1:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-components::1.0 for 
project: plexus:plexus-velocity:jar:1.0 from the repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0 for project: 
plexus:plexus-components:pom:1.0 from the repository.
[DEBUG] plexus:plexus-velocity:jar:1.0:runtime (selected for 
runtime)
[DEBUG]   commons-logging:commons-logging:jar:1.0.2:runtime 
(selected for runtime)
[DEBUG]   commons-collections:commons-collections:jar:2.0:runtime 
(selected for runtime)

[DEBUG]   velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4:runtime (selected for 
runtime)

[DEBUG]   log4j:log4j:jar:1.2.8:runtime (selected for runtime)
[DEBUG]   plexus:plexus-container-default:jar:1.0-alpha-2:runtime 
(removed - nearer

Re: First Maven Getting Started Guide example

2006-04-28 Thread Franz Fehringer

Thanks

Franz

Wayne Fay schrieb:

You can generally ignore [ERROR] messages like that when the BUILD
SUCCESSFUL message is shown at the end of a build.

In this case, Velocity is simply trying to find a resource which does
not exist. No big deal. The archetype plugin finished successfully.

Wayne

On 4/27/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  

Hello,

I have problems to get the first example from the Maven Getting Started
Guide working, namely
mvn -e -X archetype:create -DgroupId=de.isogmbh.iso-app -DartifactId=iso-app
Basically i get
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
I use version 2.0.4 on WIN2KSP4 with JDK 1.5.0_06.
When i got this problem with version 2.0.2 i resolved it with set
CLASSPATH=. (it seemed to me that some jars from the former CLASSPATH
were in the way).
But now i get this error even with an empty CLASSPATH or one containing
only a single dot.
My settings.xml is

settings
 localRepository//winpc229/supply/Maven2/Repository/localRepository
 proxies
   proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy/host
 port81/port
   /proxy
 /proxies
/settings

The complete debug/error output is below.
I hope that someone can help me (and that this is not a FAQ).

Thanks and greetings

Franz

+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente
und Einstellungen\feh\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\Programme\maven-2.0.4\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-3 from
repository central
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugin-parent::2.0-beta-1 for project:
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3
from the repository.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO]

[DEBUG]
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM:
org.apache.maven:maven-archetype::1.0-alpha-3 for project:
org.apache.maven:maven-archetype-core:jar:1.0-alpha-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for
project: null:maven-archetype:pom:1.0-alpha-3 from the repository.
[DEBUG]   org.apache.maven:maven-archetype-core:jar:1.0-alpha-3:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
plexus:plexus-utils:jar:1.0.3 from the repository.
[DEBUG] plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for
project: plexus:plexus-container-default:jar:1.0-alpha-6 from the
repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
plexus:plexus-containers:pom:1.0.2 from the repository.
[DEBUG] plexus:plexus-container-default:jar:1.0-alpha-6:runtime
(selected for runtime)
[DEBUG]   classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)
[DEBUG]   junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project:
plexus:plexus-utils:jar:1.0.2 from the repository.
[DEBUG]   plexus:plexus-utils:jar:1.0.2:runtime (removed - nearer
found: 1.0.3)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for
project: org.apache.maven:maven-model:jar:2.0-beta-1 from the repository.
[DEBUG] org.apache.maven:maven-model:jar:2.0-beta-1:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-components::1.0 for
project: plexus:plexus-velocity:jar:1.0 from the repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0 for project:
plexus:plexus-components:pom:1.0 from the repository.
[DEBUG] plexus:plexus-velocity:jar:1.0:runtime (selected for runtime)
[DEBUG]   commons-logging:commons-logging:jar:1.0.2:runtime
(selected for runtime)
[DEBUG]   commons-collections:commons-collections:jar:2.0:runtime
(selected for runtime)
[DEBUG]   velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4:runtime (selected for runtime)
[DEBUG]   log4j:log4j:jar:1.2.8:runtime (selected for runtime)
[DEBUG]   plexus:plexus-container-default:jar:1.0-alpha-2:runtime
(removed - nearer found: 1.0-alpha-6)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for
project: org.apache.maven:maven-artifact:jar:2.0-beta-1 from the repository.
[DEBUG] org.apache.maven:maven-artifact:jar:2.0-beta-1:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM

First Maven Getting Started Guide example

2006-04-27 Thread Franz Fehringer

Hello,

I have problems to get the first example from the Maven Getting Started 
Guide working, namely

mvn -e -X archetype:create -DgroupId=de.isogmbh.iso-app -DartifactId=iso-app
Basically i get
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' 
in any resource loader.

I use version 2.0.4 on WIN2KSP4 with JDK 1.5.0_06.
When i got this problem with version 2.0.2 i resolved it with set 
CLASSPATH=. (it seemed to me that some jars from the former CLASSPATH 
were in the way).
But now i get this error even with an empty CLASSPATH or one containing 
only a single dot.

My settings.xml is

settings
 localRepository//winpc229/supply/Maven2/Repository/localRepository
 proxies
   proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy/host
 port81/port
   /proxy
 /proxies
/settings

The complete debug/error output is below.
I hope that someone can help me (and that this is not a FAQ).

Thanks and greetings

Franz

+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente 
und Einstellungen\feh\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'C:\Programme\maven-2.0.4\conf\plugin-registry.xml'

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] maven-archetype-plugin: resolved to version 1.0-alpha-3 from 
repository central
[DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugin-parent::2.0-beta-1 for project: 
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3 
from the repository.
[INFO] 


[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO] 

[DEBUG] 
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-3:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: 
org.apache.maven:maven-archetype::1.0-alpha-3 for project: 
org.apache.maven:maven-archetype-core:jar:1.0-alpha-3 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for 
project: null:maven-archetype:pom:1.0-alpha-3 from the repository.
[DEBUG]   org.apache.maven:maven-archetype-core:jar:1.0-alpha-3:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: 
plexus:plexus-utils:jar:1.0.3 from the repository.

[DEBUG] plexus:plexus-utils:jar:1.0.3:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-containers::1.0.2 for 
project: plexus:plexus-container-default:jar:1.0-alpha-6 from the 
repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: 
plexus:plexus-containers:pom:1.0.2 from the repository.
[DEBUG] plexus:plexus-container-default:jar:1.0-alpha-6:runtime 
(selected for runtime)
[DEBUG]   classworlds:classworlds:jar:1.1-alpha-2:runtime (selected 
for runtime)

[DEBUG]   junit:junit:jar:3.8.1:runtime (selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0.3 for project: 
plexus:plexus-utils:jar:1.0.2 from the repository.
[DEBUG]   plexus:plexus-utils:jar:1.0.2:runtime (removed - nearer 
found: 1.0.3)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for 
project: org.apache.maven:maven-model:jar:2.0-beta-1 from the repository.
[DEBUG] org.apache.maven:maven-model:jar:2.0-beta-1:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: plexus:plexus-components::1.0 for 
project: plexus:plexus-velocity:jar:1.0 from the repository.
[DEBUG] Retrieving parent-POM: plexus:plexus-root::1.0 for project: 
plexus:plexus-components:pom:1.0 from the repository.

[DEBUG] plexus:plexus-velocity:jar:1.0:runtime (selected for runtime)
[DEBUG]   commons-logging:commons-logging:jar:1.0.2:runtime 
(selected for runtime)
[DEBUG]   commons-collections:commons-collections:jar:2.0:runtime 
(selected for runtime)

[DEBUG]   velocity:velocity:jar:1.4:runtime (selected for runtime)
[DEBUG] velocity:velocity-dep:jar:1.4:runtime (selected for runtime)
[DEBUG]   log4j:log4j:jar:1.2.8:runtime (selected for runtime)
[DEBUG]   plexus:plexus-container-default:jar:1.0-alpha-2:runtime 
(removed - nearer found: 1.0-alpha-6)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for 
project: org.apache.maven:maven-artifact:jar:2.0-beta-1 from the repository.
[DEBUG] org.apache.maven:maven-artifact:jar:2.0-beta-1:runtime 
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0-beta-1 for 
project: org.apache.maven:maven-plugin-api:jar:2.0-beta-1 from the 
repository.
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0-beta-1:runtime 
(selected for runtime)
[INFO] Setting property: classpath.resource.loader.class = 

[m2] 2.0.4 release

2006-04-06 Thread Franz Fehringer

Hello,

Is the (approximate) release date of 2.0.4  known already?
Are there pending show stoppers (which)?

Best regards

Franz


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

Re: Non-java projects

2006-04-03 Thread Franz Fehringer

What about C++?

Greetings

Franz

Wayne Fay schrieb:

Yes I know someone has been talking about a C# compiler/plugin...

Search User@ and Dev@ Maven lists, you're bound to find something.

Wayne

On 3/31/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
  

I think there are for ruby and .net. I remember some mails about it.
The best way to know would be to search in the mailing list archives.

On 3/31/06, Arnaud Bailly [EMAIL PROTECTED] wrote:


Hi to all,
I think there is some support for alien projects in maven. Is this
true and what is the status of such features ?
I would like to use maven to build projects with mixed languages :
C++, python, ruby would be first choices. When I say build, I say of
course unit testing, compilation, report generation...

regards,
--
Arnaud Bailly, Dr. - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr


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


  

--
Alexandre Poitras
Québec, Canada

-
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: Non-java projects

2006-04-03 Thread Franz Fehringer




Thanks

Franz

Alexandre Poitras schrieb:

  Just wanted to add, check out the overview page. I think this is what
you are looking for :)

On 4/3/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
  
  
I don't know if it could be of any use to you but there is the native plugin :
http://mojo.codehaus.org/maven-native/native-maven-plugin/

On 4/3/06, Franz Fehringer [EMAIL PROTECTED] wrote:


  What about C++?

Greetings

Franz

Wayne Fay schrieb:
  
  
Yes I know someone has been talking about a C# compiler/plugin...

Search User@ and Dev@ Maven lists, you're bound to find something.

Wayne

On 3/31/06, Alexandre Poitras [EMAIL PROTECTED] wrote:



  I think there are for ruby and .net. I remember some mails about it.
The best way to know would be to search in the mailing list archives.

On 3/31/06, Arnaud Bailly [EMAIL PROTECTED] wrote:

  
  
Hi to all,
I think there is some support for "alien" projects in maven. Is this
true and what is the status of such features ?
I would like to use maven to build projects with mixed languages :
C++, python, ruby would be first choices. When I say build, I say of
course unit testing, compilation, report generation...

regards,
--
Arnaud Bailly, Dr. - Ingnieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr


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




  
  --
Alexandre Poitras
Qubec, Canada

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


  


--
Alexandre Poitras
Qubec, Canada


  
  

--
Alexandre Poitras
Qubec, Canada

-
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: [m2]using archetypes in a hierarchical project/pom structure

2006-03-27 Thread Franz Fehringer




Is there already a release plan/date for 2.1?
I consider the use of 2.0.3 but would wait for 2.1 if it arrived in the
next two/three weeks or so.

Greetings

Franz

Brett Porter schrieb:

  2.0.3 is due tomorrow.

This fix is unrelated, and will be a part of an upcoming archetype
plugin release.

- Brett

On 3/27/06, Stefan Fritz [EMAIL PROTECTED] wrote:
  
  
Brett,

will the fixes be in m2 2.0.3?
Does anybody know when 2.0.3 will be released?

Cheers
Stefan

Brett Porter wrote:



  No, it has to be a snapshot.

Sorry, I don't have any other suggestions for you at the moment. The
code will receive some more testing and polish this week before the
next release.

- Brett

On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:


  
  
I did what you suggested but I still get the error.
In the pom of the archetypes I saw the version is a snapshot version.

Might that be the problem?

Regards
Stefan


Brett Porter wrote:





  svn co http://svn.apache.org/repos/asf/maven/archetype/trunk

"mvn install"

Cheers,
Brett

On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:




  
  
What do I have to get from SVN to get this fix?
The Maven 2.1-SNAPSHOT or just a few plugins?

Regards
Stefan


Brett Porter wrote:







  Fixed in SVN just today.

- Brett

On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:






  
  
Hi,

I created a custom archetype.
I have a hierarchical project structure:

pom.xml
|
`-- services

 `-- pom.xml
 `-- service1
 `-- pom.xml
 `-- service2
 `-- pom.xml
 `-- service3
 `-- pom.xml

What I want to do is to create a new "service" under the services folder.

I opened a command prompt in the services directory to create service4 structure:
mvn archetype:create -DarchetypeGroupId=other.maven.archetypes -DarchetypeArtifactId=mybasicservice -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=services -DartifactId=service4

Then I get the following problem:

[INFO] Scanning for projects...
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file 'C:\dev\services\service4\pom.xml'.


So it seems the archtype looks for the pom.xml which it should create.
Any tips what I can do to be able to create new projects wiht my archtype even if there is a parent pom available?

regards
Stefan



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





  



-
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: [m2]using archetypes in a hierarchical project/pom structure

2006-03-27 Thread Franz Fehringer




Thanks.
Another question: will junit4 be supported in 2.0.3?

Greetings

Franz

Brett Porter schrieb:

  Development on 2.1 has not begun in earnest yet. Our focus has been on
a stable 2.0.3 and set of plugins.

- Brett

On 3/27/06, Franz Fehringer [EMAIL PROTECTED] wrote:
  
  
 Is there already a release plan/date for 2.1?
 I consider the use of 2.0.3 but would wait for 2.1 if it arrived in the
next two/three weeks or so.

 Greetings

 Franz

 Brett Porter schrieb:
 2.0.3 is due tomorrow.

This fix is unrelated, and will be a part of an upcoming archetype
plugin release.

- Brett

On 3/27/06, Stefan Fritz [EMAIL PROTECTED] wrote:


 Brett,

will the fixes be in m2 2.0.3?
Does anybody know when 2.0.3 will be released?

Cheers
Stefan

Brett Porter wrote:



 No, it has to be a snapshot.

Sorry, I don't have any other suggestions for you at the moment. The
code will receive some more testing and polish this week before the
next release.

- Brett

On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:




 I did what you suggested but I still get the error.
In the pom of the archetypes I saw the version is a snapshot version.

Might that be the problem?

Regards
Stefan


Brett Porter wrote:





 svn co
http://svn.apache.org/repos/asf/maven/archetype/trunk

"mvn install"

Cheers,
Brett

On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:






 What do I have to get from SVN to get this fix?
The Maven 2.1-SNAPSHOT or just a few plugins?

Regards
Stefan


Brett Porter wrote:







 Fixed in SVN just today.

- Brett

On 3/21/06, Stefan Fritz [EMAIL PROTECTED] wrote:








 Hi,

I created a custom archetype.
I have a hierarchical project structure:

pom.xml
|
`-- services

 `-- pom.xml
 `-- service1
 `-- pom.xml
 `-- service2
 `-- pom.xml
 `-- service3
 `-- pom.xml

What I want to do is to create a new "service" under the services folder.

I opened a command prompt in the services directory to create service4
structure:
mvn archetype:create -DarchetypeGroupId=other.maven.archetypes
-DarchetypeArtifactId=mybasicservice
-DarchetypeVersion=1.0-SNAPSHOT -DgroupId=services -DartifactId=service4

Then I get the following problem:

[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: unknown

Reason: Could not find the model file
'C:\dev\services\service4\pom.xml'.


So it seems the archtype looks for the pom.xml which it should create.
Any tips what I can do to be able to create new projects wiht my archtype
even if there is a parent pom available?

regards
Stefan



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







-
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: Maven experts! Maven1.x vs Maven2.x

2006-03-24 Thread Franz Fehringer

Franz Fehringer schrieb:

Will release 1.1 ever be released?
Axis2 uses Maven1 and will make its first release in the near future.
Perhaps a good opportunity?!

Greetings

Franz

Siegmann Daniel, NY schrieb:
We've moved any Maven1 projects into Maven2, and intend to 
use M2 on any new work.


Wayne



I may be totally off, but it seems like M1 is kinda dead. Maven 1.1 beta 2
was released half a year ago. Given that, I think there really is no choice
but to upgrade to Maven 2 (sooner or later).

We've just started moving some stuff that was on Ant to M2, but I wish M2
was a little more mature. I'm sure we will transition fully to M2
eventually.

--
Daniel Siegmann
FJA-US, Inc.
(212) 840-2618 ext. 139

-
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: user's settings.xml not being picked up

2006-03-21 Thread Franz Fehringer

With the attached program you can see where Java thinks your user.home is.

Greetings

Franz


Pete schrieb:

Hi there I'm used to Maven2 picking up the settings.xml from

C:\Documents and Settings\login\.m2

when in a windows environment, however I'm using Maven2 at a new company
now, and for some reason the user's settings.xml doesn't seem to be being
picked up.


I have

profiles
 profile
   iddeveloper_me/id
   properties
 JBossHomeD:/java/jboss-4.0/server/default/deploy/JBossHome
   /properties
  /profile
 /profiles

  activeProfiles
  activeProfiledeveloper_me/activeProfile
  /activeProfiles

yet when I do

mvn projecthelp:active-profiles

the profile isn't listed and the properties are unset.

Any idea how I can verify where Maven2 is looking for the user's
settings.xml.

I did create the .m2 directory and settings.xml manually.

PS. The conf/settings.xml is working.

  


import java.util.Properties; 

public class prop 
{ 
public static void main(String argv[]) 
{ 
Properties props = System.getProperties(); 
props.list(System.out); 
} 
} 


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