Re: Problems making maven-bundle-plugin pick up resources from target/classes

2018-02-25 Thread Steinar Bang
> Steinar Bang :

> Versions: Java 1.8
> maven 3.5.0
>   frontend-maven-plugin 1.6
>   maven-bundle-plugin 2.5.3

> I'm using frontend-maven-plugin to get webpack to put a webpack'd
> version of a react.js frontend into target/classes/bundle.js

> However, maven-bundle-plugin by default doesn't pick up stuff from
> target/classes but only from src/main/resources.

> Is there a way to make maven-bundle-plugin pick up resources from
> target/classes instead? (like the maven-jar-plugin does)

Clicking through the google matched I found this[1] (from November
2016).

Both of the following works:
 {maven-resources},/=target/classes/
 /=target/classes/

Ie. they both include the bundle.js that webpack has put into
target/classes.

I'm going for the last version, ie.
 /=target/classes/
(target/classes includes all of the stuff in src/main/resources anyway)

References:
[1] 


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



Re: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Stephen Connolly
On Thursday, May 14, 2015, Karl Heinz Marbaise khmarba...@gmx.de wrote:

 Hi Andrew,


 On 5/14/15 10:44 AM, andrew.mar...@sungard.com wrote:

 It should, in principle, be possible to build maven from the source.


 That was not the point.. It is possible to build Maven from source using
 Ant but why would you like to do so? What's the intention?


More like it is possible to bootstrap maven with ant. You can build just
enough maven to let maven take over and build itself.

Longer term there is very little reason to maintain the ant bootstrap and
we may switch to building maven with an older release of maven



 Kind regards
 Karl Heinz Marbaise


 -Original Message-
 From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de]
 Sent: 14 May 2015 09:36
 To: Maven Users List
 Cc: marlow.age...@gmail.com
 Subject: Re: Problems building maven from source from behind a firewall:
 Unable to initialize POM dependencies.xml

 Hi Andrew,

 why are you building Maven from source and not downloading from
 http://maven.apache.org/download.html the distribution...(-bin.tar.gz
 unix -bin.zip for windows).




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



-- 
Sent from my phone


Re: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Karl Heinz Marbaise

Hi Andrew,

why are you building Maven from source and not downloading from 
http://maven.apache.org/download.html the distribution...(-bin.tar.gz 
unix -bin.zip for windows).


A proxy in maven (settings.xml) is something different than using 
http_proxy see https://maven.apache.org/settings.html


Best is to setup a Nexus repository manager inside the corporate 
environment and let handle Nexus the proxy / access to internet things...


http://books.sonatype.com/nexus-book/reference/config-maven.html


On 5/14/15 10:23 AM, andrew.mar...@sungard.com wrote:

Hello everyone,

I am trying to build maven from source in a corporate environment behind a 
firewall.


To be behind a firewall / proxy is a usual corporate setupnothing 
unsual...


 It fails to download a pom, eventually timing out.

You should the reason in the logging output if you trying to run on 
console...


  I read of others with the same problem and the solutions
 posted always
  involve configuring an http proxy.
 Different solutions have different ways of
 specifying the proxy settings.

There is the environment variable http_proxy, there's the maven 
settings.xml in $HOME/.m2,


The settings.xml file is the correct location

 and even the ANT_OPTS variable.

Why ANT_OPTS ? This is not related to Maven...you should try MAVEN_OPTS 
instead...if you really need..if you use settings.xml you don't need to...



  I have tried them all but to no avail.

 The pom it's trying to get is 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/23/maven-parent-23.pom.

  I can retrieve this file using wget (with http_proxy set)
 but somehow the maven retrieve fails. I hope someone can help me.

Settings up things in settings.xml like here:

https://maven.apache.org/settings.html#Proxies



Also, given that I am trying to build a source distribution,

 why it is going off to remote repos to fetch various files?

To build things in Maven plugins are needed which need dependencies of 
their own...plus the dependencies of the code...so downloading of the 
pom is to analyze the transitive dependencies...


  Shouldn't they come with the source distro anyway?
If you really like to build from source you should use ANT which also 
tries to download some files (I can't remember which, don't that ages 
before...).


The binary distro contains only Maven itself no plugins etc...which will 
be downloaded automatically if you have a proxy/mirror settings.xml 
correctly or better using a repository manager...



Kind regards
Karl Heinz Marbaise

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



RE: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Andrew.Marlow
It should, in principle, be possible to build maven from the source.

-Original Message-
From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] 
Sent: 14 May 2015 09:36
To: Maven Users List
Cc: marlow.age...@gmail.com
Subject: Re: Problems building maven from source from behind a firewall: Unable 
to initialize POM dependencies.xml

Hi Andrew,

why are you building Maven from source and not downloading from 
http://maven.apache.org/download.html the distribution...(-bin.tar.gz unix 
-bin.zip for windows).


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


Re: Problems building maven from source from behind a firewall: Unable to initialize POM dependencies.xml

2015-05-14 Thread Karl Heinz Marbaise

Hi Andrew,


On 5/14/15 10:44 AM, andrew.mar...@sungard.com wrote:

It should, in principle, be possible to build maven from the source.


That was not the point.. It is possible to build Maven from source using 
Ant but why would you like to do so? What's the intention?



Kind regards
Karl Heinz Marbaise


-Original Message-
From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de]
Sent: 14 May 2015 09:36
To: Maven Users List
Cc: marlow.age...@gmail.com
Subject: Re: Problems building maven from source from behind a firewall: Unable 
to initialize POM dependencies.xml

Hi Andrew,

why are you building Maven from source and not downloading from 
http://maven.apache.org/download.html the distribution...(-bin.tar.gz unix 
-bin.zip for windows).





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



RE: Problems installing maven on windows 7

2013-12-26 Thread jacqueline George
Guys,

A BIG MASSIVE, HUGE THANK YOU. 

I finally got apache maven working. 

You're all awesome :oD

-Original Message-
From: Cemo [mailto:cemalettin@gmail.com] 
Sent: 20 December 2013 22:40
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

On 21 December 2013 00:30, jacqueline George  
jacquelinegeo...@balance.eclipse.co.uk wrote:

 Excuse my ignorance.  How do I do that specifically.  I'm quite 
 technical but I don't know how to do that. :os


Hi,

You are almost ok. You need to install or find Java in your file system. It is 
almost same as you did for M2_HOME variable.

You can watch this video as well. http://www.youtube.com/watch?v=jLArUJt-tBs


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



Re: Problems installing maven on windows 7

2013-12-26 Thread Wayne Fay
 A BIG MASSIVE, HUGE THANK YOU.

 I finally got apache maven working.

Can you perhaps share some details on what was broken and what you had
to do to fix it, for the benefit of future users new to Maven?

Wayne

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



RE: Problems installing maven on windows 7

2013-12-26 Thread jacqueline George
I will go one better.   I did a training video for future reference.  

https://www.dropbox.com/s/jpjtezaua8vj60a/How%20to%20install%20maven%20%28and%20java_home%29.mp4




-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com] 
Sent: 26 December 2013 17:18
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

 A BIG MASSIVE, HUGE THANK YOU.

 I finally got apache maven working.

Can you perhaps share some details on what was broken and what you had to do to 
fix it, for the benefit of future users new to Maven?

Wayne

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


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



RE: Problems installing maven on windows 7

2013-12-20 Thread jacqueline George
Hi 

It's me again. 

Still having problems *sigh*

I followed your kind suggestions and made the following changes 

M2_HOME
C:\Users\user\Desktop\ApacheMaven\apache-maven-3.1.1

Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
 
Files\ZipGenius 6\bin;C:\Users\user\Desktop\ApacheMaven\apache-maven-3.1.1\bin

I then did mvn -version

I got the following message

See link
https://www.dropbox.com/s/tpjuicre99rqwts/MVN%20installation%20attempt%20on%2020.12.13.docx

just noticed a space in path for zipgenius 6  should I change that to 
zipgenius6 ?  

look forward to your responses. 




-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com] 
Sent: 16 December 2013 15:51
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

 1. Could you check your maven folder? I suspect that you have another 
 folder inside Apache Maven folder such maven-3.1.1 or something 
 else. In that case you need to change your home folder like this 
 C:\Users\user\Desktop\Apache Maven\mavenxxx\

As a follow-on to what Cemo said, I really don't recommend installing Maven (or 
anything else) inside a directory that has a space in the name. So if you have 
such a thing, rename the directory by changing spaces for underscores or just 
deleting the spaces.

So Apache Maven = ApacheMaven or Apache_Maven

Wayne

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


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



RE: Problems installing maven on windows 7

2013-12-20 Thread Benoît Berthonneau
Hi Jacqueline,

The error is clear: Java is not well configured on your env.
Set a JAVA_HOME variable to your java installation folder, add it (ie: 
%JAVA_HOME%\bin) to your PATH

(I assume that Java is installed on your Windows)

Benoît.


-Message d'origine-
De : jacqueline George [mailto:jacquelinegeo...@balance.eclipse.co.uk] 
Envoyé : vendredi 20 décembre 2013 23:03
À : 'Maven Users List'
Objet : RE: Problems installing maven on windows 7

Hi 

It's me again. 

Still having problems *sigh*

I followed your kind suggestions and made the following changes 

M2_HOME
C:\Users\user\Desktop\ApacheMaven\apache-maven-3.1.1

Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files\ZipGenius 6\bin;C:\Users\user\Desktop\ApacheMaven\apache-maven-3.1.1\bin

I then did mvn -version

I got the following message

See link
https://www.dropbox.com/s/tpjuicre99rqwts/MVN%20installation%20attempt%20on%2020.12.13.docx

just noticed a space in path for zipgenius 6  should I change that to 
zipgenius6 ?  

look forward to your responses. 




-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: 16 December 2013 15:51
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

 1. Could you check your maven folder? I suspect that you have another 
 folder inside Apache Maven folder such maven-3.1.1 or something 
 else. In that case you need to change your home folder like this 
 C:\Users\user\Desktop\Apache Maven\mavenxxx\

As a follow-on to what Cemo said, I really don't recommend installing Maven (or 
anything else) inside a directory that has a space in the name. So if you have 
such a thing, rename the directory by changing spaces for underscores or just 
deleting the spaces.

So Apache Maven = ApacheMaven or Apache_Maven

Wayne

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


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



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



RE: Problems installing maven on windows 7

2013-12-20 Thread jacqueline George
Excuse my ignorance.  How do I do that specifically.  I'm quite technical but I 
don't know how to do that. :os

-Original Message-
From: Benoît Berthonneau [mailto:ben...@berthonneau.com] 
Sent: 20 December 2013 22:13
To: 'Maven Users List'
Subject: RE: Problems installing maven on windows 7

Hi Jacqueline,

The error is clear: Java is not well configured on your env.
Set a JAVA_HOME variable to your java installation folder, add it (ie: 
%JAVA_HOME%\bin) to your PATH

(I assume that Java is installed on your Windows)

Benoît.


-Message d'origine-
De : jacqueline George [mailto:jacquelinegeo...@balance.eclipse.co.uk]
Envoyé : vendredi 20 décembre 2013 23:03 À : 'Maven Users List'
Objet : RE: Problems installing maven on windows 7

Hi 

It's me again. 

Still having problems *sigh*

I followed your kind suggestions and made the following changes 

M2_HOME
C:\Users\user\Desktop\ApacheMaven\apache-maven-3.1.1

Path

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files\ZipGenius 6\bin;C:\Users\user\Desktop\ApacheMaven\apache-maven-3.1.1\bin

I then did mvn -version

I got the following message

See link
https://www.dropbox.com/s/tpjuicre99rqwts/MVN%20installation%20attempt%20on%2020.12.13.docx

just noticed a space in path for zipgenius 6  should I change that to 
zipgenius6 ?  

look forward to your responses. 




-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: 16 December 2013 15:51
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

 1. Could you check your maven folder? I suspect that you have another 
 folder inside Apache Maven folder such maven-3.1.1 or something 
 else. In that case you need to change your home folder like this 
 C:\Users\user\Desktop\Apache Maven\mavenxxx\

As a follow-on to what Cemo said, I really don't recommend installing Maven (or 
anything else) inside a directory that has a space in the name. So if you have 
such a thing, rename the directory by changing spaces for underscores or just 
deleting the spaces.

So Apache Maven = ApacheMaven or Apache_Maven

Wayne

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


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



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


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



Re: Problems installing maven on windows 7

2013-12-20 Thread Cemo
On 21 December 2013 00:30, jacqueline George 
jacquelinegeo...@balance.eclipse.co.uk wrote:

 Excuse my ignorance.  How do I do that specifically.  I'm quite technical
 but I don't know how to do that. :os


Hi,

You are almost ok. You need to install or find Java in your file system. It
is almost same as you did for M2_HOME variable.

You can watch this video as well. http://www.youtube.com/watch?v=jLArUJt-tBs


RE: Problems installing maven on windows 7

2013-12-20 Thread jacqueline George
Thanks I will give this a go.   It's pretty late here so I will try this 
tomorrow 

-Original Message-
From: Cemo [mailto:cemalettin@gmail.com] 
Sent: 20 December 2013 22:40
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

On 21 December 2013 00:30, jacqueline George  
jacquelinegeo...@balance.eclipse.co.uk wrote:

 Excuse my ignorance.  How do I do that specifically.  I'm quite 
 technical but I don't know how to do that. :os


Hi,

You are almost ok. You need to install or find Java in your file system. It is 
almost same as you did for M2_HOME variable.

You can watch this video as well. http://www.youtube.com/watch?v=jLArUJt-tBs


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



RE: Problems installing maven on windows 7

2013-12-20 Thread Martin Gainty

George-

if youre using Eclipse you will need to set the JAVA_HOME in startup .eclipserc

 

edit ~/.eclipserc and
add a JAVA_HOME= line to that file.
http://rpmfind.net/linux/RPM/mandriva/devel/2006.0/i586/media/contrib/eclipse-platform-3.1.0-8mdk.i586.html

 

Cheers,

Martin Gainty 

  



 From: jacquelinegeo...@balance.eclipse.co.uk
 To: users@maven.apache.org
 Subject: RE: Problems installing maven on windows 7
 Date: Fri, 20 Dec 2013 22:52:24 +
 
 Thanks I will give this a go. It's pretty late here so I will try this 
 tomorrow 
 
 -Original Message-
 From: Cemo [mailto:cemalettin@gmail.com] 
 Sent: 20 December 2013 22:40
 To: Maven Users List
 Subject: Re: Problems installing maven on windows 7
 
 On 21 December 2013 00:30, jacqueline George  
 jacquelinegeo...@balance.eclipse.co.uk wrote:
 
  Excuse my ignorance. How do I do that specifically. I'm quite 
  technical but I don't know how to do that. :os
 
 
 Hi,
 
 You are almost ok. You need to install or find Java in your file system. It 
 is almost same as you did for M2_HOME variable.
 
 You can watch this video as well. http://www.youtube.com/watch?v=jLArUJt-tBs
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
  

RE: Problems installing maven on windows 7

2013-12-16 Thread jacqueline George
Cemo, 

Thanks your awesome. 

I will give these a try and let you know. 

-Original Message-
From: Cemo [mailto:cemalettin@gmail.com] 
Sent: 15 December 2013 22:57
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

Hi,

1. Could you check your maven folder? I suspect that you have another folder 
inside Apache Maven folder such maven-3.1.1 or something else. In that case 
you need to change your home folder like this C:\Users\user\Desktop\Apache 
Maven\mavenxxx\

2. If the folder is ok, please append your maven home folder at the beginning 
of your PATH variable. I am not sure about this but if there is a wrong url 
inside PATH variable, this can help to safely find mvn file.

3. And one my last suggestion is rebooting your machine. I came across some 
weird cases in which windows could not load env variable properly.






On 16 December 2013 00:43, jacqueline George  
jacquelinegeo...@balance.eclipse.co.uk wrote:

 Hi



 I'm having  problems installing maven.  I don't know what I am doing wrong!



 I've done a detailed explanation of how I'm installing maven. and a 
 problem I'm still experiencing. I must be making some mistake I can't 
 see. I've attached a video my attempt to install maven and a copy of 
 M2_Home and Path

 Video:

 https://www.dropbox.com/s/xo5ymrq5xep5ap3/maven%20installation%20in%20
 detail
 .avi

 M2_Home and Path

 https://www.dropbox.com/s/ez4i0i8q4l9n3r0/Maven%20M2_HOME%20and%20Path
 %20Inf
 o.txt



 I look forward to a speedy response.



 Speak soon



 Jacqueline






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



RE: Problems installing maven on windows 7

2013-12-16 Thread jacqueline George
Thanks for the speedy reply. I will give this a try and let you know how I get 
on 

-Original Message-
From: Cemo [mailto:cemalettin@gmail.com] 
Sent: 15 December 2013 22:57
To: Maven Users List
Subject: Re: Problems installing maven on windows 7

Hi,

1. Could you check your maven folder? I suspect that you have another folder 
inside Apache Maven folder such maven-3.1.1 or something else. In that case 
you need to change your home folder like this C:\Users\user\Desktop\Apache 
Maven\mavenxxx\

2. If the folder is ok, please append your maven home folder at the beginning 
of your PATH variable. I am not sure about this but if there is a wrong url 
inside PATH variable, this can help to safely find mvn file.

3. And one my last suggestion is rebooting your machine. I came across some 
weird cases in which windows could not load env variable properly.






On 16 December 2013 00:43, jacqueline George  
jacquelinegeo...@balance.eclipse.co.uk wrote:

 Hi



 I'm having  problems installing maven.  I don't know what I am doing wrong!



 I've done a detailed explanation of how I'm installing maven. and a 
 problem I'm still experiencing. I must be making some mistake I can't 
 see. I've attached a video my attempt to install maven and a copy of 
 M2_Home and Path

 Video:

 https://www.dropbox.com/s/xo5ymrq5xep5ap3/maven%20installation%20in%20
 detail
 .avi

 M2_Home and Path

 https://www.dropbox.com/s/ez4i0i8q4l9n3r0/Maven%20M2_HOME%20and%20Path
 %20Inf
 o.txt



 I look forward to a speedy response.



 Speak soon



 Jacqueline






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



Re: Problems installing maven on windows 7

2013-12-16 Thread Wayne Fay
 1. Could you check your maven folder? I suspect that you have another
 folder inside Apache Maven folder such maven-3.1.1 or something else. In
 that case you need to change your home folder like this
 C:\Users\user\Desktop\Apache
 Maven\mavenxxx\

As a follow-on to what Cemo said, I really don't recommend installing
Maven (or anything else) inside a directory that has a space in the
name. So if you have such a thing, rename the directory by changing
spaces for underscores or just deleting the spaces.

So Apache Maven = ApacheMaven or Apache_Maven

Wayne

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



Re: Problems installing maven on windows 7

2013-12-15 Thread Cemo
Hi,

1. Could you check your maven folder? I suspect that you have another
folder inside Apache Maven folder such maven-3.1.1 or something else. In
that case you need to change your home folder like this
C:\Users\user\Desktop\Apache
Maven\mavenxxx\

2. If the folder is ok, please append your maven home folder at the
beginning of your PATH variable. I am not sure about this but if there is a
wrong url inside PATH variable, this can help to safely find mvn file.

3. And one my last suggestion is rebooting your machine. I came across some
weird cases in which windows could not load env variable properly.






On 16 December 2013 00:43, jacqueline George 
jacquelinegeo...@balance.eclipse.co.uk wrote:

 Hi



 I'm having  problems installing maven.  I don't know what I am doing wrong!



 I've done a detailed explanation of how I'm installing maven. and a problem
 I'm still experiencing. I must be making some mistake I can't see. I've
 attached a video my attempt to install maven and a copy of M2_Home and Path

 Video:

 https://www.dropbox.com/s/xo5ymrq5xep5ap3/maven%20installation%20in%20detail
 .avi

 M2_Home and Path

 https://www.dropbox.com/s/ez4i0i8q4l9n3r0/Maven%20M2_HOME%20and%20Path%20Inf
 o.txt



 I look forward to a speedy response.



 Speak soon



 Jacqueline






Re: Problems with maven and appengine archetypes

2013-12-04 Thread Wayne Fay
 testDoGet ( com.marioapp.GuestbookServletTest ) Time elapsed : 0.204 sec 
 FAILURE !
 junit.framework.ComparisonFailure : expected :  Hello , [ ] test
 But was:  Hello , [ MARIO ] test

This seems to just be a junit/testng failure. Your test is failing,
fix it and try again.

 [ INFO] Nothing to compile - all classes are up to date

Try mvn clean compile or just add clean in front of whatever command
you were using mvn clean {...} to force Maven to delete the compiled
files before compiling the project.

Wayne

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



Re: Problems using Maven to build servicemix.

2011-07-14 Thread Brian Topping
1. Use Maven 2.2.1 or 3.0.3.  I haven't tracked SM or whether it's m3 based.
2. Make sure you are running Maven in a directory that has a proper POM.  It 
appears yours is not valid.

On Jul 9, 2011, at 11:58 PM, Sanjana Kadaba Viswanath wrote:

 Hi,
 I am really new to servicemix. I want to build a project on orchestration 
 using servicemix. I am having serious problems with maven. I want to use 
 maven2.0.8 and I use Mac OSX. I am not able to build anything. Do you have 
 any idea how to get rid of the issue?
 Please advise me how to proceed. I am really stuck...!!! 
 
 
 
 My Error trace is as follows:
 ___
 
 INFO] Error building POM (may not be this project's POM).
 
 
 Project ID: unknown
 POM Location: /Users/sanju/citytime/pom.xml
 
 Reason: Not a v4.0.0 POM. for project unknown at /Users/sanju/citytime/pom.xml
 
 
 [INFO] 
 
 [INFO] Trace
 org.apache.maven.reactor.MavenExecutionException: Not a v4.0.0 POM. for 
 project unknown at /Users/sanju/citytime/pom.xml
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
   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:597)
   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.project.InvalidProjectModelException: Not a 
 v4.0.0 POM. for project unknown at /Users/sanju/citytime/pom.xml
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1405)
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1377)
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:474)
   at 
 org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
   at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)
   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
   ... 11 more
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 


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



Re: Problems using maven-dependencies-plugin

2010-11-26 Thread Marvin Froeder
Well, this is problematic right now... there is no place on pom to declare
this information, so since on 2.x maven didn't validate the scope that was
the place for it =D

Hopefully on maven 3.1/project model 5 will make some room so flexmojos
would stop using scopes and this problems would be done.

On Fri, Nov 5, 2010 at 5:39 PM, Rafael Adson Barbosa Barros 
mi...@rafaeladson.com wrote:

 Hello,

 Understood. However, using those scopes is a must for flex programmers who
 want to use maven.
 So maybe a compromise solution would be creating a a validateScopes
 parameter (defaults = true).
 I really need to have maven copy a set of external scoped dependencies,
 and I´d hate to have to make a company branch of a maven plugin

 Thanks,
 Rafael.

 On Fri, Nov 5, 2010 at 5:08 PM, Brian Fox bri...@infinity.nu wrote:

  The use of the non-standard scopes is not currently a valid use case,
  so I'd say it's flexmojos with the bug here. It may work for now but
  who knows what those scopes could do to other tools.
 
  On Fri, Nov 5, 2010 at 1:27 PM, Rafael Adson Barbosa Barros
  mi...@rafaeladson.com wrote:
   Hi,
  
   I'm trying to use maven-dependencies-plugin along with flexmojos (
   https://github.com/Flexmojos/flexmojos).
   What I want to do is use maven-dependencies-plugin to copy some
  dependencies
   to the destination. However, as the project is flex (and not java), I'm
   having problems managing it since I have to manage some
   dependencies that are defined in the external scope.
  
   Searching in the maven-dependencies-plugin code base I found:
  
   if ( !Artifact.SCOPE_COMPILE.equals( includeScope ) 
   !Artifact.SCOPE_TEST.equals( includeScope )
   !Artifact.SCOPE_PROVIDED.equals( includeScope ) 
   !Artifact.SCOPE_RUNTIME.equals( includeScope )
   !Artifact.SCOPE_SYSTEM.equals( includeScope ) )
  throw new ArtifactFilterException( Invalid Scope in
 includeScope:
  
   + includeScope );
  
   in the class
  org.apache.maven.shared.artifact.filter.collection.ScopeFilter,
   that is not allowing me to use the plugin the way I want to.
  
   My question then is this: the plugin only supports today scopes that
 are
   adequate for the java programming language. Should it not be
   language-independent
   (thus removing the presented code)? If it should be dependent on java,
 is
   there some way that I can use the plugin to do what I want to do?
  
   Thanks,
   Rafael.
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 



Re: Problems using maven-dependencies-plugin

2010-11-08 Thread Jon Paynter
On Sun, Nov 7, 2010 at 10:09 AM, Wayne Fay wayne...@gmail.com wrote:

  I really need to have maven copy a set of external scoped dependencies,
  and I´d hate to have to make a company branch of a maven plugin

 Perhaps the Flexmojos project would be willing to take ownership of
 the altered Maven plugin... since they are causing the problem in
 the first place.


As an interm solution - try using the 'system' scope.  I found it worked
quite well to have the dependency plugin copy files from some other location
when doing final assembly.


Re: Problems using maven-dependencies-plugin

2010-11-07 Thread Wayne Fay
 I really need to have maven copy a set of external scoped dependencies,
 and I´d hate to have to make a company branch of a maven plugin

Perhaps the Flexmojos project would be willing to take ownership of
the altered Maven plugin... since they are causing the problem in
the first place.

Wayne

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



Re: Problems using maven-dependencies-plugin

2010-11-05 Thread Stephen Connolly
AFAIK, the xml model only defines four/five scopes

compile
runtime
provided
test
system (deprecated)

anything else is technically invalid, though a lot of maven versions
fail to validate scopes completely

(personally there need to be some more scopes: at least bundled)

-Stephen

On 5 November 2010 17:27, Rafael Adson Barbosa Barros
mi...@rafaeladson.com wrote:
 Hi,

 I'm trying to use maven-dependencies-plugin along with flexmojos (
 https://github.com/Flexmojos/flexmojos).
 What I want to do is use maven-dependencies-plugin to copy some dependencies
 to the destination. However, as the project is flex (and not java), I'm
 having problems managing it since I have to manage some
 dependencies that are defined in the external scope.

 Searching in the maven-dependencies-plugin code base I found:

 if ( !Artifact.SCOPE_COMPILE.equals( includeScope ) 
 !Artifact.SCOPE_TEST.equals( includeScope )
                 !Artifact.SCOPE_PROVIDED.equals( includeScope ) 
 !Artifact.SCOPE_RUNTIME.equals( includeScope )
                 !Artifact.SCOPE_SYSTEM.equals( includeScope ) )
        throw new ArtifactFilterException( Invalid Scope in includeScope: 
 + includeScope );

 in the class org.apache.maven.shared.artifact.filter.collection.ScopeFilter,
 that is not allowing me to use the plugin the way I want to.

 My question then is this: the plugin only supports today scopes that are
 adequate for the java programming language. Should it not be
 language-independent
 (thus removing the presented code)? If it should be dependent on java, is
 there some way that I can use the plugin to do what I want to do?

 Thanks,
 Rafael.


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



Re: Problems using maven-dependencies-plugin

2010-11-05 Thread Brian Fox
The use of the non-standard scopes is not currently a valid use case,
so I'd say it's flexmojos with the bug here. It may work for now but
who knows what those scopes could do to other tools.

On Fri, Nov 5, 2010 at 1:27 PM, Rafael Adson Barbosa Barros
mi...@rafaeladson.com wrote:
 Hi,

 I'm trying to use maven-dependencies-plugin along with flexmojos (
 https://github.com/Flexmojos/flexmojos).
 What I want to do is use maven-dependencies-plugin to copy some dependencies
 to the destination. However, as the project is flex (and not java), I'm
 having problems managing it since I have to manage some
 dependencies that are defined in the external scope.

 Searching in the maven-dependencies-plugin code base I found:

 if ( !Artifact.SCOPE_COMPILE.equals( includeScope ) 
 !Artifact.SCOPE_TEST.equals( includeScope )
                 !Artifact.SCOPE_PROVIDED.equals( includeScope ) 
 !Artifact.SCOPE_RUNTIME.equals( includeScope )
                 !Artifact.SCOPE_SYSTEM.equals( includeScope ) )
        throw new ArtifactFilterException( Invalid Scope in includeScope: 
 + includeScope );

 in the class org.apache.maven.shared.artifact.filter.collection.ScopeFilter,
 that is not allowing me to use the plugin the way I want to.

 My question then is this: the plugin only supports today scopes that are
 adequate for the java programming language. Should it not be
 language-independent
 (thus removing the presented code)? If it should be dependent on java, is
 there some way that I can use the plugin to do what I want to do?

 Thanks,
 Rafael.


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



Re: Problems using maven-dependencies-plugin

2010-11-05 Thread Rafael Adson Barbosa Barros
Hello,

Understood. However, using those scopes is a must for flex programmers who
want to use maven.
So maybe a compromise solution would be creating a a validateScopes
parameter (defaults = true).
I really need to have maven copy a set of external scoped dependencies,
and I´d hate to have to make a company branch of a maven plugin

Thanks,
Rafael.

On Fri, Nov 5, 2010 at 5:08 PM, Brian Fox bri...@infinity.nu wrote:

 The use of the non-standard scopes is not currently a valid use case,
 so I'd say it's flexmojos with the bug here. It may work for now but
 who knows what those scopes could do to other tools.

 On Fri, Nov 5, 2010 at 1:27 PM, Rafael Adson Barbosa Barros
 mi...@rafaeladson.com wrote:
  Hi,
 
  I'm trying to use maven-dependencies-plugin along with flexmojos (
  https://github.com/Flexmojos/flexmojos).
  What I want to do is use maven-dependencies-plugin to copy some
 dependencies
  to the destination. However, as the project is flex (and not java), I'm
  having problems managing it since I have to manage some
  dependencies that are defined in the external scope.
 
  Searching in the maven-dependencies-plugin code base I found:
 
  if ( !Artifact.SCOPE_COMPILE.equals( includeScope ) 
  !Artifact.SCOPE_TEST.equals( includeScope )
  !Artifact.SCOPE_PROVIDED.equals( includeScope ) 
  !Artifact.SCOPE_RUNTIME.equals( includeScope )
  !Artifact.SCOPE_SYSTEM.equals( includeScope ) )
 throw new ArtifactFilterException( Invalid Scope in includeScope:
 
  + includeScope );
 
  in the class
 org.apache.maven.shared.artifact.filter.collection.ScopeFilter,
  that is not allowing me to use the plugin the way I want to.
 
  My question then is this: the plugin only supports today scopes that are
  adequate for the java programming language. Should it not be
  language-independent
  (thus removing the presented code)? If it should be dependent on java, is
  there some way that I can use the plugin to do what I want to do?
 
  Thanks,
  Rafael.
 

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




Re: Problems with Maven

2010-08-27 Thread Baptiste MATHUS
Hi,

You seem to have a problem with your local maven repository. Is it possible
that something or somebody somehow broke this directory content?
Which maven version are you running?

And also, are you aware you're working offline? Is it a normal behaviour for
you?

Cheers

2010/8/27 Grita, Fabio (EST) fabio.gr...@fao.org

 Dear All,
 I have found your names in the Maven site. We are having a problem calling
 the mvn service today (every king of maven command, using the install,
 clean
 and even the gwt plugin).

 We would like to know whether there is a problem on maven side or do you
 have
 any idea of what the problem could be.

 Thank you very much for your help!


 The message error is the following:


  mvn install
 [INFO]
 NOTE: Maven is executing in offline mode. Any artifacts not already in your
 local repository will be inaccessible.

 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building project
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [resources:resources]
 [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying
 1071
 resources [WARNING] POM for 'org.rosuda:REngine:pom:0.6.2:compile' is
 invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0
 POM. for project org.rosuda:REngine at
 /home/.m2/repository/org/rosuda/REngine/0.6.2/REngine-0.6.2.pom
 [WARNING] POM for 'org.rosuda:RserveEngine:pom:0.6.2:compile' is invalid.
 It
 will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for
 project org.rosuda:RserveEngine at
 /home/.m2/repository/org/rosuda/RserveEngine/0.6.2/RserveEngine-0.6.2.pom
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.fao.geonetwork:ogcutils

 Reason: Error getting POM for 'org.fao.geonetwork:ogcutils' from the
 repository: Unable to read local copy of metadata: Cannot read metadata
 from

 '/home/.m2/repository/org/fao/geonetwork/ogcutils/2.2.0-SNAPSHOT/maven-metada
 ta-codehaus-maven-repo.xml': end tag name /body must match start tag name
 hr from line 7 (position: TEXT seen .../address\n/body... @9:8)
  org.fao.geonetwork:ogcutils:pom:2.2.0-SNAPSHOT

  for project org.fao.geonetwork:ogcutils


 [INFO]
 
 [INFO] For more information, run Maven with the -e switch [INFO]
 
 [INFO] Total time: 3 seconds
 [INFO] Finished at: Fri Aug 27 12:36:53 CEST 2010
 [INFO] Final Memory: 20M/357M


 Many thanks
 Fabio

 Fabio Grita
 Coordinator GIEWS Workstation
 Food Security Information for Action Programme (GCP/GLO/243/EC)

 Global Information and Early Warning Service (ESTG)
 Trade and Markets Division, (EST)
 Food and Agriculture Organization (FAO)
 Viale delle Terme di Caracalla
 Room D/828
 00100 Rome
 ITALY

 Tel. +39-06-5705-4262 (direct)
 Fax: +39-06-5705-4495
 E-mail: fabio.gr...@fao.org
 Web: http://www.foodsec.org/workstation





 Fabio Grita
 Coordinator GIEWS Workstation
 Food Security Information for Action Programme (GCP/GLO/243/EC)

 Global Information and Early Warning Service (ESTG)
 Trade and Markets Division, (EST)
 Food and Agriculture Organization (FAO)
 Viale delle Terme di Caracalla
 Room D/828
 00100 Rome
 ITALY

 Tel. +39-06-5705-4262 (direct)
 Fax: +39-06-5705-4495
 E-mail: fabio.gr...@fao.org
 Web: http://www.foodsec.org/workstation




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: Problems with Maven Windows network drives

2010-07-28 Thread Frederic Camblor
Hi Brian !

I understand your position, furthermore since in Windows 7, problem is no
more there (it looks like it is really related to Windows XP and its manner
to manage mounted network drives :()

One workaround for my case is to launch maven CLI in my host environnement
(ie ubuntu) = it will download artefacts in the local repository and these
artefacts will be available in my guest environnment (and then, no problem).

Frédéric

On Mon, Jul 26, 2010 at 8:05 PM, Brian Fox bri...@infinity.nu wrote:

 Maven isn't doing anything special with the files, so it's most likely
 some delay or weird interaction with the shared folders either in
 Windows, or VirtualBox (or both). Since the local repo is expected to
 be local, it's not likely we would make any special changes to make
 remote mounting work officially.

 On Tue, Jul 20, 2010 at 2:14 PM, Frederic Camblor fcamb...@gmail.com
 wrote:
  Hi all !
 
  I'm working under Windows via VirtualBox, and I'd like to not put
  sensible/weight data on it to preserve image size/loss.
  So I ended up creating a network drive between my host and guest OS,
 putting
  project  maven data on it.
 
  And ... it looks like maven is acting very strangely with network drives
 on
  Windows !
 
  I executed the following scenarii :
  Scenario 1 :
  - Don't edited any settings.xml, and launched a mvn clean install on a
  fresh copy of my project located on my C: (local) drive : no problems !
 
  Scenario 2 :
  - I edited the settings.xml and set the localRepository property,
 pointing
  on a folder located on my network drive.
  Then, I launched mvn clean install and BLAM! : maven wasn't able to
  download my project parent pom on remote repositories :(
  Note: I tried :
  *** localRepositoryZ:/path/to/localRepo/localRepository
  *** localRepositoryfile:///Z:/path/to/localRepo/localRepository
  ***
 
 localRepository//VBOXSVR/sharedfoldername/path/to/localRepo/localRepository
 
  Scenario 3 :
  - I removed the localRepository property. mvn clean install re-works
  fine !
  - I moved my project from C: to my Z: network drive and relaunched maven.
  This time, maven, succeeded in downloading my parent pom.
  But, this time,
  org.apache.maven.plugins:maven-dependency-plugin:2.1:copy-dependencies
  didn't succeeded during my build :(
 
  I reproduced this behaviour both with mvn 2.0.9 and 2.2.1.
 
  Is someone using successfully maven on project and maven repos located on
  Windows network drives ?
  Feedback appreciated before adding 2 JIRA ...
 
  Thanks in advance..
  Frédéric
 

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




Re: Problems with Maven Windows network drives

2010-07-26 Thread Brian Fox
Maven isn't doing anything special with the files, so it's most likely
some delay or weird interaction with the shared folders either in
Windows, or VirtualBox (or both). Since the local repo is expected to
be local, it's not likely we would make any special changes to make
remote mounting work officially.

On Tue, Jul 20, 2010 at 2:14 PM, Frederic Camblor fcamb...@gmail.com wrote:
 Hi all !

 I'm working under Windows via VirtualBox, and I'd like to not put
 sensible/weight data on it to preserve image size/loss.
 So I ended up creating a network drive between my host and guest OS, putting
 project  maven data on it.

 And ... it looks like maven is acting very strangely with network drives on
 Windows !

 I executed the following scenarii :
 Scenario 1 :
 - Don't edited any settings.xml, and launched a mvn clean install on a
 fresh copy of my project located on my C: (local) drive : no problems !

 Scenario 2 :
 - I edited the settings.xml and set the localRepository property, pointing
 on a folder located on my network drive.
 Then, I launched mvn clean install and BLAM! : maven wasn't able to
 download my project parent pom on remote repositories :(
 Note: I tried :
 *** localRepositoryZ:/path/to/localRepo/localRepository
 *** localRepositoryfile:///Z:/path/to/localRepo/localRepository
 ***
 localRepository//VBOXSVR/sharedfoldername/path/to/localRepo/localRepository

 Scenario 3 :
 - I removed the localRepository property. mvn clean install re-works
 fine !
 - I moved my project from C: to my Z: network drive and relaunched maven.
 This time, maven, succeeded in downloading my parent pom.
 But, this time,
 org.apache.maven.plugins:maven-dependency-plugin:2.1:copy-dependencies
 didn't succeeded during my build :(

 I reproduced this behaviour both with mvn 2.0.9 and 2.2.1.

 Is someone using successfully maven on project and maven repos located on
 Windows network drives ?
 Feedback appreciated before adding 2 JIRA ...

 Thanks in advance..
 Frédéric


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



Re: Problems with maven-gpg-plugin

2010-02-09 Thread Jo Eduardo
Is this all the logs? Seems like its trying to perform mvn
performRelease=true, which is not a valid maven command. Try to find out
where that performRelease=true comes from and try to fix that. Also, it
seems that what you want to run is mvn -DperformRelease=true.

HTH,
-- 
Jo Eduardo
Twitter: http://twitter.com/joed

On Tue, Feb 9, 2010 at 7:21 PM, Karl Heinz Marbaise k...@soebes.de wrote:


 Hi,

 currently I'm trying to deploy signed artifacts into a nexus repo
 manager

 Based on the

 http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/
 description  i configured the maven-gpg-plugin to be activated based on the
 release:perform ...

 pre
 profiles
profile
idrelease-sign-artifacts/id
activation
property
nameperformRelease/name
valuetrue/value
/property
/activation
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-gpg-plugin/artifactId
version1.0-alpha-4/version
executions
execution
idsign-artifacts/id
phaseverify/phase
goals
goalsign/goal
/goals
/execution
/executions
/plugin
/plugins
/build
/profile
 /profiles
 /pre


 so i call mvn release:prepare everything went well...so far so good...
 but than i'm trying to call mvn release:perform and the output hangs at the
 point [INFO] [INFO] [gpg:sign {execution: sign-artifacts}]...
 Ok i read the comment about the pgp.passphase parameter and changed the
 call
 into the following:

 premvn release:perform -Darguments=-Dgpg.passphrase=xx/pre
 But now the result is the following:
 pre
 $ mvn22 release:perform -Darguments=-Dgpg.passphrase=in\ dubio
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'release'.
 [INFO]
 
 [INFO] Building Guice :: Test
 [INFO]task-segment: [release:perform] (aggregator-style)
 [INFO]
 
 [INFO] [release:perform {execution: default-cli}]
 [INFO] Checking out the project to perform the release ...
 [INFO] Executing: /bin/sh -c cd /home/.../guice-test/target  svn
 --non-interactive checkout file:///home/.../tags/guice-test-0.0.2 checkout
 [INFO] Working directory: /home/.../guice-test/target
 [INFO] Executing goals 'deploy site-deploy'...
 [WARNING] Maven will be executed in interactive mode, but no input stream
 has been configured for this MavenInvoker instance.
 [INFO] [INFO] Scanning for projects...
 [INFO] [INFO]
 
 [INFO] [ERROR] BUILD FAILURE
 [INFO] [INFO]
 
 [INFO] [INFO] Invalid task 'performRelease=true': you must specify a valid
 lifecycle phase, or a goal in the format plugin:goal or
 pluginGroupId:pluginArtifactId:pluginVersion:goal
 [INFO] [INFO]
 
 [INFO] [INFO] For more information, run Maven with the -e switch
 [INFO] [INFO]
 
 [INFO] [INFO] Total time:  1 second
 [INFO] [INFO] Finished at: Tue Feb 09 11:24:47 CET 2010
 [INFO] [INFO] Final Memory: 5M/490M
 [INFO] [INFO]
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Maven execution failed, exit code: '1'

 /pre
 does someone has an idea what I'm doing wrong ?

 Kind regards
 Karl Heinz Marbaise
 --
 View this message in context:
 http://old.nabble.com/Problems-with-maven-gpg-plugin-tp27513746p27513746.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


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




Re: Problems with maven-gpg-plugin

2010-02-09 Thread Karl Heinz Marbaise

Hi,

after investigating an debug -X output i found out that an incorrectly
escaped passphrase caused the problem ...My passphase had an space in it and
i tried to escape it (based on a hint in the Maven IRC chat on codehaus):

with blabal\ blabal...but this doesn't work...


pre
[DEBUG] Executing: /bin/sh -c cd /home/guice-test/target/checkout 
/homeg/apache-maven-2.2.1/bin/mvn -X -D
maven.repo.local=/home/.m2/repository -D gpg.passphrase=xx\ -D
performRelease=true -P xxx,nexus deploy site-deploy
[WARNING] Maven will be executed in interactive mode, but no input stream
has been configured for this MavenInvoker instance.
[INFO] + Error stacktraces are turned on.
[INFO] Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
[INFO] Java version: 1.6.0_07
[INFO] Java home: /usr/lib/jvm/java-1.6.0-sun-1.6.0.7/jre
[INFO] Default locale: en_US, platform encoding: UTF-8
[INFO] OS name: linux version: 2.6.24.7-108.el5 arch: amd64 Family:
unix
[INFO] [DEBUG] Building Maven user-level plugin registry from:
'/home/.m2/plugin-registry.xml'
[INFO] [DEBUG] Building Maven global-level plugin registry from:
'/home/maven/conf/plugin-registry.xml'
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]

[INFO] [ERROR] BUILD FAILURE
[INFO] [INFO]

[INFO] [INFO] Invalid task 'performRelease=true': you must specify a valid
lifecycle phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] [INFO]

[INFO] [DEBUG] Trace
[INFO] org.apache.maven.BuildFailureException: Invalid task
'performRelease=true': you must specify a valid lifecycle phase, or a goal
in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1830)
[INFO]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
[INFO]  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
[INFO]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
[INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
[INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
[INFO]  at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
[INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO]  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[INFO]  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[INFO]  at java.lang.reflect.Method.invoke(Method.java:597)
[INFO]  at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[INFO]  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[INFO]  at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[INFO]  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] [INFO]

[INFO] [INFO] Total time:  1 second
[INFO] [INFO] Finished at: Tue Feb 09 13:06:30 CET 2010
[INFO] [INFO] Final Memory: 5M/490M
[INFO] [INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Maven execution failed, exit code: '1'

[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Maven execution
failed, exit code: '1'
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at

Re: Problems with maven-kogo-plugin

2009-03-11 Thread neil hart
Can you post an example of the Ant file and the pom.xml code to call it?
 That would help a great deal.
Thanks


RE: Problems with maven-kogo-plugin

2009-02-10 Thread Sean Hennessy
transcription error perhaps?
maven-kodo vs maven-kogo

-Original Message-
From: maven_noob [mailto:kristianfra...@gmail.com]
Sent: Tuesday, February 10, 2009 7:33 AM
To: users@maven.apache.org
Subject: Problems with maven-kogo-plugin



I'Hi there - I'm trying to get this plug in to work when installing one of my 
projects.

This is the message I am getting when trying to do an mvn install:

[INFO]task-segment: [install]
[INFO]

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

[ERROR] FATAL ERROR
[INFO]

[INFO] The PluginDescriptor for the plugin Plugin 
[maven-plugins:maven-kodo-plugin] was not found. [INFO]

[INFO] Trace
java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin 
[maven-plugins:maven-kodo-plugin] was not found.
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1238)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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)
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Feb 10 09:25:37 CST 2009

The pom for my project contains the following:
  plugin
groupIdmaven-plugins/groupId
artifactIdmaven-kodo-plugin/artifactId
version3.1.2/version
executions
 execution
  phasecompile/phase
   goals
 goalenhance/goal
   /goals
 /execution
/executions
  /plugin

Any suggestions?

Thanks!

--
View this message in context: 
http://www.nabble.com/Problems-with-maven-kogo-plugin-tp21936149p21936149.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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



Re: Problems with maven-kogo-plugin

2009-02-10 Thread Nick Stolwijk
I see a Sourceforge project [1] which haven't been updated for quite a
while (2005) and a codehaus project [2], which also seems a bit dead.
(Correct me if I'm wrong)

It seems the Sourceforge project is still a maven 1 plugin and the
codehaus project didn't got any further than an alpha version.

I think you're out of luck.

[1] http://maven-plugins.sourceforge.net/maven-kodo-plugin/
[2] http://mojo.codehaus.org/kodo-maven-plugin/index.html

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Feb 10, 2009 at 4:57 PM, Sean Hennessy
shenne...@astutenetworks.com wrote:
 transcription error perhaps?
 maven-kodo vs maven-kogo

 -Original Message-
 From: maven_noob [mailto:kristianfra...@gmail.com]
 Sent: Tuesday, February 10, 2009 7:33 AM
 To: users@maven.apache.org
 Subject: Problems with maven-kogo-plugin



 I'Hi there - I'm trying to get this plug in to work when installing one of my 
 projects.

 This is the message I am getting when trying to do an mvn install:

 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for 
 updates from central [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] The PluginDescriptor for the plugin Plugin 
 [maven-plugins:maven-kodo-plugin] was not found. [INFO]
 
 [INFO] Trace
 java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin 
 [maven-plugins:maven-kodo-plugin] was not found.
at
 org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1238)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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)
 [INFO]
 
 [INFO] Total time: 2 seconds
 [INFO] Finished at: Tue Feb 10 09:25:37 CST 2009

 The pom for my project contains the following:
  plugin
groupIdmaven-plugins/groupId
artifactIdmaven-kodo-plugin/artifactId
version3.1.2/version
executions
 execution
  phasecompile/phase
   goals
 goalenhance/goal
   /goals
 /execution
/executions
  /plugin

 Any suggestions?

 Thanks!

 --
 View this message in context: 
 http://www.nabble.com/Problems-with-maven-kogo-plugin-tp21936149p21936149.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


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



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

Re: Problems with maven-kogo-plugin

2009-02-10 Thread maven_noob



Nick Stolwijk-4 wrote:
 
 I see a Sourceforge project [1] which haven't been updated for quite a
 while (2005) and a codehaus project [2], which also seems a bit dead.
 (Correct me if I'm wrong)
 
 It seems the Sourceforge project is still a maven 1 plugin and the
 codehaus project didn't got any further than an alpha version.
 
 I think you're out of luck.
 
 [1] http://maven-plugins.sourceforge.net/maven-kodo-plugin/
 [2] http://mojo.codehaus.org/kodo-maven-plugin/index.html
 
 Nick Stolwijk
 ~Java Developer~
 
 Iprofs BV.
 Claus Sluterweg 125
 2012 WS Haarlem
 www.iprofs.nl
 
 
 
 On Tue, Feb 10, 2009 at 4:57 PM, Sean Hennessy
 shenne...@astutenetworks.com wrote:
 transcription error perhaps?
 maven-kodo vs maven-kogo

 -Original Message-
 From: maven_noob [mailto:kristianfra...@gmail.com]
 Sent: Tuesday, February 10, 2009 7:33 AM
 To: users@maven.apache.org
 Subject: Problems with maven-kogo-plugin



 I'Hi there - I'm trying to get this plug in to work when installing one
 of my projects.

 This is the message I am getting when trying to do an mvn install:

 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking
 for updates from central [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] The PluginDescriptor for the plugin Plugin
 [maven-plugins:maven-kodo-plugin] was not found. [INFO]
 
 [INFO] Trace
 java.lang.IllegalStateException: The PluginDescriptor for the plugin
 Plugin [maven-plugins:maven-kodo-plugin] was not found.
at
 org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1238)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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)
 [INFO]
 
 [INFO] Total time: 2 seconds
 [INFO] Finished at: Tue Feb 10 09:25:37 CST 2009

 The pom for my project contains the following:
  plugin
groupIdmaven-plugins/groupId
artifactIdmaven-kodo-plugin/artifactId
version3.1.2/version
executions
 execution
  phasecompile/phase
   goals
 goalenhance/goal
   /goals
 /execution
/executions
  /plugin

 Any suggestions?

 Thanks!

 --
 View this message in context:
 http://www.nabble.com/Problems-with-maven-kogo-plugin-tp21936149p21936149.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


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


 
 -
 To unsubscribe, 

RE: Problems with maven-kogo-plugin

2009-02-10 Thread Brian E. Fox
This was my project and since it got blocked by maven 2.0.2 bugs at the time... 
I never went back to fixing it. Now that you can fairly easily wrap ant tasks 
into plugins, I would suggest that approach. The kodo plugin in the sandbox 
required too much hacking of the ant task code to make it work reliably. It did 
work ok for enhancing at the time but I would be surprised if it worked with 
later versions of their tools.

-Original Message-
From: Nick Stolwijk [mailto:nick.stolw...@gmail.com] 
Sent: Tuesday, February 10, 2009 11:06 AM
To: Maven Users List
Subject: Re: Problems with maven-kogo-plugin

I see a Sourceforge project [1] which haven't been updated for quite a
while (2005) and a codehaus project [2], which also seems a bit dead.
(Correct me if I'm wrong)

It seems the Sourceforge project is still a maven 1 plugin and the
codehaus project didn't got any further than an alpha version.

I think you're out of luck.

[1] http://maven-plugins.sourceforge.net/maven-kodo-plugin/
[2] http://mojo.codehaus.org/kodo-maven-plugin/index.html

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Feb 10, 2009 at 4:57 PM, Sean Hennessy
shenne...@astutenetworks.com wrote:
 transcription error perhaps?
 maven-kodo vs maven-kogo

 -Original Message-
 From: maven_noob [mailto:kristianfra...@gmail.com]
 Sent: Tuesday, February 10, 2009 7:33 AM
 To: users@maven.apache.org
 Subject: Problems with maven-kogo-plugin



 I'Hi there - I'm trying to get this plug in to work when installing one of my 
 projects.

 This is the message I am getting when trying to do an mvn install:

 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for 
 updates from central [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] The PluginDescriptor for the plugin Plugin 
 [maven-plugins:maven-kodo-plugin] was not found. [INFO]
 
 [INFO] Trace
 java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin 
 [maven-plugins:maven-kodo-plugin] was not found.
at
 org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1238)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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)
 [INFO]
 
 [INFO] Total time: 2 seconds
 [INFO] Finished at: Tue Feb 10 09:25:37 CST 2009

 The pom for my project contains the following:
  plugin
groupIdmaven-plugins/groupId
artifactIdmaven-kodo-plugin/artifactId
version3.1.2/version
executions
 execution
  phasecompile/phase
   goals
 goalenhance/goal
   /goals
 /execution
/executions
  /plugin

 Any suggestions?

 Thanks!

 --
 View this message in context: 
 http://www.nabble.com/Problems-with-maven-kogo-plugin

Re: Problems with maven building a super jar

2009-01-04 Thread Baptiste MATHUS
Lisa, I see you have learnt some good practice from your recent experience :
no hello, no thanks. So far, so good :-/.

About having jars inside your jar, I suppose you want the other jars not to
be unpacked. I asume you're familiar with the fact that having jars inside
your jar isn't standard and just won't work by default.

Reading this
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencieswill
show you why everything is unpacked (that's the default), but you
surelyy already read this twice.

Maybe also have a look here:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html.
From what you describe, it might be what you need.

Cheers

2009/1/4 CheapLisa l...@purpleblade.net


 I have a project directory like:
C:\home\projects\myproject

 In myproject there is myproject\pom.xml

 This pom is a top level pom (for many modules and those modules have
 sub-modules)
 and the packageing is set to pom.

 What I want is to build one super jar that includes all jars in my project
 and all jars that were downloaded as dependencies (and dependencies of
 dependencies).

 How do I do this?

 I included in my top level pom in the build section the maven-assembly
 plugin
 but that just created a jar with some apache classes and did not include my
 jars (my modules) or any dependencies (like Spring, Log4J, etc).

 This is the build section of my top level pom.xml
 (packagingpom/packaging
build
plugins
!-- Compiler --
plugin
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.6/source
target1.6/target
showDeprecationtrue/showDeprecation
showWarningstrue/showWarnings
!-- Commented out fork to see if it fixes continuum
 build --
!-- forktrue/fork --
/configuration
!-- compilerOption-enableassertions/compilerOption
 --
/plugin

!--
  --
plugin !-- build a single superjar with all this project
 .jars and all dependent jars like spring, log4j etc (every dependency
 section will result in the inclusion of one or more jars in the super pom
 --
artifactIdmaven-assembly-plugin/artifactId
executions
execution
phasepackage/phase
goals
goalassembly/goal
/goals
/execution
/executions
configuration
descriptorRefs

 descriptorRefjar-with-dependencies/descriptorRef
/descriptorRefs
/configuration
/plugin



-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: Problems with maven building a super jar

2009-01-04 Thread CheapLisa

thanks, I went over those, but nothing is being built.

I think the problem is that my top level project has no /src/main/java
directory.  In fact there is no /src/ directory at all meaning the pom.xml
(parent pom) of all sub modules has no dependencies.

It just has many modules which have sub modules.  The assembly plugin just
includes unpacked jars of dependencies but since there are no dependencies,
nothing is included in the jar.

How do I tell the assembly plugin to include all jars of submodules ? (the
top level project is just a container for sub-modules).  

I think most projects are like this so there must be a way.

LM



Baptiste MATHUS-4 wrote:
 
 Lisa, I see you have learnt some good practice from your recent experience
 :
 no hello, no thanks. So far, so good :-/.
 
 About having jars inside your jar, I suppose you want the other jars not
 to
 be unpacked. I asume you're familiar with the fact that having jars inside
 your jar isn't standard and just won't work by default.
 
 Reading this
 http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencieswill
 show you why everything is unpacked (that's the default), but you
 surelyy already read this twice.
 
 Maybe also have a look here:
 http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html.
 From what you describe, it might be what you need.
 
 Cheers
 
 2009/1/4 CheapLisa l...@purpleblade.net
 

 I have a project directory like:
C:\home\projects\myproject

 In myproject there is myproject\pom.xml

 This pom is a top level pom (for many modules and those modules have
 sub-modules)
 and the packageing is set to pom.

 What I want is to build one super jar that includes all jars in my
 project
 and all jars that were downloaded as dependencies (and dependencies of
 dependencies).

 How do I do this?

 I included in my top level pom in the build section the maven-assembly
 plugin
 but that just created a jar with some apache classes and did not include
 my
 jars (my modules) or any dependencies (like Spring, Log4J, etc).

 This is the build section of my top level pom.xml
 (packagingpom/packaging
build
plugins
!-- Compiler --
plugin
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.6/source
target1.6/target
showDeprecationtrue/showDeprecation
showWarningstrue/showWarnings
!-- Commented out fork to see if it fixes
 continuum
 build --
!-- forktrue/fork --
/configuration
!--
 compilerOption-enableassertions/compilerOption
 --
/plugin

!--
  --
plugin !-- build a single superjar with all this
 project
 .jars and all dependent jars like spring, log4j etc (every dependency
 section will result in the inclusion of one or more jars in the super pom
 --
artifactIdmaven-assembly-plugin/artifactId
executions
execution
phasepackage/phase
goals
goalassembly/goal
/goals
/execution
/executions
configuration
descriptorRefs

 descriptorRefjar-with-dependencies/descriptorRef
/descriptorRefs
/configuration
/plugin


 
 -- 
 Baptiste Batmat MATHUS - http://batmat.net
 Sauvez un arbre,
 Mangez un castor !
 
 

-- 
View this message in context: 
http://www.nabble.com/Problems-with-maven-building-a-%22super-jar%22-tp21278586p21279021.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Problems with maven building a super jar

2009-01-04 Thread CheapLisa

What I want to do is to include all jars from all modules/sub-modules that
are built from the top level when I do mvn compile install.

in the top level C:\projects\myproject\pom.xml 

there is no /src/main/java directory to build.  It is a top level
project/container only for submodules and the packaging in the top level
pom.xml is simply pom.

How do I build a super jar containing all jars that were built as a result
of having a module line in a pom (or sub module pom), and have all
dependencies that that jar needs (downloaded to .m2/repository/ )
be included in a super jar?

thanks

I get this error:
 [INFO] Failed to create assembly: Error creating assembly archive superjar:
You must set at least on
e file.

--- This is my assembly.xml (I'm not sure exactly what everything here does
- got it from an example online)


assembly
  idsuperjar/id
  includeBaseDirectorytrue/includeBaseDirectory

  moduleSets
moduleSet
includeSubModulestrue/includeSubModules
binaries
outputDirectory
${module.artifactId}-${module.version}
/outputDirectory

dependencySets
dependencySet/
/dependencySets
/binaries
/moduleSet
  /moduleSets
  formats
formatjar/format
  /formats


/assembly

-- 
View this message in context: 
http://www.nabble.com/Problems-with-maven-building-a-%22super-jar%22-tp21278586p21279575.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Problems with maven 2.0.9, 2.1.0-M1 and profiles.

2008-12-17 Thread Carlos Chávez
Hi everyone, thanks for the answer.

Want i found now, is that i need to run two times the install goal in
order to get the substitution of the variables.

mvn -Pgator clean install - The variables don't work.

So i have to do:

mvn clean
mvn -Pgator install - The variables don't work.
mvn -Pgator install - Second time, the variables work.

--
Cheers.
Carlos Chávez. 

Carlos Chávez escribió:
 Hello everyone.

 I have defined in a parent POM some profiles and some properties,
 then in the child profile i have defined some resources
 that use those properties, it looks like:

 parent POM:

 project
 ...
 ...
 profiles
 profile
   idlocal/id
   activation
 activeByDefaulttrue/activeByDefault
   /activation
   properties
 gator.smtp.serverlocalhost/gator.smtp.server
 gator.smtp.fromr...@localhost/gator.smtp.from   
 store-janitor.freememory2048000/store-janitor.freememory
 store-janitor.heapsize6660/store-janitor.heapsize   
   /properties
 /profile
 profile
   idgator/id
   properties
 gator.smtp.serverserver.com.ni/gator.smtp.server
 gator.smtp.fromsist...@server.com.ni/gator.smtp.from
 store-janitor.freememory10737000/store-janitor.freememory
 store-janitor.heapsize526133000/store-janitor.heapsize
   /properties
 /profile
   /profiles
 /project


 The following is the child POM:

   build
   ...
   ...
 resources
   resource
 directorysrc/main/resources/directory
 filteringtrue/filtering
   /resource
   resource
 directorysrc/main/webapp/WEB-INF/properties/directory
 filteringtrue/filtering
 targetPath../gator/WEB-INF/properties/targetPath
   /resource
 /resources
   /build

 There is a file in src/main/webapp/WEB-INF/properties with the following:

 # smtp properties
 gator.smtp.server = ${gator.smtp.server}
 gator.smtp.from = ${gator.smtp.from}

 This configuration work perfectly on maven 2.0.7, the maven build
 depending on the profile change the properties for his value. Now in
 maven 2.0.9 and 2.1.0-M1 this configuration seems like is not working,
 there is no error messages or warning.

 The other issue is that i can not override a property defined in the POM
 by a property from the command line.

 --
 Cheers.
 Carlos Chávez.


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


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



Re: Problems with maven 2.0.9, 2.1.0-M1 and profiles.

2008-12-15 Thread Arnaud HERITIER
What I learned recently is that activation of profiles isn't inherited.
Can't it be your problem ? By default in a child project you won't have
access to the properties values defined in the local profile.

Arnaud


On Mon, Dec 15, 2008 at 11:56 PM, Carlos Chávez ccha...@agssa.net wrote:

 Hello everyone.

 I have defined in a parent POM some profiles and some properties,
 then in the child profile i have defined some resources
 that use those properties, it looks like:

 parent POM:

 project
 ...
 ...
 profiles
profile
  idlocal/id
  activation
activeByDefaulttrue/activeByDefault
  /activation
  properties
gator.smtp.serverlocalhost/gator.smtp.server
gator.smtp.fromr...@localhost/gator.smtp.from
store-janitor.freememory2048000/store-janitor.freememory
store-janitor.heapsize6660/store-janitor.heapsize
  /properties
/profile
profile
  idgator/id
  properties
gator.smtp.serverserver.com.ni/gator.smtp.server
gator.smtp.fromsist...@server.com.ni/gator.smtp.from
store-janitor.freememory10737000/store-janitor.freememory
store-janitor.heapsize526133000/store-janitor.heapsize
  /properties
/profile
  /profiles
 /project


 The following is the child POM:

  build
  ...
  ...
resources
  resource
directorysrc/main/resources/directory
filteringtrue/filtering
  /resource
  resource
directorysrc/main/webapp/WEB-INF/properties/directory
filteringtrue/filtering
targetPath../gator/WEB-INF/properties/targetPath
  /resource
/resources
  /build

 There is a file in src/main/webapp/WEB-INF/properties with the following:

 # smtp properties
 gator.smtp.server = ${gator.smtp.server}
 gator.smtp.from = ${gator.smtp.from}

 This configuration work perfectly on maven 2.0.7, the maven build
 depending on the profile change the properties for his value. Now in
 maven 2.0.9 and 2.1.0-M1 this configuration seems like is not working,
 there is no error messages or warning.

 The other issue is that i can not override a property defined in the POM
 by a property from the command line.

 --
 Cheers.
 Carlos Chávez.


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




-- 
..
Arnaud HERITIER
12 guidelines to boost your productivity with a Java software factory -
http://tinyurl.com/56s9tw
..
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...


Re: Problems with maven 2.0.9, 2.1.0-M1 and profiles.

2008-12-15 Thread Jörg Schaible
Arnaud HERITIER wrote:

 What I learned recently is that activation of profiles isn't inherited.
 Can't it be your problem ? By default in a child project you won't have
 access to the properties values defined in the local profile.

For us it is using M209! However, we do not use the activationByDefault, but
the activeProfiles section. Any profile added there is also active in the
children.

- Jörg


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



Re: Problems with Maven Eclipse Plugin

2008-05-12 Thread Jeff Berkowitz
Interesting.  I just sent mail to codehaus' alias for the netbeans Maven
plugin (mevenide) saying I couldn't get it to work.  It was working last
week, but now gives me:

[FATAL]org.jvnet.hudson.maven.plugins.hpi.AptMojo#execute() caused a linkage
error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the
realms:

Followed by 50 or so URLs.

On Mon, May 12, 2008 at 11:35 AM, Curtis, Harrison (Bud) 
[EMAIL PROTECTED] wrote:

 This may be the wrong place to ask this question, if so please advise
 where the issue should be reported.

 When Eclipse starts up I encounter the following error:
 ___
 5/12/08 12:11:07 PM MDT: Downloaded [central] -
 http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip
 5/12/08 12:11:08 PM MDT: Unable to update index for central
 http://repo1.maven.org/maven2/
 ___

 However, I have no problem using the same URL in my browser to download
 the nexus-maven-repository-index.zip.

 Then when I attempt to build (The POM has an ant generate-sources phase
 to generate using JAXB some source) with in Eclipse I get the following
 errors reported:

 ___
 5/12/08 12:28:14 PM MDT: [INFO] Executing tasks
 5/12/08 12:28:14 PM MDT: [FATAL ERROR]
 org.apache.maven.plugin.antrun.AntRunMojo#execute() caused a linkage
 error (java.lang.NoSuchMethodError) and may be out-of-date. Check the
 realms:
 5/12/08 12:28:14 PM MDT: [FATAL ERROR] Plugin realm =
 /plugins/org.apache.maven.plugins:maven-antrun-plugin:[EMAIL 
 PROTECTED]/thread:Work
 er-10
 urls[0] =
 file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/org/a
 pache/maven/plugins/maven-antrun-plugin/1.1/maven-antrun-plugin-1.1.jar
 urls[1] =
 file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/org/c
 odehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
 urls[2] =
 file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/junit
 /junit/3.8.1/junit-3.8.1.jar
 urls[3] =
 file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/ant/a
 nt/1.6.5/ant-1.6.5.jar
 urls[4] =
 file:/C:/Documents%20and%20Settings/harrison.curtis/.m2/repository/ant/a
 nt-launcher/1.6.5/ant-launcher-1.6.5.jar
 5/12/08 12:28:14 PM MDT: [FATAL ERROR] Container realm = plexus.core

 5/12/08 12:28:14 PM MDT: ERROR mojo-execute : antrun:run :
 org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apache/maven/sett
 ings/RuntimeInfo;)V
 5/12/08 12:28:14 PM MDT: Build error for /SSRListener/pom.xml;
 java.lang.NoSuchMethodError:
 org.apache.maven.settings.Settings.setRuntimeInfo(Lorg/apache/maven/sett
 ings/RuntimeInfo;)V
 ___

 If I run Maven outside of Eclipse it runs fine with no error.  Can
 someone suggest what the problem is.

 Harrison (Bud) Curtis
 Verizon Business
 [EMAIL PROTECTED]
 V622-4098 719/535-4098


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




Re: Problems with Maven on OSX

2008-04-02 Thread Joshua ChaitinPollak

Chris,

try locking down the version of the site plugin you are using by  
putting this in your buildplugins section:


plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
version2.0-beta-6/version
/plugin


Alternatively, I believe Maven 2.0.9 release candidates lock down the  
default plugin versions.


-Josh

On Apr 2, 2008, at 1:58 PM, Chris Boyer wrote:

I'm lost here and can't seem to figure this out. I'm working with  
Maven on OSX and for some reason it doesn't seem to be downloading  
dependencies or anything really. Just for fun. I went ahead and  
moved off my .m2 repo and ran a mvn install on a pretty simple pom  
file. It spewed this at me:


[EMAIL PROTECTED] test $ mvn install[INFO]
Scanning for projects...
[INFO]  


[INFO] Building Tutorial[INFO]task-segment: [install]
[INFO]  

[INFO]  
[ERROR 
] BUILD ERROR
[INFO]  

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


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

[INFO] Total time:  1 second[INFO] Finished at: Wed Apr 02 10:57:01  
PDT 2008

[INFO] Final Memory: 1M/2M
[INFO]  




I just reinstalled maven with macports. Running version 2.0.8. My  
repo was clean when I ran this.


Any help with this would be great.

--Chris



Chris Boyer [EMAIL PROTECTED]
Senior Programmer/Analyst, Musician's Friend






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




--
Joshua ChaitinPollak | Software Engineer
Kiva Systems, Inc., 225 Wildwood Ave, Woburn, MA 01970








Re: Problems with Maven on OSX

2008-04-02 Thread Chris Boyer

So that brought about a different error: ;)



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


[INFO] Building Test
[INFO]task-segment: [install]
[INFO]  
 
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/ 
maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0- 
beta-6.pomDownloading: http://repo1.maven.org/maven2/org/apache/maven/ 
plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
[INFO]  
 
[ERROR] BUILD ERROR
[INFO]  


[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.pluginsArtifactId: maven-site- 
pluginVersion: 2.0-beta-6

Reason: Unable to download the artifact from any repository
  org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6
from the specified remote repositories:  central (http:// 
repo1.maven.org/maven2)


[INFO]  


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


[INFO] Total time:  1 second
[INFO] Finished at: Wed Apr 02 14:47:17 PDT 2008[INFO] Final Memory:  
1M/2M
[INFO]  





On Apr 2, 2008, at 11:05 AM, Joshua ChaitinPollak wrote:

Chris,

try locking down the version of the site plugin you are using by  
putting this in your buildplugins section:


plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
version2.0-beta-6/version
/plugin


Alternatively, I believe Maven 2.0.9 release candidates lock down  
the default plugin versions.


-Josh

On Apr 2, 2008, at 1:58 PM, Chris Boyer wrote:

I'm lost here and can't seem to figure this out. I'm working with  
Maven on OSX and for some reason it doesn't seem to be downloading  
dependencies or anything really. Just for fun. I went ahead and  
moved off my .m2 repo and ran a mvn install on a pretty simple pom  
file. It spewed this at me:


[EMAIL PROTECTED] test $ mvn install[INFO]
Scanning for projects...
[INFO]  
- 
---

[INFO] Building Tutorial[INFO]task-segment: [install]
[INFO]  
- 
---
[INFO]  
- 
---[ERROR] BUILD ERROR
[INFO]  
- 
---
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin'  
does not exist or no valid version could be found
[INFO]  
- 
---

[INFO] For more information, run Maven with the -e switch
[INFO]  
- 
---
[INFO] Total time:  1 second[INFO] Finished at: Wed Apr 02  
10:57:01 PDT 2008

[INFO] Final Memory: 1M/2M
[INFO]  
- 
---



I just reinstalled maven with macports. Running version 2.0.8. My  
repo was clean when I ran this.


Any help with this would be great.

--Chris



Chris Boyer [EMAIL PROTECTED]
Senior Programmer/Analyst, Musician's Friend






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




--
Joshua ChaitinPollak | Software Engineer
Kiva Systems, Inc., 225 Wildwood Ave, Woburn, MA 01970








Chris Boyer [EMAIL PROTECTED]
Senior Programmer/Analyst, Musician's Friend






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



Re: problems with Maven archetype

2008-02-29 Thread Stuart McCulloch
On 29/02/2008, Sagara Gunathunga [EMAIL PROTECTED] wrote:

 Hi,
 Since last couple of weeks I am  getting following  problem  when
 creating  a  new project with archetype .


try adding -U to make sure you pick up the latest archetype plugin (
2.0-alpha-2)
because it sounds like you're using 2.0-alpha-1 which has compatibility
issues.

ie, the following command works for me:

 mvn -U archetype:create \
   -DarchetypeGroupId=org.apache.tapestry \
   -DarchetypeArtifactId=quickstart \
   -DgroupId=org.example \
   -DartifactId=myapp \
   -DpackageName=org.example.myapp \
   -Dversion=1.0.0-SNAPSHOT

you'll only need to add the -U option once to force maven to pick up
2.0-alpha-2

HTH

(1.) I tried  to create a new tapestry project  with a   following
 command . ( but two or three months ago this worked well for me  )

   mvn archetype:create -DarchetypeGroupId=org.apache.tapestry
 -DarchetypeArtifactId=quickstart -DgroupId=org.example
 -DartifactId=myapp -DpackageName=org.example.myapp
 -Dversion=1.0.0-SNAPSHOT



 (2.)  again , I tried to  create Felix ipojo project using following
 command.

 mvn archetype:create -DarchetypeGroupId=org.apache.felix \
  -DarchetypeArtifactId=maven-ipojo-plugin
 -DarchetypeVersion=0.7.5-SNAPSHOT \
  -DgroupId=ipojo.example -DartifactId=hello.impl \
  -DpackageName=ipojo.example.hello.impl

 in both cases ,I got long list to select archetype and some other
 selection also . any way i couldn't end up with the required project
 structure . I think this is not a problem of above two projects , it's
 from Maven ..please provide  any direction to solve this .


 // *
 [EMAIL PROTECTED]:/work/stuff/OSGI/ipojo/2$ mvn archetype:create
 -DarchetypeGroupId=org.apache.felix
 -DarchetypeArtifactId=maven-ipojo-plugin
 -DarchetypeVersion=0.7.5-SNAPSHOT  -DgroupId=ipojo.example
 -DartifactId=hello.impl  -DpackageName=ipojo.example.hello.imp
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO]
 
 [INFO] Building Maven Default Project
 [INFO]task-segment: [archetype:create] (aggregator-style)
 [INFO]
 
 [INFO] Preparing archetype:create
 [INFO] No goals needed for project - skipping
 Downloading:
 http://repo1.maven.org/maven2/ipojo/example/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
 Downloading:
 http://repo1.maven.org/maven2/ipojo/example/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
 [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] [archetype:create]
 [WARNING] No archetype repository found.
 [WARNING] Specified archetype not found.
 Choose archetype:
 1: internal - appfuse-basic-jsf (AppFuse archetype for creating a web
 application with Hibernate, Spring and JSF)
 2: internal - appfuse-basic-spring (AppFuse archetype for creating a
 web application with Hibernate, Spring and Spring MVC)
 3: internal - appfuse-basic-struts (AppFuse archetype for creating a
 web application with Hibernate, Spring and Struts 2)
 4: internal - appfuse-basic-tapestry (AppFuse archetype for creating
 a web application with Hibernate, Spring and Tapestry 4)
 5: internal - appfuse-core (AppFuse archetype for creating a jar
 application with Hibernate and Spring and XFire)
 6: internal - appfuse-modular-jsf (AppFuse archetype for creating a
 modular application with Hibernate, Spring and JSF)
 7: internal - appfuse-modular-spring (AppFuse archetype for creating
 a modular application with Hibernate, Spring and Spring MVC)
 8: internal - appfuse-modular-struts (AppFuse archetype for creating
 a modular application with Hibernate, Spring and Struts 2)
 9: internal - appfuse-modular-tapestry (AppFuse archetype for
 creating a modular application with Hibernate, Spring and Tapestry 4)
 10: internal - maven-archetype-j2ee-simple (A simple J2EE Java
 application)
 11: internal - maven-archetype-marmalade-mojo (A Maven plugin
 development project using marmalade)
 12: internal - maven-archetype-mojo (A Maven Java plugin development
 project)
 13: internal - maven-archetype-portlet (A simple portlet application)
 14: internal - maven-archetype-profiles ()
 15: internal - maven-archetype-quickstart ()
 16: internal - maven-archetype-site-simple (A simple site generation
 project)
 17: internal - maven-archetype-site (A more complex site project)
 18: internal - maven-archetype-webapp (A simple Java web application)
 19: internal - struts2-archetype-starter (A starter Struts 2
 application with Sitemesh, DWR, and Spring)
 20: internal - 

Re: Problems installing maven

2008-01-31 Thread Lee Meador
What version of Java is installed? For example, go to where you would type
mvn -version and type java -version

-- Lee

On Jan 31, 2008 8:49 AM, Alexander Petri [EMAIL PROTECTED] wrote:

 Hi,



 if i run mvn from console (i.e. mvn -version)  it gets the same output
 like

 if I call java. Does anyone know what i did wrong?



 The Environmentpaths/Variables should be correct. Im using maven 2.0.8 and
 WinVista



 thx




-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com


Re: Problems with maven-assembly-plugin from Netbeans 5.5...

2007-04-26 Thread Antonio Petrelli

2007/4/25, Arne Styve [EMAIL PROTECTED]:

Hi Antonio
I tried adding version2.2-SNAPSHOT/version to the module plugin, but it
didn't find it.
How should I og about getting the 2.2 version ?


You have to add the snapshot repository to your pom, or to your settings.xml:

/* snip */
   pluginRepositories
   pluginRepository
   idapache.snapshots/id
   urlhttp://people.apache.org/repo/m2-snapshot-repository//url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /pluginRepository
   /pluginRepositories
/* snap */

HTH
Antonio

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



RE: Problems with maven-assembly-plugin from Netbeans 5.5...

2007-04-25 Thread Arne Styve
Hi Antonio 

 
  I'm trying to use the maven-assembly-plugin from within
 Netbeans 5.5
  (with Mavenide installed), but when executing the goal 
  assembly:assembly, I get the following message when using the 
  predefined descriptor
  jar-with-dependencies:
 
  Embedded error: C:\Programfiler\netbeans-5.5\target\classes isn't a 
  directory.
 
  but my project is not placed under the C:\Programfiler\netbeans-5.5 
  -folder.
 
 I think that it is a bug in assembly plugin version 2.1. We had a 
 similar problem with Tiles.
 Try using the 2.2-SNAPSHOT version of the assembly plugin.
 
 Antonio

I tried adding version2.2-SNAPSHOT/version to the module plugin, but it
didn't find it.
How should I og about getting the 2.2 version ?

Regards
Arne 
 



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



Re: Problems with maven-assembly-plugin from Netbeans 5.5...

2007-04-25 Thread Milos Kleint

the possible cause of this error is probably somehow connected with
the embedding of maven in the IDE. the C:/programfiles/netbeans path
is the directory where the IDE's JVM  is started at, so any relative
paths are resolved against it (as compared to command line maven which
you basically invoke from the project directory and thus the rel paths
are correct.

put the ${basedir} variable in the place where you define the path.

Milos

On 4/25/07, Arne Styve [EMAIL PROTECTED] wrote:

Hi Antonio

 
  I'm trying to use the maven-assembly-plugin from within
 Netbeans 5.5
  (with Mavenide installed), but when executing the goal
  assembly:assembly, I get the following message when using the
  predefined descriptor
  jar-with-dependencies:
 
  Embedded error: C:\Programfiler\netbeans-5.5\target\classes isn't a
  directory.
 
  but my project is not placed under the C:\Programfiler\netbeans-5.5
  -folder.

 I think that it is a bug in assembly plugin version 2.1. We had a
 similar problem with Tiles.
 Try using the 2.2-SNAPSHOT version of the assembly plugin.

 Antonio

I tried adding version2.2-SNAPSHOT/version to the module plugin, but it
didn't find it.
How should I og about getting the 2.2 version ?

Regards
Arne




-
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: Problems with Maven, Hibernate and Spring

2007-04-25 Thread Trevor Torrez

You should be referencing the hibernate mappings as
classpath:/path/to/**/*.hbm.xml.  Having a path is imoprtant -- do
not just dump the config files for spring or hibernate in the top
level of src/main/resources; then in the resource location specify at
least one folder in the package structure before using any
wildcards; this is to work around a known issue with the JVM and
wildcard pattern matching.  See the documentation for the pattern
matcher 
(http://static.springframework.org/spring/docs/1.2.x/api/org/springframework/core/io/support/PathMatchingResourcePatternResolver.html).
Note in Spring 2.x you should be using classpath*:/etc/etc, not
just classpath:.

As for leaving the config outside the jar for assemblies, configure
the assembly profile as follows:

Several tricks are used to achieve the result:
* The main resources go to (effectively) target/config
* The main classes still go to target/classes
* The jar plugin is explicitly told to only include the classes
* The surefire plugin is told to skip tests
* The assembly plugin is configured as normal.

The reason that you cannot run tests is because the normal configs (if
your tests rely on them) are no longer in the classapth, and there is
no way I can figure to get maven to add an arbitrary folder to the
classpath (despite the build being told where the resources are :-/ ).
Because this is an abberation, the assembly execution cannot coincide
with the normal development execution.

Anyway, here's the pom:

   profile
 idassembly/id
 build
   resources
 resource
   directorysrc/main/resources/directory
   targetPath../config/targetPath
 /resource
   /resources
   plugins
 plugin
   artifactIdmaven-jar-plugin/artifactId
   executions
 execution
   goals
 goaljar/goal
   /goals
   configuration
 classesDirectorytarget/classes/classesDirectory
   /configuration
 /execution
   /executions
 /plugin
 plugin
   artifactIdmaven-surefire-plugin/artifactId
   configuration
 skiptrue/skip
   /configuration
 /plugin
 plugin
   artifactIdmaven-assembly-plugin/artifactId
   executions
 execution
   phasepackage/phase
   goals
 goalassembly/goal
   /goals
 /execution
   /executions
   configuration
 descriptors
   descriptorsrc/assembly/dos.xml/descriptor
 /descriptors
 outputDirectorytarget/artifacts/outputDirectory
 workDirectorytarget/assembly/work/workDirectory
   /configuration
 /plugin
   /plugins
 /build
   /profile


See the documentation on the maven assembly plugin for how to create assemblies.

-t.

On 4/14/07, Colin Young [EMAIL PROTECTED] wrote:

I'm building a project that uses Spring and Hibernate with Maven. So far
I've been able to get a jar of just my project or a jar of everything
with dependencies (using assembly:assembly). Unfortunately, when I do
the with dependencies build, I'm getting errors from Spring trying to
find the Hibernate mapping files inside the jar. They are in the same
location inside the jar as in the non-dependency jar (and the same as
the manually built jars from the pre-Maven builds). I'm using the
standard Maven directory structure for my project.

Is there something special about the with dependency jars? Is there a
special way I need to specify the classpath? Previously I was able to
just specify the jar as part of the classpath, but that doesn't seem to
be working for the Maven-built jar.

Also, the assembly:assembly build is placing my Spring xml configuration
and properties files inside the jar. I'm having a bit of trouble
figuring out how to configure my pom to achieve that, since the
documentation is a bit sparse. Does someone have an example of how to do
that?

Thanks

Colin



-
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: Problems with maven-assembly-plugin from Netbeans 5.5...

2007-04-24 Thread Antonio Petrelli

2007/4/24, Styve Arne [EMAIL PROTECTED]:

Hi,

I'm trying to use the maven-assembly-plugin from within Netbeans 5.5
(with Mavenide installed), but when executing the goal
assembly:assembly,
I get the following message when using the predefined descriptor
jar-with-dependencies:

Embedded error: C:\Programfiler\netbeans-5.5\target\classes isn't a
directory.

but my project is not placed under the C:\Programfiler\netbeans-5.5
-folder.


I think that it is a bug in assembly plugin version 2.1. We had a
similar problem with Tiles.
Try using the 2.2-SNAPSHOT version of the assembly plugin.

Antonio

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



Re: Problems with Maven example

2007-03-04 Thread Wendy Smoak

On 3/3/07, Pavel Štěpánek [EMAIL PROTECTED] wrote:

Hi, I´m trying Maven and followed the simple guide which is included
in the book Bettter build with Maven and also in the 5 minute
guide. Everything goes fine (donwloading, compiling), but when I try
to package the sample app (mvn package),
or test it, I always get this exception:


Don't re-post the same question under a different subject line.  If
you haven't received a reply in a few days, then it's appropriate to
reply to your own post to bump it up in our inboxes.

Besides the fact that it's a weekend, you haven't given us enough
information to easily help you.  What version of Maven?  What commands
did you execute before you got the error?

I spent quite a bit of time yesterday with Maven 2.0.5 and the
quickstart archetype, and didn't have any problems with Surefire.

Without knowing the details, I would suggest (re) installing Maven
2.0.5 which is the latest release, and deleting everything surefire
related [1] from your local repository (usually ~/.m2/repository/ ) to
force Maven to download it again.

[1] org/apache/maven/surefire
org/apache/maven/plugins/maven-surefire-plugin
org/apache/maven/plugins/maven-surefire-report-plugin

--
Wendy


Re: Problems with Maven example

2007-03-04 Thread Pavel Štěpánek

I´m sorry, I post it twice because I thought that my first mail was
not successful (i was not fully subscribed yet).
Anyway just a few minutes ago I found the solution to my problem.
The problem was, that my windows user name and also the name of my
home directory is containing a space char: name surname. The space
causes problems to maven. Now I tried it under my new user account
name and everything works fine.

I think that Maven should be resistant to these issues (using
quotes?), because the name is valid in windows, so when maven is using
it, it should take in account all the valid possibilities and dir
names.

Pavel Stepanek

On 3/4/07, Wendy Smoak [EMAIL PROTECTED] wrote:

On 3/3/07, Pavel Štěpánek [EMAIL PROTECTED] wrote:
 Hi, I´m trying Maven and followed the simple guide which is included
 in the book Bettter build with Maven and also in the 5 minute
 guide. Everything goes fine (donwloading, compiling), but when I try
 to package the sample app (mvn package),
 or test it, I always get this exception:

Don't re-post the same question under a different subject line.  If
you haven't received a reply in a few days, then it's appropriate to
reply to your own post to bump it up in our inboxes.

Besides the fact that it's a weekend, you haven't given us enough
information to easily help you.  What version of Maven?  What commands
did you execute before you got the error?

I spent quite a bit of time yesterday with Maven 2.0.5 and the
quickstart archetype, and didn't have any problems with Surefire.

Without knowing the details, I would suggest (re) installing Maven
2.0.5 which is the latest release, and deleting everything surefire
related [1] from your local repository (usually ~/.m2/repository/ ) to
force Maven to download it again.

[1] org/apache/maven/surefire
 org/apache/maven/plugins/maven-surefire-plugin
 org/apache/maven/plugins/maven-surefire-report-plugin

--
Wendy




--
Pavel Štěpánek
[EMAIL PROTECTED]


Re: Problems with Maven example

2007-03-04 Thread Wendy Smoak

On 3/4/07, Pavel Štěpánek [EMAIL PROTECTED] wrote:


I think that Maven should be resistant to these issues (using
quotes?), because the name is valid in windows, so when maven is using
it, it should take in account all the valid possibilities and dir
names.


Maven can deal with the spaces in C:\Documents and Settings well
enough, so it should be possible.  I can't say I've ever heard of
someone using spaces in the username, though.

I'm not sure if it's a core Maven issue or a problem with Surefire.
I'd probably start by opening an issue in Surefire, since that is
where it manifests.

http://jira.codehaus.org/browse/SUREFIRE

Thanks for taking the time to let us know how you solved it!

--
Wendy


Re: Problems with Maven example

2007-03-04 Thread Pavel Štěpánek

Well maybe it is because of the name of my home dir. I´m testing maven
on my personal notebok where my account name is my full name. I don´t
think it is extremely weird case :)
The problem could be that my name (in czech language) contains some
national chars. So it is not composed only form standard ASCII chars.
But Windows can deal with it and I haven´t such a problem before.In
the same home directory I have also files specific to GIMP or Netbeans
IDE and I have no known problems with these apps.

I have written my solution already in my previous post:

When I created new account without any czech characters and spaces
everything works fine. I believe that the national chars are
problematic rather, than the space chars. I know that on serious
project I would not have these problems, because there would be
standard english directory names :)






On 3/4/07, Wendy Smoak [EMAIL PROTECTED] wrote:

On 3/4/07, Pavel Štěpánek [EMAIL PROTECTED] wrote:

 I think that Maven should be resistant to these issues (using
 quotes?), because the name is valid in windows, so when maven is using
 it, it should take in account all the valid possibilities and dir
 names.

Maven can deal with the spaces in C:\Documents and Settings well
enough, so it should be possible.  I can't say I've ever heard of
someone using spaces in the username, though.

I'm not sure if it's a core Maven issue or a problem with Surefire.
I'd probably start by opening an issue in Surefire, since that is
where it manifests.

http://jira.codehaus.org/browse/SUREFIRE

Thanks for taking the time to let us know how you solved it!

--
Wendy




--
Pavel Štěpánek
[EMAIL PROTECTED]


Re: Problems with maven

2007-02-27 Thread Edney Imme

Hallo,

The autentication server is ISA Server.

This can be a problem???

Or not???

Thank

On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Hi Edney,

The only other thing that I can think of is that you need to supply a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure it in
your
settings.xml..

Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):

settings
  .
  .
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameproxyuser/username
  passwordsomepassword/password
  nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
/proxy
  /proxies
  .
  .
/settings




Cheers
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello Jo,.

 myproxyserver and proxy_port definitely are really not
 the correct settings:)

 I change this value. In the correct file I put  the information from IE
/;
 Firefox.

 I can surf in internet with my browser.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Edney..
 
  Is this an exact copy of your settings.xml?
  Did you fill in the correct proxy host and proxy port for your
network?
  I can assure you that myproxyserver and proxy_port definitely are
 not
  the correct settings ;)
 
  Are you able to surf the internet at all via Internet Explorer or
 Firefox?
  If so, have a look at the settings of your browser, copy the proxy
 server
  settings and paste them in the corresponding fields of your
settings.xml
 
  Good luck
  Jo
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Ok.
  
   I need to do this configuration in settings.xml file? I do that.
  
   Here is my setting.xml file
  
   ?xml version=1.0 encoding=UTF-8?
   settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy
   /proxies
   localRepositoryC:\Documents and
   Settings\myuser\.m2\repository/localRepository
   offlinefalse/offline
   servers
   server
   idtomcat_server/id
   usernametomcatUser/username
   passwordtomcatPassword/password
   /server
   /servers
   profiles
 profile
   idDefault/id
   pluginRepositories
 pluginRepository
   idAndroMDA/id
   urlhttp://team.andromda.org/maven2/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
 pluginRepository
   idCentral/id
   urlhttp://repo1.maven.org/maven2/url
 /pluginRepository
 pluginRepository
   idIBiblio/id
   urlhttp://www.ibiblio.org/maven2/url
 /pluginRepository
 pluginRepository
   idcodehaus snapshot repository/id
   urlhttp://snapshots.repository.codehaus.org/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
   /pluginRepositories
   repositories
   repository
releases
/releases
snapshots
  enabledfalse/enabled
/snapshots
idmyfaces.staging/id
nameMyFaces Staging Repository/name
url
 http://myfaces.zones.apache.org/dist/maven-repository
   /url
   /repository
   repository
idandroMda/id
nameAndroMda Repository/name
urlhttp://andromda.org/maven2/url
releases
/releases
snapshots
  enabledfalse/enabled
/snapshots
   /repository
   /repositories
 /profile
   /profiles
   activeProfiles
   activeProfileDefault/activeProfile
   /activeProfiles
   /settings
  
   But, here, my access is restricted to internet from DOS
  
   I need a Windows application oder a plugin to eclipse, who i can do
 the
   download without command line interface
  
  
   thank.
   Edney
  
   On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
   
You need to get the proxy settings from IE, then you need to set
 Maven
   to
use that same proxy server just like IE does.
   
   
   
   
   
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 thank Jo

 But, here, in my company , the network guy can´t change this
 configuration.

 Politics from this company.

 I can access web from MS-DOS.

 I need a pluggin to do that in eclipse.

 Sorry

 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Hi there,
 
  1. You've got network issues.. Contact your 

RE: Problems with maven

2007-02-27 Thread Brendon Matheson
Is your proxy server a Microsoft proxy using NTLM?  For example Microsoft
ISA server?  If this was the case then what your network guy told you might
make sense, because it wants you to supply it with Windows credentials
before it will let you pass.

If this does turn out to be the case, then you run something like ntlmaps on
your local workstation.  It supplies the NTLM credentials to the Microsoft
ISA server, and exposes a standard HTTP proxy on a local port.  A proxy for
the proxy if you like...

-Original Message-
From: Edney Imme [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 9:21 PM
To: Maven Users List
Subject: Re: Problems with maven


Hallo,

The autentication server is ISA Server.

This can be a problem???

Or not???

Thank

On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi Edney,

 The only other thing that I can think of is that you need to supply a
 username/password for your proxy.
 Does your proxy server need authentication? If it does, configure it in
 your
 settings.xml..

 Here's a snippet (which can also be found here:
 http://maven.apache.org/guides/mini/guide-proxies.html):

 settings
   .
   .
   proxies
proxy
   activetrue/active
   protocolhttp/protocol
   hostproxy.somewhere.com/host
   port8080/port
   usernameproxyuser/username
   passwordsomepassword/password
   nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
 /proxy
   /proxies
   .
   .
 /settings




 Cheers
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello Jo,.
 
  myproxyserver and proxy_port definitely are really not
  the correct settings:)
 
  I change this value. In the correct file I put  the information from IE
 /;
  Firefox.
 
  I can surf in internet with my browser.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Edney..
  
   Is this an exact copy of your settings.xml?
   Did you fill in the correct proxy host and proxy port for your
 network?
   I can assure you that myproxyserver and proxy_port definitely are
  not
   the correct settings ;)
  
   Are you able to surf the internet at all via Internet Explorer or
  Firefox?
   If so, have a look at the settings of your browser, copy the proxy
  server
   settings and paste them in the corresponding fields of your
 settings.xml
  
   Good luck
   Jo
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Ok.
   
I need to do this configuration in settings.xml file? I do that.
   
Here is my setting.xml file
   
?xml version=1.0 encoding=UTF-8?
settings
proxies
proxy
activetrue/active
protocolhttp/protocol
hostmyproxyserver/host
portproxy_port/port
/proxy
/proxies
localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
offlinefalse/offline
servers
server
idtomcat_server/id
usernametomcatUser/username
passwordtomcatPassword/password
/server
/servers
profiles
  profile
idDefault/id
pluginRepositories
  pluginRepository
idAndroMDA/id
urlhttp://team.andromda.org/maven2/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
  pluginRepository
idCentral/id
urlhttp://repo1.maven.org/maven2/url
  /pluginRepository
  pluginRepository
idIBiblio/id
urlhttp://www.ibiblio.org/maven2/url
  /pluginRepository
  pluginRepository
idcodehaus snapshot repository/id
urlhttp://snapshots.repository.codehaus.org/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
/pluginRepositories
repositories
repository
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
 idmyfaces.staging/id
 nameMyFaces Staging Repository/name
 url
  http://myfaces.zones.apache.org/dist/maven-repository
/url
/repository
repository
 idandroMda/id
 nameAndroMda Repository/name
 urlhttp://andromda.org/maven2/url
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
/repository
/repositories
  /profile
/profiles
activeProfiles
activeProfileDefault/activeProfile
/activeProfiles
/settings
   
But, here, my access is restricted to internet

RE: Problems with maven

2007-02-27 Thread Brendon Matheson
Oh man, I just missed this.  ISA is a nasty proxy server.  You can get
around it by proxying the proxy server with something like NTLMaps.  I use
this at my place of work to run PuTTY and other tools through the proxy that
would otherwise be blocked.

NTLMaps is pretty easy to get going.  It runs on Perl, and has a pretty
simple configuration.  I believe there are other similar packages available,
but I only know ntlmaps myself.

Regards,
brnzn.


-Original Message-
From: Edney Imme [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 9:21 PM
To: Maven Users List
Subject: Re: Problems with maven


Hallo,

The autentication server is ISA Server.

This can be a problem???

Or not???

Thank

On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi Edney,

 The only other thing that I can think of is that you need to supply a
 username/password for your proxy.
 Does your proxy server need authentication? If it does, configure it in
 your
 settings.xml..

 Here's a snippet (which can also be found here:
 http://maven.apache.org/guides/mini/guide-proxies.html):

 settings
   .
   .
   proxies
proxy
   activetrue/active
   protocolhttp/protocol
   hostproxy.somewhere.com/host
   port8080/port
   usernameproxyuser/username
   passwordsomepassword/password
   nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
 /proxy
   /proxies
   .
   .
 /settings




 Cheers
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello Jo,.
 
  myproxyserver and proxy_port definitely are really not
  the correct settings:)
 
  I change this value. In the correct file I put  the information from IE
 /;
  Firefox.
 
  I can surf in internet with my browser.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Edney..
  
   Is this an exact copy of your settings.xml?
   Did you fill in the correct proxy host and proxy port for your
 network?
   I can assure you that myproxyserver and proxy_port definitely are
  not
   the correct settings ;)
  
   Are you able to surf the internet at all via Internet Explorer or
  Firefox?
   If so, have a look at the settings of your browser, copy the proxy
  server
   settings and paste them in the corresponding fields of your
 settings.xml
  
   Good luck
   Jo
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Ok.
   
I need to do this configuration in settings.xml file? I do that.
   
Here is my setting.xml file
   
?xml version=1.0 encoding=UTF-8?
settings
proxies
proxy
activetrue/active
protocolhttp/protocol
hostmyproxyserver/host
portproxy_port/port
/proxy
/proxies
localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
offlinefalse/offline
servers
server
idtomcat_server/id
usernametomcatUser/username
passwordtomcatPassword/password
/server
/servers
profiles
  profile
idDefault/id
pluginRepositories
  pluginRepository
idAndroMDA/id
urlhttp://team.andromda.org/maven2/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
  pluginRepository
idCentral/id
urlhttp://repo1.maven.org/maven2/url
  /pluginRepository
  pluginRepository
idIBiblio/id
urlhttp://www.ibiblio.org/maven2/url
  /pluginRepository
  pluginRepository
idcodehaus snapshot repository/id
urlhttp://snapshots.repository.codehaus.org/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
/pluginRepositories
repositories
repository
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
 idmyfaces.staging/id
 nameMyFaces Staging Repository/name
 url
  http://myfaces.zones.apache.org/dist/maven-repository
/url
/repository
repository
 idandroMda/id
 nameAndroMda Repository/name
 urlhttp://andromda.org/maven2/url
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
/repository
/repositories
  /profile
/profiles
activeProfiles
activeProfileDefault/activeProfile
/activeProfiles
/settings
   
But, here, my access is restricted to internet from DOS
   
I need a Windows application oder

RE: Problems with maven

2007-02-27 Thread Manos Batsis
Quoting Brendon Matheson [EMAIL PROTECTED]:
 Oh man, I just missed this.  ISA is a nasty proxy server.

+1. I was working for an M$ shop years ago and the darn thing only
allowed IE to get out. Plain evil :-)

Manos

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



Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi there,

1. You've got network issues.. Contact your network guy for the correct
proxy settings.
So, get your network and proxy settings up and running and you should be
good to go..

2. Installing an external jar into your repository - like most things in
maven - can only be done via the command line interface..
Why would you even want anything else, isn't it ? ;)

Good luck
Jo


On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hi everybody,

I need help.

I have the follow problem with Maven.

I execute this command.

mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar
http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar

And I get this error message


C:\mvn install:install-file -DgroupId=org.apache.
myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
1.1.4-SNAPSHOT-Dpackag
ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

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

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

[INFO] Total time: 22 seconds
[INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
[INFO] Final Memory: 1M/2M
[INFO]


I´m behind a proxy server.

I do the proxy configuration in the setting.xml file.

When I do a PING  in a url in MS_DOS i get the follow error message.


www.apache.org with 32 bytes

reply the 10.248.0.38: No host available.
reply the 10.248.0.38: No host available.
reply the 10.248.0.38: No host available.

I have now another question.

I can do this command  only in a msdos prompt mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
-Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar

Or exist oder way to do that??

I work here with eclipse.


Can please, anyone help me...

thank you
--
Att.
Edney Marcel Imme



Re: Problems with maven

2007-02-26 Thread Edney Imme

thank Jo

But, here, in my company , the network guy can´t change this configuration.

Politics from this company.

I can access web from MS-DOS.

I need a pluggin to do that in eclipse.

Sorry

On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Hi there,

1. You've got network issues.. Contact your network guy for the correct
proxy settings.
So, get your network and proxy settings up and running and you should be
good to go..

2. Installing an external jar into your repository - like most things in
maven - can only be done via the command line interface..
Why would you even want anything else, isn't it ? ;)

Good luck
Jo


On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hi everybody,

 I need help.

 I have the follow problem with Maven.

 I execute this command.

 mvn install:install-file
 -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
 -Dversion=
 1.1.4-SNAPSHOT -Dpackaging=jar
 http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
 sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar

 And I get this error message


 C:\mvn install:install-file -DgroupId=org.apache.
 myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
 1.1.4-SNAPSHOT-Dpackag
 ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'install'.
 [INFO] org.apache.maven.plugins: checking for updates from central
 [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be
 retri
 eved from repository: central due to an error: Error transferring file
 [INFO] Repository 'central' will be blacklisted
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does
not
 exist
 or no valid version could be found
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 22 seconds
 [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
 [INFO] Final Memory: 1M/2M
 [INFO]
 

 I´m behind a proxy server.

 I do the proxy configuration in the setting.xml file.

 When I do a PING  in a url in MS_DOS i get the follow error message.


 www.apache.org with 32 bytes

 reply the 10.248.0.38: No host available.
 reply the 10.248.0.38: No host available.
 reply the 10.248.0.38: No host available.

 I have now another question.

 I can do this command  only in a msdos prompt mvn install:install-file
 -DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
 -Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
 http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
 sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar

 Or exist oder way to do that??

 I work here with eclipse.


 Can please, anyone help me...

 thank you
 --
 Att.
 Edney Marcel Imme






--
Att.
Edney Marcel Imme


Re: Problems with maven

2007-02-26 Thread Mick Knutson

You need to get the proxy settings from IE, then you need to set Maven to
use that same proxy server just like IE does.






On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


thank Jo

But, here, in my company , the network guy can´t change this
configuration.

Politics from this company.

I can access web from MS-DOS.

I need a pluggin to do that in eclipse.

Sorry

On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi there,

 1. You've got network issues.. Contact your network guy for the correct
 proxy settings.
 So, get your network and proxy settings up and running and you should be
 good to go..

 2. Installing an external jar into your repository - like most things in
 maven - can only be done via the command line interface..
 Why would you even want anything else, isn't it ? ;)

 Good luck
 Jo


 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hi everybody,
 
  I need help.
 
  I have the follow problem with Maven.
 
  I execute this command.
 
  mvn install:install-file
  -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
  -Dversion=
  1.1.4-SNAPSHOT -Dpackaging=jar
  http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
  sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar
 
  And I get this error message
 
 
  C:\mvn install:install-file -DgroupId=org.apache.
  myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
  1.1.4-SNAPSHOT-Dpackag
  ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'install'.
  [INFO] org.apache.maven.plugins: checking for updates from central
  [WARNING] repository metadata for: 'org.apache.maven.plugins' could
not
 be
  retri
  eved from repository: central due to an error: Error transferring file
  [INFO] Repository 'central' will be blacklisted
  [INFO]
 

  [ERROR] BUILD ERROR
  [INFO]
 

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

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

  [INFO] Total time: 22 seconds
  [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
  [INFO] Final Memory: 1M/2M
  [INFO]
 

 
  I´m behind a proxy server.
 
  I do the proxy configuration in the setting.xml file.
 
  When I do a PING  in a url in MS_DOS i get the follow error message.
 
 
  www.apache.org with 32 bytes
 
  reply the 10.248.0.38: No host available.
  reply the 10.248.0.38: No host available.
  reply the 10.248.0.38: No host available.
 
  I have now another question.
 
  I can do this command  only in a msdos prompt mvn
install:install-file
  -DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
  -Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
  http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
  sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar
 
  Or exist oder way to do that??
 
  I work here with eclipse.
 
 
  Can please, anyone help me...
 
  thank you
  --
  Att.
  Edney Marcel Imme
 




--
Att.
Edney Marcel Imme





--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com
---


Re: Problems with maven

2007-02-26 Thread Edney Imme

Ok.

I need to do this configuration in settings.xml file? I do that.

Here is my setting.xml file

?xml version=1.0 encoding=UTF-8?
settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy
   /proxies
   localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
   offlinefalse/offline
   servers
   server
   idtomcat_server/id
   usernametomcatUser/username
   passwordtomcatPassword/password
   /server
/servers
   profiles
 profile
   idDefault/id
   pluginRepositories
 pluginRepository
   idAndroMDA/id
   urlhttp://team.andromda.org/maven2/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
 pluginRepository
   idCentral/id
   urlhttp://repo1.maven.org/maven2/url
 /pluginRepository
 pluginRepository
   idIBiblio/id
   urlhttp://www.ibiblio.org/maven2/url
 /pluginRepository
 pluginRepository
   idcodehaus snapshot repository/id
   urlhttp://snapshots.repository.codehaus.org/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
   /pluginRepositories
   repositories
   repository
releases
/releases
snapshots
  enabledfalse/enabled
/snapshots
idmyfaces.staging/id
nameMyFaces Staging Repository/name
urlhttp://myfaces.zones.apache.org/dist/maven-repository
/url
   /repository
   repository
idandroMda/id
nameAndroMda Repository/name
urlhttp://andromda.org/maven2/url
releases
/releases
snapshots
  enabledfalse/enabled
/snapshots
   /repository
   /repositories
 /profile
   /profiles
   activeProfiles
   activeProfileDefault/activeProfile
   /activeProfiles
/settings

But, here, my access is restricted to internet from DOS

I need a Windows application oder a plugin to eclipse, who i can do the
download without command line interface


thank.
Edney

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


You need to get the proxy settings from IE, then you need to set Maven to
use that same proxy server just like IE does.






On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 thank Jo

 But, here, in my company , the network guy can´t change this
 configuration.

 Politics from this company.

 I can access web from MS-DOS.

 I need a pluggin to do that in eclipse.

 Sorry

 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Hi there,
 
  1. You've got network issues.. Contact your network guy for the
correct
  proxy settings.
  So, get your network and proxy settings up and running and you should
be
  good to go..
 
  2. Installing an external jar into your repository - like most things
in
  maven - can only be done via the command line interface..
  Why would you even want anything else, isn't it ? ;)
 
  Good luck
  Jo
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hi everybody,
  
   I need help.
  
   I have the follow problem with Maven.
  
   I execute this command.
  
   mvn install:install-file
   -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
   -Dversion=
   1.1.4-SNAPSHOT -Dpackaging=jar
   http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
   sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar
  
   And I get this error message
  
  
   C:\mvn install:install-file -DgroupId=org.apache.
   myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
   1.1.4-SNAPSHOT-Dpackag
   ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'install'.
   [INFO] org.apache.maven.plugins: checking for updates from central
   [WARNING] repository metadata for: 'org.apache.maven.plugins' could
 not
  be
   retri
   eved from repository: central due to an error: Error transferring
file
   [INFO] Repository 'central' will be blacklisted
   [INFO]
  
 
   [ERROR] BUILD ERROR
   [INFO]
  
 
   [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin'
does
  not
   exist
   or no valid version could be found
   [INFO]
  
 
   [INFO] For more information, run Maven with the -e switch
   [INFO]
  
 
   [INFO] Total time: 22 seconds
   [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
   [INFO] Final Memory: 1M/2M
   [INFO]
  
 

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Edney..

Is this an exact copy of your settings.xml?
Did you fill in the correct proxy host and proxy port for your network?
I can assure you that myproxyserver and proxy_port definitely are not
the correct settings ;)

Are you able to surf the internet at all via Internet Explorer or Firefox?
If so, have a look at the settings of your browser, copy the proxy server
settings and paste them in the corresponding fields of your settings.xml

Good luck
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Ok.

I need to do this configuration in settings.xml file? I do that.

Here is my setting.xml file

?xml version=1.0 encoding=UTF-8?
settings
proxies
proxy
activetrue/active
protocolhttp/protocol
hostmyproxyserver/host
portproxy_port/port
/proxy
/proxies
localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
offlinefalse/offline
servers
server
idtomcat_server/id
usernametomcatUser/username
passwordtomcatPassword/password
/server
/servers
profiles
  profile
idDefault/id
pluginRepositories
  pluginRepository
idAndroMDA/id
urlhttp://team.andromda.org/maven2/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
  pluginRepository
idCentral/id
urlhttp://repo1.maven.org/maven2/url
  /pluginRepository
  pluginRepository
idIBiblio/id
urlhttp://www.ibiblio.org/maven2/url
  /pluginRepository
  pluginRepository
idcodehaus snapshot repository/id
urlhttp://snapshots.repository.codehaus.org/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
/pluginRepositories
repositories
repository
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
 idmyfaces.staging/id
 nameMyFaces Staging Repository/name
 urlhttp://myfaces.zones.apache.org/dist/maven-repository
/url
/repository
repository
 idandroMda/id
 nameAndroMda Repository/name
 urlhttp://andromda.org/maven2/url
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
/repository
/repositories
  /profile
/profiles
activeProfiles
activeProfileDefault/activeProfile
/activeProfiles
/settings

But, here, my access is restricted to internet from DOS

I need a Windows application oder a plugin to eclipse, who i can do the
download without command line interface


thank.
Edney

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 You need to get the proxy settings from IE, then you need to set Maven
to
 use that same proxy server just like IE does.






 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  thank Jo
 
  But, here, in my company , the network guy can´t change this
  configuration.
 
  Politics from this company.
 
  I can access web from MS-DOS.
 
  I need a pluggin to do that in eclipse.
 
  Sorry
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Hi there,
  
   1. You've got network issues.. Contact your network guy for the
 correct
   proxy settings.
   So, get your network and proxy settings up and running and you
should
 be
   good to go..
  
   2. Installing an external jar into your repository - like most
things
 in
   maven - can only be done via the command line interface..
   Why would you even want anything else, isn't it ? ;)
  
   Good luck
   Jo
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hi everybody,
   
I need help.
   
I have the follow problem with Maven.
   
I execute this command.
   
mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar
http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar
   
And I get this error message
   
   
C:\mvn install:install-file -DgroupId=org.apache.
myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
1.1.4-SNAPSHOT-Dpackag
ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins'
could
  not
   be
retri
eved from repository: central due to an error: Error transferring
 file
[INFO] Repository 'central' will be blacklisted
[INFO]
   
 

Re: Problems with maven

2007-02-26 Thread Mick Knutson

If you can get internet acces via DOS, that is command line.

You should be able to add this to your settings.xml and add the server and
port:

  proxy
  activetrue/active
  protocolhttp/protocol
  hostmyproxyserver/host
  portproxy_port/port
  /proxy




On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Ok.

I need to do this configuration in settings.xml file? I do that.

Here is my setting.xml file

?xml version=1.0 encoding=UTF-8?
settings
proxies
proxy
activetrue/active
protocolhttp/protocol
hostmyproxyserver/host
portproxy_port/port
/proxy
/proxies
localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
offlinefalse/offline
servers
server
idtomcat_server/id
usernametomcatUser/username
passwordtomcatPassword/password
/server
/servers
profiles
  profile
idDefault/id
pluginRepositories
  pluginRepository
idAndroMDA/id
urlhttp://team.andromda.org/maven2/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
  pluginRepository
idCentral/id
urlhttp://repo1.maven.org/maven2/url
  /pluginRepository
  pluginRepository
idIBiblio/id
urlhttp://www.ibiblio.org/maven2/url
  /pluginRepository
  pluginRepository
idcodehaus snapshot repository/id
urlhttp://snapshots.repository.codehaus.org/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
/pluginRepositories
repositories
repository
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
 idmyfaces.staging/id
 nameMyFaces Staging Repository/name
 urlhttp://myfaces.zones.apache.org/dist/maven-repository
/url
/repository
repository
 idandroMda/id
 nameAndroMda Repository/name
 urlhttp://andromda.org/maven2/url
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
/repository
/repositories
  /profile
/profiles
activeProfiles
activeProfileDefault/activeProfile
/activeProfiles
/settings

But, here, my access is restricted to internet from DOS

I need a Windows application oder a plugin to eclipse, who i can do the
download without command line interface


thank.
Edney

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 You need to get the proxy settings from IE, then you need to set Maven
to
 use that same proxy server just like IE does.






 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  thank Jo
 
  But, here, in my company , the network guy can´t change this
  configuration.
 
  Politics from this company.
 
  I can access web from MS-DOS.
 
  I need a pluggin to do that in eclipse.
 
  Sorry
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Hi there,
  
   1. You've got network issues.. Contact your network guy for the
 correct
   proxy settings.
   So, get your network and proxy settings up and running and you
should
 be
   good to go..
  
   2. Installing an external jar into your repository - like most
things
 in
   maven - can only be done via the command line interface..
   Why would you even want anything else, isn't it ? ;)
  
   Good luck
   Jo
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hi everybody,
   
I need help.
   
I have the follow problem with Maven.
   
I execute this command.
   
mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar
http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar
   
And I get this error message
   
   
C:\mvn install:install-file -DgroupId=org.apache.
myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
1.1.4-SNAPSHOT-Dpackag
ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins'
could
  not
   be
retri
eved from repository: central due to an error: Error transferring
 file
[INFO] Repository 'central' will be blacklisted
[INFO]
   
 

[ERROR] BUILD ERROR
[INFO]
   
 

[INFO] The plugin 

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hello Jo,.

myproxyserver and proxy_port definitely are really not
the correct settings:)

I change this value. In the correct file I put  the information from IE /;
Firefox.

I can surf in internet with my browser.




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Edney..

Is this an exact copy of your settings.xml?
Did you fill in the correct proxy host and proxy port for your network?
I can assure you that myproxyserver and proxy_port definitely are not
the correct settings ;)

Are you able to surf the internet at all via Internet Explorer or Firefox?
If so, have a look at the settings of your browser, copy the proxy server
settings and paste them in the corresponding fields of your settings.xml

Good luck
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Ok.

 I need to do this configuration in settings.xml file? I do that.

 Here is my setting.xml file

 ?xml version=1.0 encoding=UTF-8?
 settings
 proxies
 proxy
 activetrue/active
 protocolhttp/protocol
 hostmyproxyserver/host
 portproxy_port/port
 /proxy
 /proxies
 localRepositoryC:\Documents and
 Settings\myuser\.m2\repository/localRepository
 offlinefalse/offline
 servers
 server
 idtomcat_server/id
 usernametomcatUser/username
 passwordtomcatPassword/password
 /server
 /servers
 profiles
   profile
 idDefault/id
 pluginRepositories
   pluginRepository
 idAndroMDA/id
 urlhttp://team.andromda.org/maven2/url
  releases
  /releases
  snapshots
  /snapshots
   /pluginRepository
   pluginRepository
 idCentral/id
 urlhttp://repo1.maven.org/maven2/url
   /pluginRepository
   pluginRepository
 idIBiblio/id
 urlhttp://www.ibiblio.org/maven2/url
   /pluginRepository
   pluginRepository
 idcodehaus snapshot repository/id
 urlhttp://snapshots.repository.codehaus.org/url
  releases
  /releases
  snapshots
  /snapshots
   /pluginRepository
 /pluginRepositories
 repositories
 repository
  releases
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
  idmyfaces.staging/id
  nameMyFaces Staging Repository/name
  urlhttp://myfaces.zones.apache.org/dist/maven-repository
 /url
 /repository
 repository
  idandroMda/id
  nameAndroMda Repository/name
  urlhttp://andromda.org/maven2/url
  releases
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
 /repository
 /repositories
   /profile
 /profiles
 activeProfiles
 activeProfileDefault/activeProfile
 /activeProfiles
 /settings

 But, here, my access is restricted to internet from DOS

 I need a Windows application oder a plugin to eclipse, who i can do the
 download without command line interface


 thank.
 Edney

 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  You need to get the proxy settings from IE, then you need to set Maven
 to
  use that same proxy server just like IE does.
 
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   thank Jo
  
   But, here, in my company , the network guy can´t change this
   configuration.
  
   Politics from this company.
  
   I can access web from MS-DOS.
  
   I need a pluggin to do that in eclipse.
  
   Sorry
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
   
Hi there,
   
1. You've got network issues.. Contact your network guy for the
  correct
proxy settings.
So, get your network and proxy settings up and running and you
 should
  be
good to go..
   
2. Installing an external jar into your repository - like most
 things
  in
maven - can only be done via the command line interface..
Why would you even want anything else, isn't it ? ;)
   
Good luck
Jo
   
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hi everybody,

 I need help.

 I have the follow problem with Maven.

 I execute this command.

 mvn install:install-file
 -DgroupId=
org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
 -Dversion=
 1.1.4-SNAPSHOT -Dpackaging=jar
 http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
 sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar

 And I get this error message


 C:\mvn install:install-file -DgroupId=org.apache.
 myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
 1.1.4-SNAPSHOT-Dpackag
 ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
 [INFO] Scanning for 

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hi,
I already do that.
I only change this value when i send this to the list.

thank.

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


If you can get internet acces via DOS, that is command line.

You should be able to add this to your settings.xml and add the server and
port:

   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy




On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Ok.

 I need to do this configuration in settings.xml file? I do that.

 Here is my setting.xml file

 ?xml version=1.0 encoding=UTF-8?
 settings
 proxies
 proxy
 activetrue/active
 protocolhttp/protocol
 hostmyproxyserver/host
 portproxy_port/port
 /proxy
 /proxies
 localRepositoryC:\Documents and
 Settings\myuser\.m2\repository/localRepository
 offlinefalse/offline
 servers
 server
 idtomcat_server/id
 usernametomcatUser/username
 passwordtomcatPassword/password
 /server
 /servers
 profiles
   profile
 idDefault/id
 pluginRepositories
   pluginRepository
 idAndroMDA/id
 urlhttp://team.andromda.org/maven2/url
  releases
  /releases
  snapshots
  /snapshots
   /pluginRepository
   pluginRepository
 idCentral/id
 urlhttp://repo1.maven.org/maven2/url
   /pluginRepository
   pluginRepository
 idIBiblio/id
 urlhttp://www.ibiblio.org/maven2/url
   /pluginRepository
   pluginRepository
 idcodehaus snapshot repository/id
 urlhttp://snapshots.repository.codehaus.org/url
  releases
  /releases
  snapshots
  /snapshots
   /pluginRepository
 /pluginRepositories
 repositories
 repository
  releases
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
  idmyfaces.staging/id
  nameMyFaces Staging Repository/name
  urlhttp://myfaces.zones.apache.org/dist/maven-repository
 /url
 /repository
 repository
  idandroMda/id
  nameAndroMda Repository/name
  urlhttp://andromda.org/maven2/url
  releases
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
 /repository
 /repositories
   /profile
 /profiles
 activeProfiles
 activeProfileDefault/activeProfile
 /activeProfiles
 /settings

 But, here, my access is restricted to internet from DOS

 I need a Windows application oder a plugin to eclipse, who i can do the
 download without command line interface


 thank.
 Edney

 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  You need to get the proxy settings from IE, then you need to set Maven
 to
  use that same proxy server just like IE does.
 
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   thank Jo
  
   But, here, in my company , the network guy can´t change this
   configuration.
  
   Politics from this company.
  
   I can access web from MS-DOS.
  
   I need a pluggin to do that in eclipse.
  
   Sorry
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
   
Hi there,
   
1. You've got network issues.. Contact your network guy for the
  correct
proxy settings.
So, get your network and proxy settings up and running and you
 should
  be
good to go..
   
2. Installing an external jar into your repository - like most
 things
  in
maven - can only be done via the command line interface..
Why would you even want anything else, isn't it ? ;)
   
Good luck
Jo
   
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hi everybody,

 I need help.

 I have the follow problem with Maven.

 I execute this command.

 mvn install:install-file
 -DgroupId=
org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
 -Dversion=
 1.1.4-SNAPSHOT -Dpackaging=jar
 http://www.javafree.org/wiki/jar-Dfile=c:/tmp/tomahawk-
 sandbox-1.1.4-SNAPSHOT.jar http://www.javafree.org/wiki/jar

 And I get this error message


 C:\mvn install:install-file -DgroupId=org.apache.
 myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
 1.1.4-SNAPSHOT-Dpackag
 ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'install'.
 [INFO] org.apache.maven.plugins: checking for updates from
central
 [WARNING] repository metadata for: 'org.apache.maven.plugins'
 could
   not
be
 retri
 eved from repository: central due to an 

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi Edney,

The only other thing that I can think of is that you need to supply a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure it in your
settings.xml..

Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):

settings
 .
 .
 proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy.somewhere.com/host
 port8080/port
 usernameproxyuser/username
 passwordsomepassword/password
 nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
   /proxy
 /proxies
 .
 .
/settings




Cheers
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hello Jo,.

myproxyserver and proxy_port definitely are really not
the correct settings:)

I change this value. In the correct file I put  the information from IE /;
Firefox.

I can surf in internet with my browser.




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Edney..

 Is this an exact copy of your settings.xml?
 Did you fill in the correct proxy host and proxy port for your network?
 I can assure you that myproxyserver and proxy_port definitely are
not
 the correct settings ;)

 Are you able to surf the internet at all via Internet Explorer or
Firefox?
 If so, have a look at the settings of your browser, copy the proxy
server
 settings and paste them in the corresponding fields of your settings.xml

 Good luck
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Ok.
 
  I need to do this configuration in settings.xml file? I do that.
 
  Here is my setting.xml file
 
  ?xml version=1.0 encoding=UTF-8?
  settings
  proxies
  proxy
  activetrue/active
  protocolhttp/protocol
  hostmyproxyserver/host
  portproxy_port/port
  /proxy
  /proxies
  localRepositoryC:\Documents and
  Settings\myuser\.m2\repository/localRepository
  offlinefalse/offline
  servers
  server
  idtomcat_server/id
  usernametomcatUser/username
  passwordtomcatPassword/password
  /server
  /servers
  profiles
profile
  idDefault/id
  pluginRepositories
pluginRepository
  idAndroMDA/id
  urlhttp://team.andromda.org/maven2/url
   releases
   /releases
   snapshots
   /snapshots
/pluginRepository
pluginRepository
  idCentral/id
  urlhttp://repo1.maven.org/maven2/url
/pluginRepository
pluginRepository
  idIBiblio/id
  urlhttp://www.ibiblio.org/maven2/url
/pluginRepository
pluginRepository
  idcodehaus snapshot repository/id
  urlhttp://snapshots.repository.codehaus.org/url
   releases
   /releases
   snapshots
   /snapshots
/pluginRepository
  /pluginRepositories
  repositories
  repository
   releases
   /releases
   snapshots
 enabledfalse/enabled
   /snapshots
   idmyfaces.staging/id
   nameMyFaces Staging Repository/name
   url
http://myfaces.zones.apache.org/dist/maven-repository
  /url
  /repository
  repository
   idandroMda/id
   nameAndroMda Repository/name
   urlhttp://andromda.org/maven2/url
   releases
   /releases
   snapshots
 enabledfalse/enabled
   /snapshots
  /repository
  /repositories
/profile
  /profiles
  activeProfiles
  activeProfileDefault/activeProfile
  /activeProfiles
  /settings
 
  But, here, my access is restricted to internet from DOS
 
  I need a Windows application oder a plugin to eclipse, who i can do
the
  download without command line interface
 
 
  thank.
  Edney
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   You need to get the proxy settings from IE, then you need to set
Maven
  to
   use that same proxy server just like IE does.
  
  
  
  
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
thank Jo
   
But, here, in my company , the network guy can´t change this
configuration.
   
Politics from this company.
   
I can access web from MS-DOS.
   
I need a pluggin to do that in eclipse.
   
Sorry
   
On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi there,

 1. You've got network issues.. Contact your network guy for the
   correct
 proxy settings.
 So, get your network and proxy settings up and running and you
  should
   be
 good to go..

 2. Installing an external jar into your repository - like most
  things
   in
 maven - can only be done via the command line interface..
 Why would you 

Re: Problems with maven

2007-02-26 Thread Mick Knutson

if you use the entire server, port, and suername/password

What do you get for an error?




On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hello

I do that.

and dosn´t work.



On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 That does not make sense what the network guy is saying. We are only
 talking
 about an http connection here. DOS or Java or IE. It is still an http
 connection.

 I think you just need to get the proxy server, port NUMBER, then your
user
 name and password for the proxy.

 Did you try that?

   proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameLAN ID (Username)/username
  passwordLAN Password/password
  nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
/proxy
 /proxies





 The difference is sometime you do not need the username and password for
 the
 Proxy. Or at least where I am at now.







 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I talk now with the guy from network , and he said that the internet
  access
  with dos is not allowed.
 
  Then, I need to do this with windows.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Hi Edney,
  
   The only other thing that I can think of is that you need to supply
a
   username/password for your proxy.
   Does your proxy server need authentication? If it does, configure it
 in
   your
   settings.xml..
  
   Here's a snippet (which can also be found here:
   http://maven.apache.org/guides/mini/guide-proxies.html):
  
   settings
 .
 .
 proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy.somewhere.com/host
 port8080/port
 usernameproxyuser/username
 passwordsomepassword/password
 nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
   /proxy
 /proxies
 .
 .
   /settings
  
  
  
  
   Cheers
   Jo
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hello Jo,.
   
myproxyserver and proxy_port definitely are really not
the correct settings:)
   
I change this value. In the correct file I put  the information
from
  IE
   /;
Firefox.
   
I can surf in internet with my browser.
   
   
   
   
On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Edney..

 Is this an exact copy of your settings.xml?
 Did you fill in the correct proxy host and proxy port for your
   network?
 I can assure you that myproxyserver and proxy_port
definitely
  are
not
 the correct settings ;)

 Are you able to surf the internet at all via Internet Explorer
or
Firefox?
 If so, have a look at the settings of your browser, copy the
proxy
server
 settings and paste them in the corresponding fields of your
   settings.xml

 Good luck
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Ok.
 
  I need to do this configuration in settings.xml file? I do
that.
 
  Here is my setting.xml file
 
  ?xml version=1.0 encoding=UTF-8?
  settings
  proxies
  proxy
  activetrue/active
  protocolhttp/protocol
  hostmyproxyserver/host
  portproxy_port/port
  /proxy
  /proxies
  localRepositoryC:\Documents and
  Settings\myuser\.m2\repository/localRepository
  offlinefalse/offline
  servers
  server
  idtomcat_server/id
  usernametomcatUser/username
  passwordtomcatPassword/password
  /server
  /servers
  profiles
profile
  idDefault/id
  pluginRepositories
pluginRepository
  idAndroMDA/id
  urlhttp://team.andromda.org/maven2/url
   releases
   /releases
   snapshots
   /snapshots
/pluginRepository
pluginRepository
  idCentral/id
  urlhttp://repo1.maven.org/maven2/url
/pluginRepository
pluginRepository
  idIBiblio/id
  urlhttp://www.ibiblio.org/maven2/url
/pluginRepository
pluginRepository
  idcodehaus snapshot repository/id
  urlhttp://snapshots.repository.codehaus.org
/url
   releases
   /releases
   snapshots
   /snapshots
/pluginRepository
  /pluginRepositories
  repositories
  repository
   releases
   /releases
   snapshots
 enabledfalse/enabled
   /snapshots
   idmyfaces.staging/id
   nameMyFaces Staging 

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hi,

I talk now with the guy from network , and he said that the internet access
with dos is not allowed.

Then, I need to do this with windows.




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Hi Edney,

The only other thing that I can think of is that you need to supply a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure it in
your
settings.xml..

Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):

settings
  .
  .
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameproxyuser/username
  passwordsomepassword/password
  nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
/proxy
  /proxies
  .
  .
/settings




Cheers
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello Jo,.

 myproxyserver and proxy_port definitely are really not
 the correct settings:)

 I change this value. In the correct file I put  the information from IE
/;
 Firefox.

 I can surf in internet with my browser.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Edney..
 
  Is this an exact copy of your settings.xml?
  Did you fill in the correct proxy host and proxy port for your
network?
  I can assure you that myproxyserver and proxy_port definitely are
 not
  the correct settings ;)
 
  Are you able to surf the internet at all via Internet Explorer or
 Firefox?
  If so, have a look at the settings of your browser, copy the proxy
 server
  settings and paste them in the corresponding fields of your
settings.xml
 
  Good luck
  Jo
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Ok.
  
   I need to do this configuration in settings.xml file? I do that.
  
   Here is my setting.xml file
  
   ?xml version=1.0 encoding=UTF-8?
   settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy
   /proxies
   localRepositoryC:\Documents and
   Settings\myuser\.m2\repository/localRepository
   offlinefalse/offline
   servers
   server
   idtomcat_server/id
   usernametomcatUser/username
   passwordtomcatPassword/password
   /server
   /servers
   profiles
 profile
   idDefault/id
   pluginRepositories
 pluginRepository
   idAndroMDA/id
   urlhttp://team.andromda.org/maven2/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
 pluginRepository
   idCentral/id
   urlhttp://repo1.maven.org/maven2/url
 /pluginRepository
 pluginRepository
   idIBiblio/id
   urlhttp://www.ibiblio.org/maven2/url
 /pluginRepository
 pluginRepository
   idcodehaus snapshot repository/id
   urlhttp://snapshots.repository.codehaus.org/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
   /pluginRepositories
   repositories
   repository
releases
/releases
snapshots
  enabledfalse/enabled
/snapshots
idmyfaces.staging/id
nameMyFaces Staging Repository/name
url
 http://myfaces.zones.apache.org/dist/maven-repository
   /url
   /repository
   repository
idandroMda/id
nameAndroMda Repository/name
urlhttp://andromda.org/maven2/url
releases
/releases
snapshots
  enabledfalse/enabled
/snapshots
   /repository
   /repositories
 /profile
   /profiles
   activeProfiles
   activeProfileDefault/activeProfile
   /activeProfiles
   /settings
  
   But, here, my access is restricted to internet from DOS
  
   I need a Windows application oder a plugin to eclipse, who i can do
 the
   download without command line interface
  
  
   thank.
   Edney
  
   On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
   
You need to get the proxy settings from IE, then you need to set
 Maven
   to
use that same proxy server just like IE does.
   
   
   
   
   
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 thank Jo

 But, here, in my company , the network guy can´t change this
 configuration.

 Politics from this company.

 I can access web from MS-DOS.

 I need a pluggin to do that in eclipse.

 Sorry

 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Hi there,
 

Re: Problems with maven

2007-02-26 Thread Edney Imme

I get the same error

Edney

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


if you use the entire server, port, and suername/password

What do you get for an error?




On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello

 I do that.

 and dosn´t work.



 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  That does not make sense what the network guy is saying. We are only
  talking
  about an http connection here. DOS or Java or IE. It is still an http
  connection.
 
  I think you just need to get the proxy server, port NUMBER, then your
 user
  name and password for the proxy.
 
  Did you try that?
 
proxies
proxy
   activetrue/active
   protocolhttp/protocol
   hostproxy.somewhere.com/host
   port8080/port
   usernameLAN ID (Username)/username
   passwordLAN Password/password
   nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
 /proxy
  /proxies
 
 
 
 
 
  The difference is sometime you do not need the username and password
for
  the
  Proxy. Or at least where I am at now.
 
 
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hi,
  
   I talk now with the guy from network , and he said that the internet
   access
   with dos is not allowed.
  
   Then, I need to do this with windows.
  
  
  
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
   
Hi Edney,
   
The only other thing that I can think of is that you need to
supply
 a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure
it
  in
your
settings.xml..
   
Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):
   
settings
  .
  .
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameproxyuser/username
  passwordsomepassword/password
  nonProxyHostswww.google.com|*.somewhere.com
/nonProxyHosts
/proxy
  /proxies
  .
  .
/settings
   
   
   
   
Cheers
Jo
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello Jo,.

 myproxyserver and proxy_port definitely are really not
 the correct settings:)

 I change this value. In the correct file I put  the information
 from
   IE
/;
 Firefox.

 I can surf in internet with my browser.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Edney..
 
  Is this an exact copy of your settings.xml?
  Did you fill in the correct proxy host and proxy port for your
network?
  I can assure you that myproxyserver and proxy_port
 definitely
   are
 not
  the correct settings ;)
 
  Are you able to surf the internet at all via Internet Explorer
 or
 Firefox?
  If so, have a look at the settings of your browser, copy the
 proxy
 server
  settings and paste them in the corresponding fields of your
settings.xml
 
  Good luck
  Jo
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Ok.
  
   I need to do this configuration in settings.xml file? I do
 that.
  
   Here is my setting.xml file
  
   ?xml version=1.0 encoding=UTF-8?
   settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy
   /proxies
   localRepositoryC:\Documents and
   Settings\myuser\.m2\repository/localRepository
   offlinefalse/offline
   servers
   server
   idtomcat_server/id
   usernametomcatUser/username
   passwordtomcatPassword/password
   /server
   /servers
   profiles
 profile
   idDefault/id
   pluginRepositories
 pluginRepository
   idAndroMDA/id
   urlhttp://team.andromda.org/maven2/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
 pluginRepository
   idCentral/id
   urlhttp://repo1.maven.org/maven2/url
 /pluginRepository
 pluginRepository
   idIBiblio/id
   urlhttp://www.ibiblio.org/maven2/url
 /pluginRepository
 pluginRepository
   idcodehaus snapshot repository/id
   urlhttp://snapshots.repository.codehaus.org
 /url
releases
/releases
snapshots
/snapshots
 /pluginRepository
   /pluginRepositories
   

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hello

I do that.

and dosn´t work.



On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


That does not make sense what the network guy is saying. We are only
talking
about an http connection here. DOS or Java or IE. It is still an http
connection.

I think you just need to get the proxy server, port NUMBER, then your user
name and password for the proxy.

Did you try that?

  proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy.somewhere.com/host
 port8080/port
 usernameLAN ID (Username)/username
 passwordLAN Password/password
 nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
   /proxy
/proxies





The difference is sometime you do not need the username and password for
the
Proxy. Or at least where I am at now.







On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hi,

 I talk now with the guy from network , and he said that the internet
 access
 with dos is not allowed.

 Then, I need to do this with windows.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Hi Edney,
 
  The only other thing that I can think of is that you need to supply a
  username/password for your proxy.
  Does your proxy server need authentication? If it does, configure it
in
  your
  settings.xml..
 
  Here's a snippet (which can also be found here:
  http://maven.apache.org/guides/mini/guide-proxies.html):
 
  settings
.
.
proxies
 proxy
activetrue/active
protocolhttp/protocol
hostproxy.somewhere.com/host
port8080/port
usernameproxyuser/username
passwordsomepassword/password
nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
  /proxy
/proxies
.
.
  /settings
 
 
 
 
  Cheers
  Jo
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hello Jo,.
  
   myproxyserver and proxy_port definitely are really not
   the correct settings:)
  
   I change this value. In the correct file I put  the information from
 IE
  /;
   Firefox.
  
   I can surf in internet with my browser.
  
  
  
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
   
Edney..
   
Is this an exact copy of your settings.xml?
Did you fill in the correct proxy host and proxy port for your
  network?
I can assure you that myproxyserver and proxy_port definitely
 are
   not
the correct settings ;)
   
Are you able to surf the internet at all via Internet Explorer or
   Firefox?
If so, have a look at the settings of your browser, copy the proxy
   server
settings and paste them in the corresponding fields of your
  settings.xml
   
Good luck
Jo
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Ok.

 I need to do this configuration in settings.xml file? I do that.

 Here is my setting.xml file

 ?xml version=1.0 encoding=UTF-8?
 settings
 proxies
 proxy
 activetrue/active
 protocolhttp/protocol
 hostmyproxyserver/host
 portproxy_port/port
 /proxy
 /proxies
 localRepositoryC:\Documents and
 Settings\myuser\.m2\repository/localRepository
 offlinefalse/offline
 servers
 server
 idtomcat_server/id
 usernametomcatUser/username
 passwordtomcatPassword/password
 /server
 /servers
 profiles
   profile
 idDefault/id
 pluginRepositories
   pluginRepository
 idAndroMDA/id
 urlhttp://team.andromda.org/maven2/url
  releases
  /releases
  snapshots
  /snapshots
   /pluginRepository
   pluginRepository
 idCentral/id
 urlhttp://repo1.maven.org/maven2/url
   /pluginRepository
   pluginRepository
 idIBiblio/id
 urlhttp://www.ibiblio.org/maven2/url
   /pluginRepository
   pluginRepository
 idcodehaus snapshot repository/id
 urlhttp://snapshots.repository.codehaus.org/url
  releases
  /releases
  snapshots
  /snapshots
   /pluginRepository
 /pluginRepositories
 repositories
 repository
  releases
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
  idmyfaces.staging/id
  nameMyFaces Staging Repository/name
  url
   http://myfaces.zones.apache.org/dist/maven-repository
 /url
 /repository
 repository
  idandroMda/id
  nameAndroMda Repository/name
  urlhttp://andromda.org/maven2/url
  releases

Re: Problems with maven

2007-02-26 Thread Mick Knutson

Attach your entire pom.xml and you scrubbed settings.xml please





On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hello

I do that.

and dosn´t work.



On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 That does not make sense what the network guy is saying. We are only
 talking
 about an http connection here. DOS or Java or IE. It is still an http
 connection.

 I think you just need to get the proxy server, port NUMBER, then your
user
 name and password for the proxy.

 Did you try that?

   proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameLAN ID (Username)/username
  passwordLAN Password/password
  nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
/proxy
 /proxies





 The difference is sometime you do not need the username and password for
 the
 Proxy. Or at least where I am at now.







 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I talk now with the guy from network , and he said that the internet
  access
  with dos is not allowed.
 
  Then, I need to do this with windows.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Hi Edney,
  
   The only other thing that I can think of is that you need to supply
a
   username/password for your proxy.
   Does your proxy server need authentication? If it does, configure it
 in
   your
   settings.xml..
  
   Here's a snippet (which can also be found here:
   http://maven.apache.org/guides/mini/guide-proxies.html):
  
   settings
 .
 .
 proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy.somewhere.com/host
 port8080/port
 usernameproxyuser/username
 passwordsomepassword/password
 nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
   /proxy
 /proxies
 .
 .
   /settings
  
  
  
  
   Cheers
   Jo
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hello Jo,.
   
myproxyserver and proxy_port definitely are really not
the correct settings:)
   
I change this value. In the correct file I put  the information
from
  IE
   /;
Firefox.
   
I can surf in internet with my browser.
   
   
   
   
On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Edney..

 Is this an exact copy of your settings.xml?
 Did you fill in the correct proxy host and proxy port for your
   network?
 I can assure you that myproxyserver and proxy_port
definitely
  are
not
 the correct settings ;)

 Are you able to surf the internet at all via Internet Explorer
or
Firefox?
 If so, have a look at the settings of your browser, copy the
proxy
server
 settings and paste them in the corresponding fields of your
   settings.xml

 Good luck
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Ok.
 
  I need to do this configuration in settings.xml file? I do
that.
 
  Here is my setting.xml file
 
  ?xml version=1.0 encoding=UTF-8?
  settings
  proxies
  proxy
  activetrue/active
  protocolhttp/protocol
  hostmyproxyserver/host
  portproxy_port/port
  /proxy
  /proxies
  localRepositoryC:\Documents and
  Settings\myuser\.m2\repository/localRepository
  offlinefalse/offline
  servers
  server
  idtomcat_server/id
  usernametomcatUser/username
  passwordtomcatPassword/password
  /server
  /servers
  profiles
profile
  idDefault/id
  pluginRepositories
pluginRepository
  idAndroMDA/id
  urlhttp://team.andromda.org/maven2/url
   releases
   /releases
   snapshots
   /snapshots
/pluginRepository
pluginRepository
  idCentral/id
  urlhttp://repo1.maven.org/maven2/url
/pluginRepository
pluginRepository
  idIBiblio/id
  urlhttp://www.ibiblio.org/maven2/url
/pluginRepository
pluginRepository
  idcodehaus snapshot repository/id
  urlhttp://snapshots.repository.codehaus.org
/url
   releases
   /releases
   snapshots
   /snapshots
/pluginRepository
  /pluginRepositories
  repositories
  repository
   releases
   /releases
   snapshots
 enabledfalse/enabled
   /snapshots
   idmyfaces.staging/id
   nameMyFaces Staging Repository/name

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Edney,

Try running it with debug on and paste the output..

mvn -X install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar -Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar

Cheers
Jo

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


Attach your entire pom.xml and you scrubbed settings.xml please





On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello

 I do that.

 and dosn´t work.



 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  That does not make sense what the network guy is saying. We are only
  talking
  about an http connection here. DOS or Java or IE. It is still an http
  connection.
 
  I think you just need to get the proxy server, port NUMBER, then your
 user
  name and password for the proxy.
 
  Did you try that?
 
proxies
proxy
   activetrue/active
   protocolhttp/protocol
   hostproxy.somewhere.com/host
   port8080/port
   usernameLAN ID (Username)/username
   passwordLAN Password/password
   nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
 /proxy
  /proxies
 
 
 
 
 
  The difference is sometime you do not need the username and password
for
  the
  Proxy. Or at least where I am at now.
 
 
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hi,
  
   I talk now with the guy from network , and he said that the internet
   access
   with dos is not allowed.
  
   Then, I need to do this with windows.
  
  
  
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
   
Hi Edney,
   
The only other thing that I can think of is that you need to
supply
 a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure
it
  in
your
settings.xml..
   
Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):
   
settings
  .
  .
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameproxyuser/username
  passwordsomepassword/password
  nonProxyHostswww.google.com|*.somewhere.com
/nonProxyHosts
/proxy
  /proxies
  .
  .
/settings
   
   
   
   
Cheers
Jo
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello Jo,.

 myproxyserver and proxy_port definitely are really not
 the correct settings:)

 I change this value. In the correct file I put  the information
 from
   IE
/;
 Firefox.

 I can surf in internet with my browser.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Edney..
 
  Is this an exact copy of your settings.xml?
  Did you fill in the correct proxy host and proxy port for your
network?
  I can assure you that myproxyserver and proxy_port
 definitely
   are
 not
  the correct settings ;)
 
  Are you able to surf the internet at all via Internet Explorer
 or
 Firefox?
  If so, have a look at the settings of your browser, copy the
 proxy
 server
  settings and paste them in the corresponding fields of your
settings.xml
 
  Good luck
  Jo
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Ok.
  
   I need to do this configuration in settings.xml file? I do
 that.
  
   Here is my setting.xml file
  
   ?xml version=1.0 encoding=UTF-8?
   settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy
   /proxies
   localRepositoryC:\Documents and
   Settings\myuser\.m2\repository/localRepository
   offlinefalse/offline
   servers
   server
   idtomcat_server/id
   usernametomcatUser/username
   passwordtomcatPassword/password
   /server
   /servers
   profiles
 profile
   idDefault/id
   pluginRepositories
 pluginRepository
   idAndroMDA/id
   urlhttp://team.andromda.org/maven2/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
 pluginRepository
   idCentral/id
   urlhttp://repo1.maven.org/maven2/url
 /pluginRepository
 pluginRepository
   idIBiblio/id
   urlhttp://www.ibiblio.org/maven2/url
 /pluginRepository
 pluginRepository
   idcodehaus snapshot repository/id
   urlhttp://snapshots.repository.codehaus.org
 /url
  

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hi Jo.

Here is it.

C:\tmpmvn -X install:install-file -DgroupId=
org.apache.myfaces.tomahawk-Dartifa
ctId=tomahawk-sandbox -Dversion= 1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/to
mahawk-sandbox-1.1.4-SNAPSHOT.jar
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\f0fp083\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Arquivos de
progra
mas\Apache Foundation\maven-2.0.4\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[DEBUG] maven-install-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
rsion

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


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-install-pl
ugin:pom:LATEST
[DEBUG] maven-install-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release v
ersion

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


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-install-pl
ugin:pom:RELEASE
[INFO]

[ERROR] BUILD ERROR
[INFO]

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

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
org.apache.m
aven.plugins:maven-install-plugin' does not exist or no valid version could
be f
ound
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1281)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1517)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:381)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.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
(DelegatingMethodAcces
sorImpl.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: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The p
lugin 'org.apache.maven.plugins:maven-install-plugin' does not exist or no
valid
version could be found
   at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:225)
   at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
   at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
(DefaultPlug
inManager.java:158)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1252)
   ... 14 more
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Mon Feb 26 16:04:10 BRT 2007
[INFO] Final Memory: 1M/2M
[INFO]


C:\tmp


On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Edney,

Try running it with debug on and paste the output..

mvn -X install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar -Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar

Cheers
Jo

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 Attach your entire pom.xml and you scrubbed settings.xml please





 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello
 
  I do that.
 
  and dosn´t work.
 
 
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   That does not make sense what the network guy is saying. We are only
   talking
   about an http connection here. DOS or Java or IE. It is still an
http
   connection.
  
   I think you just need to get the proxy server, port NUMBER, then
your
  user
   name and password for the proxy.
  
   Did you try that?
  
 proxies
 proxy

Re: Problems with maven

2007-02-26 Thread Mick Knutson

That does not make sense what the network guy is saying. We are only talking
about an http connection here. DOS or Java or IE. It is still an http
connection.

I think you just need to get the proxy server, port NUMBER, then your user
name and password for the proxy.

Did you try that?

 proxies
 proxy
activetrue/active
protocolhttp/protocol
hostproxy.somewhere.com/host
port8080/port
usernameLAN ID (Username)/username
passwordLAN Password/password
nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
  /proxy
/proxies





The difference is sometime you do not need the username and password for the
Proxy. Or at least where I am at now.







On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hi,

I talk now with the guy from network , and he said that the internet
access
with dos is not allowed.

Then, I need to do this with windows.




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi Edney,

 The only other thing that I can think of is that you need to supply a
 username/password for your proxy.
 Does your proxy server need authentication? If it does, configure it in
 your
 settings.xml..

 Here's a snippet (which can also be found here:
 http://maven.apache.org/guides/mini/guide-proxies.html):

 settings
   .
   .
   proxies
proxy
   activetrue/active
   protocolhttp/protocol
   hostproxy.somewhere.com/host
   port8080/port
   usernameproxyuser/username
   passwordsomepassword/password
   nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
 /proxy
   /proxies
   .
   .
 /settings




 Cheers
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello Jo,.
 
  myproxyserver and proxy_port definitely are really not
  the correct settings:)
 
  I change this value. In the correct file I put  the information from
IE
 /;
  Firefox.
 
  I can surf in internet with my browser.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Edney..
  
   Is this an exact copy of your settings.xml?
   Did you fill in the correct proxy host and proxy port for your
 network?
   I can assure you that myproxyserver and proxy_port definitely
are
  not
   the correct settings ;)
  
   Are you able to surf the internet at all via Internet Explorer or
  Firefox?
   If so, have a look at the settings of your browser, copy the proxy
  server
   settings and paste them in the corresponding fields of your
 settings.xml
  
   Good luck
   Jo
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Ok.
   
I need to do this configuration in settings.xml file? I do that.
   
Here is my setting.xml file
   
?xml version=1.0 encoding=UTF-8?
settings
proxies
proxy
activetrue/active
protocolhttp/protocol
hostmyproxyserver/host
portproxy_port/port
/proxy
/proxies
localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
offlinefalse/offline
servers
server
idtomcat_server/id
usernametomcatUser/username
passwordtomcatPassword/password
/server
/servers
profiles
  profile
idDefault/id
pluginRepositories
  pluginRepository
idAndroMDA/id
urlhttp://team.andromda.org/maven2/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
  pluginRepository
idCentral/id
urlhttp://repo1.maven.org/maven2/url
  /pluginRepository
  pluginRepository
idIBiblio/id
urlhttp://www.ibiblio.org/maven2/url
  /pluginRepository
  pluginRepository
idcodehaus snapshot repository/id
urlhttp://snapshots.repository.codehaus.org/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
/pluginRepositories
repositories
repository
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
 idmyfaces.staging/id
 nameMyFaces Staging Repository/name
 url
  http://myfaces.zones.apache.org/dist/maven-repository
/url
/repository
repository
 idandroMda/id
 nameAndroMda Repository/name
 urlhttp://andromda.org/maven2/url
 releases
 /releases
 snapshots
   enabledfalse/enabled
 /snapshots
/repository
/repositories
  /profile
/profiles
activeProfiles

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hello.

I don´t have the pom.xml to the file jta.jar

The settings.xml is here

Obs. sorry with this uggly questions. I´m dummy for maven


On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


Attach your entire pom.xml and you scrubbed settings.xml please





On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello

 I do that.

 and dosn´t work.



 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  That does not make sense what the network guy is saying. We are only
  talking
  about an http connection here. DOS or Java or IE. It is still an http
  connection.
 
  I think you just need to get the proxy server, port NUMBER, then your
 user
  name and password for the proxy.
 
  Did you try that?
 
proxies
proxy
   activetrue/active
   protocolhttp/protocol
   hostproxy.somewhere.com/host
   port8080/port
   usernameLAN ID (Username)/username
   passwordLAN Password/password
   nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
 /proxy
  /proxies
 
 
 
 
 
  The difference is sometime you do not need the username and password
for
  the
  Proxy. Or at least where I am at now.
 
 
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hi,
  
   I talk now with the guy from network , and he said that the internet
   access
   with dos is not allowed.
  
   Then, I need to do this with windows.
  
  
  
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
   
Hi Edney,
   
The only other thing that I can think of is that you need to
supply
 a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure
it
  in
your
settings.xml..
   
Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):
   
settings
  .
  .
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameproxyuser/username
  passwordsomepassword/password
  nonProxyHostswww.google.com|*.somewhere.com
/nonProxyHosts
/proxy
  /proxies
  .
  .
/settings
   
   
   
   
Cheers
Jo
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello Jo,.

 myproxyserver and proxy_port definitely are really not
 the correct settings:)

 I change this value. In the correct file I put  the information
 from
   IE
/;
 Firefox.

 I can surf in internet with my browser.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Edney..
 
  Is this an exact copy of your settings.xml?
  Did you fill in the correct proxy host and proxy port for your
network?
  I can assure you that myproxyserver and proxy_port
 definitely
   are
 not
  the correct settings ;)
 
  Are you able to surf the internet at all via Internet Explorer
 or
 Firefox?
  If so, have a look at the settings of your browser, copy the
 proxy
 server
  settings and paste them in the corresponding fields of your
settings.xml
 
  Good luck
  Jo
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Ok.
  
   I need to do this configuration in settings.xml file? I do
 that.
  
   Here is my setting.xml file
  
   ?xml version=1.0 encoding=UTF-8?
   settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   hostmyproxyserver/host
   portproxy_port/port
   /proxy
   /proxies
   localRepositoryC:\Documents and
   Settings\myuser\.m2\repository/localRepository
   offlinefalse/offline
   servers
   server
   idtomcat_server/id
   usernametomcatUser/username
   passwordtomcatPassword/password
   /server
   /servers
   profiles
 profile
   idDefault/id
   pluginRepositories
 pluginRepository
   idAndroMDA/id
   urlhttp://team.andromda.org/maven2/url
releases
/releases
snapshots
/snapshots
 /pluginRepository
 pluginRepository
   idCentral/id
   urlhttp://repo1.maven.org/maven2/url
 /pluginRepository
 pluginRepository
   idIBiblio/id
   urlhttp://www.ibiblio.org/maven2/url
 /pluginRepository
 pluginRepository
   idcodehaus snapshot repository/id
   urlhttp://snapshots.repository.codehaus.org
 /url
releases
/releases
snapshots
/snapshots
   

Re: Problems with maven

2007-02-26 Thread Mick Knutson

please send your pom.xml for this maven build. It looks like you might not
have the maven-install-plugin defined correctly in your pom.

this is in my pom.xml for that plugin:

   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-install-plugin/artifactId
   version2.1/version
   /plugin



It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
command from.

Also, I put my repositories in my pom.xml like this:

   repositories

   repository
   idBackup/id
   nameMaven Repository Switchboard/name
   layoutdefault/layout
   urlhttp://repo1.maven.org/maven2/url
   snapshots
   enabledfalse/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository

   repository
   idApache Snapshots/id
   nameApache Development Repository/name
   urlhttp://cvs.apache.org/maven-snapshot-repository/url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository

   repository
   idCodehaus Snapshots/id
   nameCodehaus/name
   urlhttp://snapshots.repository.codehaus.org//url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository

   repository
   idMyFaces SNAPSHOT/id
   nameMyFaces SNAPSHOT Repository/name
   urlhttp://people.apache.org/repo/m2-snapshot-repository/url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository

   repository
   idibiblio/id
   nameibiblio/name
   urlhttp://www.ibiblio.org/maven2/url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository
   !--repository
   releases
   enabledfalse/enabled
   /releases
   snapshots
   enabledtrue/enabled
   /snapshots
   idapache.snapshots/id
   nameApache Snapshot Repository/name
   urlhttp://people.apache.org/repo/m2-snapshot-repository/url
   /repository--

   /repositories


   pluginRepositories

   pluginRepository
   idcentral/id
   nameMaven Plugin Repository/name
   layoutdefault/layout
   urlhttp://repo1.maven.org/maven2/url

   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   updatePolicynever/updatePolicy
   /releases
   /pluginRepository

   pluginRepository
   idCodehaus Snapshots/id
   urlhttp://snapshots.repository.codehaus.org//url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /pluginRepository


   /pluginRepositories







On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hello.

I don´t have the pom.xml to the file jta.jar

The settings.xml is here

Obs. sorry with this uggly questions. I´m dummy for maven


On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 Attach your entire pom.xml and you scrubbed settings.xml please





 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello
 
  I do that.
 
  and dosn´t work.
 
 
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   That does not make sense what the network guy is saying. We are only

   talking
   about an http connection here. DOS or Java or IE. It is still an
 http
   connection.
  
   I think you just need to get the proxy server, port NUMBER, then
 your
  user
   name and password for the proxy.
  
   Did you try that?
  
 proxies
 proxy
activetrue/active
protocolhttp/protocol
hostproxy.somewhere.com/host
port8080/port
usernameLAN ID (Username)/username
passwordLAN Password/password
nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
  /proxy
   /proxies
  
  
  
  
  
   The difference is sometime you do not need the username and password
 for
   the
   Proxy. Or at least where I am at now.
  
  
  
  
  
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hi,
   
I talk now with the guy from network , and he said that the
 internet
access
with dos is not allowed.
   
Then, I need to do this with windows.
   
   
   
   
On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi Edney,

 The only other thing that I can think of is that you need to
 supply
  a
 username/password for your proxy.
 Does your proxy server need 

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Sorry mate.. I can't see anything that's obviously incorrect..
Your plugin search doesn't complete, so you must have network issues..

If it was me, I would start over with an empty settings.xml and add only
proxy information..
If that works, start adding custom repositories and profiles..

Good luck..
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


Hello.

I don´t have the pom.xml to the file jta.jar

The settings.xml is here

Obs. sorry with this uggly questions. I´m dummy for maven


On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 Attach your entire pom.xml and you scrubbed settings.xml please





 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello
 
  I do that.
 
  and dosn´t work.
 
 
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   That does not make sense what the network guy is saying. We are only

   talking
   about an http connection here. DOS or Java or IE. It is still an
 http
   connection.
  
   I think you just need to get the proxy server, port NUMBER, then
 your
  user
   name and password for the proxy.
  
   Did you try that?
  
 proxies
 proxy
activetrue/active
protocolhttp/protocol
hostproxy.somewhere.com/host
port8080/port
usernameLAN ID (Username)/username
passwordLAN Password/password
nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
  /proxy
   /proxies
  
  
  
  
  
   The difference is sometime you do not need the username and password
 for
   the
   Proxy. Or at least where I am at now.
  
  
  
  
  
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hi,
   
I talk now with the guy from network , and he said that the
 internet
access
with dos is not allowed.
   
Then, I need to do this with windows.
   
   
   
   
On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi Edney,

 The only other thing that I can think of is that you need to
 supply
  a
 username/password for your proxy.
 Does your proxy server need authentication? If it does,
 configure it
   in
 your
 settings.xml..

 Here's a snippet (which can also be found here:
 http://maven.apache.org/guides/mini/guide-proxies.html):

 settings
   .
   .
   proxies
proxy
   activetrue/active
   protocolhttp/protocol
   host proxy.somewhere.com/host
   port8080/port
   usernameproxyuser/username
   passwordsomepassword/password
   nonProxyHostswww.google.com|*.somewhere.com
 /nonProxyHosts
 /proxy
   /proxies
   .
   .
 /settings




 Cheers
 Jo

 On 2/26/07, Edney Imme  [EMAIL PROTECTED] wrote:
 
  Hello Jo,.
 
  myproxyserver and proxy_port definitely are really not
  the correct settings:)
 
  I change this value. In the correct file I put  the
 information
  from
IE
 /;
  Firefox.
 
  I can surf in internet with my browser.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Edney..
  
   Is this an exact copy of your settings.xml?
   Did you fill in the correct proxy host and proxy port for
 your
 network?
   I can assure you that myproxyserver and proxy_port
  definitely
are
  not
   the correct settings ;)
  
   Are you able to surf the internet at all via Internet
 Explorer
  or
  Firefox?
   If so, have a look at the settings of your browser, copy the

  proxy
  server
   settings and paste them in the corresponding fields of your
 settings.xml
  
   Good luck
   Jo
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Ok.
   
I need to do this configuration in settings.xml file? I do
  that.
   
Here is my setting.xml file
   
?xml version=1.0 encoding=UTF-8?
settings
proxies
proxy
activetrue/active
protocolhttp/protocol
hostmyproxyserver/host
portproxy_port/port
/proxy
/proxies
localRepositoryC:\Documents and
Settings\myuser\.m2\repository/localRepository
offlinefalse/offline
servers
server
idtomcat_server/id
usernametomcatUser/username
passwordtomcatPassword/password
/server
/servers
profiles
  profile
idDefault/id
pluginRepositories
  pluginRepository
idAndroMDA/id
urlhttp://team.andromda.org/maven2/url
 releases
 /releases
 snapshots
 /snapshots
  /pluginRepository
  pluginRepository
 

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi Mick,

Edney is trying to install an external jar into his local repository.. not
trying to build a maven project..
For all we know, this might not even be a maven-built jar.. Even if there
was a pom, the settings would be irrelevant.

The repository definitions in Edney's settings.xml seem to be valid, so I
really do think it is a network/proxy issue..

Cheers
Jo

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


please send your pom.xml for this maven build. It looks like you might not
have the maven-install-plugin defined correctly in your pom.

this is in my pom.xml for that plugin:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-install-plugin/artifactId
version2.1/version
/plugin



It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
command from.

Also, I put my repositories in my pom.xml like this:

repositories

repository
idBackup/id
nameMaven Repository Switchboard/name
layoutdefault/layout
urlhttp://repo1.maven.org/maven2/url
snapshots
enabledfalse/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/repository

repository
idApache Snapshots/id
nameApache Development Repository/name
urlhttp://cvs.apache.org/maven-snapshot-repository/url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/repository

repository
idCodehaus Snapshots/id
nameCodehaus/name
urlhttp://snapshots.repository.codehaus.org//url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/repository

repository
idMyFaces SNAPSHOT/id
nameMyFaces SNAPSHOT Repository/name
urlhttp://people.apache.org/repo/m2-snapshot-repository
/url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/repository

repository
idibiblio/id
nameibiblio/name
urlhttp://www.ibiblio.org/maven2/url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/repository
!--repository
releases
enabledfalse/enabled
/releases
snapshots
enabledtrue/enabled
/snapshots
idapache.snapshots/id
nameApache Snapshot Repository/name
urlhttp://people.apache.org/repo/m2-snapshot-repository
/url
/repository--

/repositories


pluginRepositories

pluginRepository
idcentral/id
nameMaven Plugin Repository/name
layoutdefault/layout
urlhttp://repo1.maven.org/maven2/url

snapshots
enabledtrue/enabled
/snapshots
releases
updatePolicynever/updatePolicy
/releases
/pluginRepository

pluginRepository
idCodehaus Snapshots/id
urlhttp://snapshots.repository.codehaus.org//url
snapshots
enabledtrue/enabled
/snapshots
releases
enabledfalse/enabled
/releases
/pluginRepository


/pluginRepositories







On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello.

 I don´t have the pom.xml to the file jta.jar

 The settings.xml is here

 Obs. sorry with this uggly questions. I´m dummy for maven


 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  Attach your entire pom.xml and you scrubbed settings.xml please
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hello
  
   I do that.
  
   and dosn´t work.
  
  
  
   On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
   
That does not make sense what the network guy is saying. We are
only
 
talking
about an http connection here. DOS or Java or IE. It is still an
  http
connection.
   
I think you just need to get the proxy server, port NUMBER, then
  your
   user
name and password for the proxy.
   
Did you try that?
   
  proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy.somewhere.com/host
 port8080/port
 usernameLAN ID (Username)/username
 passwordLAN Password/password
 nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
   /proxy
/proxies
   
   
   
   
   
The difference is sometime you do not need the username 

Re: Problems with maven

2007-02-26 Thread Mick Knutson

What is the difference between repositories and pluginRepositories



Edney only has MyFaces as a Repositories entry as apposed to what I have
attached




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Sorry mate.. I can't see anything that's obviously incorrect..
Your plugin search doesn't complete, so you must have network issues..

If it was me, I would start over with an empty settings.xml and add only
proxy information..
If that works, start adding custom repositories and profiles..

Good luck..
Jo

On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hello.

 I don´t have the pom.xml to the file jta.jar

 The settings.xml is here

 Obs. sorry with this uggly questions. I´m dummy for maven


 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  Attach your entire pom.xml and you scrubbed settings.xml please
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hello
  
   I do that.
  
   and dosn´t work.
  
  
  
   On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
   
That does not make sense what the network guy is saying. We are
only
 
talking
about an http connection here. DOS or Java or IE. It is still an
  http
connection.
   
I think you just need to get the proxy server, port NUMBER, then
  your
   user
name and password for the proxy.
   
Did you try that?
   
  proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 hostproxy.somewhere.com/host
 port8080/port
 usernameLAN ID (Username)/username
 passwordLAN Password/password
 nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
   /proxy
/proxies
   
   
   
   
   
The difference is sometime you do not need the username and
password
  for
the
Proxy. Or at least where I am at now.
   
   
   
   
   
   
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Hi,

 I talk now with the guy from network , and he said that the
  internet
 access
 with dos is not allowed.

 Then, I need to do this with windows.




 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Hi Edney,
 
  The only other thing that I can think of is that you need to
  supply
   a
  username/password for your proxy.
  Does your proxy server need authentication? If it does,
  configure it
in
  your
  settings.xml..
 
  Here's a snippet (which can also be found here:
  http://maven.apache.org/guides/mini/guide-proxies.html):
 
  settings
.
.
proxies
 proxy
activetrue/active
protocolhttp/protocol
host proxy.somewhere.com/host
port8080/port
usernameproxyuser/username
passwordsomepassword/password
nonProxyHostswww.google.com|*.somewhere.com
  /nonProxyHosts
  /proxy
/proxies
.
.
  /settings
 
 
 
 
  Cheers
  Jo
 
  On 2/26/07, Edney Imme  [EMAIL PROTECTED] wrote:
  
   Hello Jo,.
  
   myproxyserver and proxy_port definitely are really not
   the correct settings:)
  
   I change this value. In the correct file I put  the
  information
   from
 IE
  /;
   Firefox.
  
   I can surf in internet with my browser.
  
  
  
  
   On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED]
wrote:
   
Edney..
   
Is this an exact copy of your settings.xml?
Did you fill in the correct proxy host and proxy port for
  your
  network?
I can assure you that myproxyserver and proxy_port
   definitely
 are
   not
the correct settings ;)
   
Are you able to surf the internet at all via Internet
  Explorer
   or
   Firefox?
If so, have a look at the settings of your browser, copy
the
 
   proxy
   server
settings and paste them in the corresponding fields of
your
  settings.xml
   
Good luck
Jo
   
On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 Ok.

 I need to do this configuration in settings.xml file? I
do
   that.

 Here is my setting.xml file

 ?xml version=1.0 encoding=UTF-8?
 settings
 proxies
 proxy
 activetrue/active
 protocolhttp/protocol
 hostmyproxyserver/host
 portproxy_port/port
 /proxy
 /proxies
 localRepositoryC:\Documents and
 Settings\myuser\.m2\repository/localRepository
 offlinefalse/offline
 servers
 server
 idtomcat_server/id
 usernametomcatUser/username
 passwordtomcatPassword/password
 /server
 /servers
 

Re: Problems with maven

2007-02-26 Thread Mick Knutson

But he needs to get certain plugins in order to install into his
repository.


Thus, having the correct Repositories set in the settings.xml would still
be required right?



On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Hi Mick,

Edney is trying to install an external jar into his local repository.. not
trying to build a maven project..
For all we know, this might not even be a maven-built jar.. Even if there
was a pom, the settings would be irrelevant.

The repository definitions in Edney's settings.xml seem to be valid, so I
really do think it is a network/proxy issue..

Cheers
Jo

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 please send your pom.xml for this maven build. It looks like you might
not
 have the maven-install-plugin defined correctly in your pom.

 this is in my pom.xml for that plugin:

 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-install-plugin/artifactId
 version2.1/version
 /plugin



 It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
 command from.

 Also, I put my repositories in my pom.xml like this:

 repositories

 repository
 idBackup/id
 nameMaven Repository Switchboard/name
 layoutdefault/layout
 urlhttp://repo1.maven.org/maven2/url
 snapshots
 enabledfalse/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /repository

 repository
 idApache Snapshots/id
 nameApache Development Repository/name
 urlhttp://cvs.apache.org/maven-snapshot-repository/url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /repository

 repository
 idCodehaus Snapshots/id
 nameCodehaus/name
 urlhttp://snapshots.repository.codehaus.org//url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /repository

 repository
 idMyFaces SNAPSHOT/id
 nameMyFaces SNAPSHOT Repository/name
 urlhttp://people.apache.org/repo/m2-snapshot-repository
 /url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /repository

 repository
 idibiblio/id
 nameibiblio/name
 urlhttp://www.ibiblio.org/maven2/url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /repository
 !--repository
 releases
 enabledfalse/enabled
 /releases
 snapshots
 enabledtrue/enabled
 /snapshots
 idapache.snapshots/id
 nameApache Snapshot Repository/name
 urlhttp://people.apache.org/repo/m2-snapshot-repository
 /url
 /repository--

 /repositories


 pluginRepositories

 pluginRepository
 idcentral/id
 nameMaven Plugin Repository/name
 layoutdefault/layout
 urlhttp://repo1.maven.org/maven2/url

 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 updatePolicynever/updatePolicy
 /releases
 /pluginRepository

 pluginRepository
 idCodehaus Snapshots/id
 urlhttp://snapshots.repository.codehaus.org//url
 snapshots
 enabledtrue/enabled
 /snapshots
 releases
 enabledfalse/enabled
 /releases
 /pluginRepository


 /pluginRepositories







 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello.
 
  I don´t have the pom.xml to the file jta.jar
 
  The settings.xml is here
 
  Obs. sorry with this uggly questions. I´m dummy for maven
 
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   Attach your entire pom.xml and you scrubbed settings.xml please
  
  
  
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hello
   
I do that.
   
and dosn´t work.
   
   
   
On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 That does not make sense what the network guy is saying. We are
 only
  
 talking
 about an http connection here. DOS or Java or IE. It is still an
   http
 connection.

 I think you just need to get the proxy server, port NUMBER, then
   your
user
 name and password for the proxy.

 Did you try that?

   proxies
  

RE: Problems with maven

2007-02-26 Thread Marcelo Colomer Cornejo

 I think the difference is:
  repositories is used to find jar that you declare as a dependency at your 
pom.xml
  pluginRepositories is used to find mv2 plugins that you want to use on your 
life cycles.

 




-Mensaje original-
De: Mick Knutson [mailto:[EMAIL PROTECTED]
Enviado el: lun 26/02/2007 20:33
Para: Maven Users List
Asunto: Re: Problems with maven
 
What is the difference between repositories and pluginRepositories



Edney only has MyFaces as a Repositories entry as apposed to what I have
attached




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Sorry mate.. I can't see anything that's obviously incorrect..
 Your plugin search doesn't complete, so you must have network issues..

 If it was me, I would start over with an empty settings.xml and add only
 proxy information..
 If that works, start adding custom repositories and profiles..

 Good luck..
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hello.
 
  I don´t have the pom.xml to the file jta.jar
 
  The settings.xml is here
 
  Obs. sorry with this uggly questions. I´m dummy for maven
 
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   Attach your entire pom.xml and you scrubbed settings.xml please
  
  
  
  
  
   On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
   
Hello
   
I do that.
   
and dosn´t work.
   
   
   
On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 That does not make sense what the network guy is saying. We are
 only
  
 talking
 about an http connection here. DOS or Java or IE. It is still an
   http
 connection.

 I think you just need to get the proxy server, port NUMBER, then
   your
user
 name and password for the proxy.

 Did you try that?

   proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  hostproxy.somewhere.com/host
  port8080/port
  usernameLAN ID (Username)/username
  passwordLAN Password/password
  nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts
/proxy
 /proxies





 The difference is sometime you do not need the username and
 password
   for
 the
 Proxy. Or at least where I am at now.







 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I talk now with the guy from network , and he said that the
   internet
  access
  with dos is not allowed.
 
  Then, I need to do this with windows.
 
 
 
 
  On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
  
   Hi Edney,
  
   The only other thing that I can think of is that you need to
   supply
a
   username/password for your proxy.
   Does your proxy server need authentication? If it does,
   configure it
 in
   your
   settings.xml..
  
   Here's a snippet (which can also be found here:
   http://maven.apache.org/guides/mini/guide-proxies.html):
  
   settings
 .
 .
 proxies
  proxy
 activetrue/active
 protocolhttp/protocol
 host proxy.somewhere.com/host
 port8080/port
 usernameproxyuser/username
 passwordsomepassword/password
 nonProxyHostswww.google.com|*.somewhere.com
   /nonProxyHosts
   /proxy
 /proxies
 .
 .
   /settings
  
  
  
  
   Cheers
   Jo
  
   On 2/26/07, Edney Imme  [EMAIL PROTECTED] wrote:
   
Hello Jo,.
   
myproxyserver and proxy_port definitely are really not
the correct settings:)
   
I change this value. In the correct file I put  the
   information
from
  IE
   /;
Firefox.
   
I can surf in internet with my browser.
   
   
   
   
On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED]
 wrote:

 Edney..

 Is this an exact copy of your settings.xml?
 Did you fill in the correct proxy host and proxy port for
   your
   network?
 I can assure you that myproxyserver and proxy_port
definitely
  are
not
 the correct settings ;)

 Are you able to surf the internet at all via Internet
   Explorer
or
Firefox?
 If so, have a look at the settings of your browser, copy
 the
  
proxy
server
 settings and paste them in the corresponding fields of
 your
   settings.xml

 Good luck
 Jo

 On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
 
  Ok.
 
  I need to do this configuration in settings.xml file? I
 do
that.
 
  Here is my setting.xml file
 
  ?xml version=1.0 encoding=UTF-8?
  settings
  proxies
  proxy

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi Mick,

Yes.. That's correct.. He needs to get the install plugin from the maven
repository..

The default maven settings will guarantee that you can fetch this plugin as
long as your proxy settings are correct and you have network connectivity..
No need to specify a custom pluginRepository for this plugin..

Cheers
Jo

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:


But he needs to get certain plugins in order to install into his
repository.


Thus, having the correct Repositories set in the settings.xml would
still
be required right?



On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:

 Hi Mick,

 Edney is trying to install an external jar into his local repository..
not
 trying to build a maven project..
 For all we know, this might not even be a maven-built jar.. Even if
there
 was a pom, the settings would be irrelevant.

 The repository definitions in Edney's settings.xml seem to be valid, so
I
 really do think it is a network/proxy issue..

 Cheers
 Jo

 On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
 
  please send your pom.xml for this maven build. It looks like you might
 not
  have the maven-install-plugin defined correctly in your pom.
 
  this is in my pom.xml for that plugin:
 
  plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-install-plugin/artifactId
  version2.1/version
  /plugin
 
 
 
  It is in your [MAVEN PROJECT HOME]/pom.xml where you where running
this
  command from.
 
  Also, I put my repositories in my pom.xml like this:
 
  repositories
 
  repository
  idBackup/id
  nameMaven Repository Switchboard/name
  layoutdefault/layout
  urlhttp://repo1.maven.org/maven2/url
  snapshots
  enabledfalse/enabled
  /snapshots
  releases
  enabledfalse/enabled
  /releases
  /repository
 
  repository
  idApache Snapshots/id
  nameApache Development Repository/name
  urlhttp://cvs.apache.org/maven-snapshot-repository/url
  snapshots
  enabledtrue/enabled
  /snapshots
  releases
  enabledfalse/enabled
  /releases
  /repository
 
  repository
  idCodehaus Snapshots/id
  nameCodehaus/name
  urlhttp://snapshots.repository.codehaus.org//url
  snapshots
  enabledtrue/enabled
  /snapshots
  releases
  enabledfalse/enabled
  /releases
  /repository
 
  repository
  idMyFaces SNAPSHOT/id
  nameMyFaces SNAPSHOT Repository/name
  urlhttp://people.apache.org/repo/m2-snapshot-repository
  /url
  snapshots
  enabledtrue/enabled
  /snapshots
  releases
  enabledfalse/enabled
  /releases
  /repository
 
  repository
  idibiblio/id
  nameibiblio/name
  urlhttp://www.ibiblio.org/maven2/url
  snapshots
  enabledtrue/enabled
  /snapshots
  releases
  enabledfalse/enabled
  /releases
  /repository
  !--repository
  releases
  enabledfalse/enabled
  /releases
  snapshots
  enabledtrue/enabled
  /snapshots
  idapache.snapshots/id
  nameApache Snapshot Repository/name
  urlhttp://people.apache.org/repo/m2-snapshot-repository
  /url
  /repository--
 
  /repositories
 
 
  pluginRepositories
 
  pluginRepository
  idcentral/id
  nameMaven Plugin Repository/name
  layoutdefault/layout
  urlhttp://repo1.maven.org/maven2/url
 
  snapshots
  enabledtrue/enabled
  /snapshots
  releases
  updatePolicynever/updatePolicy
  /releases
  /pluginRepository
 
  pluginRepository
  idCodehaus Snapshots/id
  urlhttp://snapshots.repository.codehaus.org//url
  snapshots
  enabledtrue/enabled
  /snapshots
  releases
  enabledfalse/enabled
  /releases
  /pluginRepository
 
 
  /pluginRepositories
 
 
 
 
 
 
 
  On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:
  
   Hello.
  
   I don´t have the pom.xml to the file jta.jar
  
   The settings.xml is here
  
   Obs. sorry with this uggly questions. I´m dummy for maven
  
  
   On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
   
Attach your entire pom.xml and you scrubbed settings.xml please
   
   
   
   
   
On 

Re: Problems with maven

2007-02-26 Thread Edney Imme

And how i do to get this install plugin from maven repository ???

My proxy settings are correct. I'm sure about that.




On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


Hi Mick,

Yes.. That's correct.. He needs to get the install plugin from the maven
repository..

The default maven settings will guarantee that you can fetch this plugin
as
long as your proxy settings are correct and you have network
connectivity..
No need to specify a custom pluginRepository for this plugin..

Cheers
Jo

On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:

 But he needs to get certain plugins in order to install into his
 repository.


 Thus, having the correct Repositories set in the settings.xml would
 still
 be required right?



 On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
 
  Hi Mick,
 
  Edney is trying to install an external jar into his local repository..
 not
  trying to build a maven project..
  For all we know, this might not even be a maven-built jar.. Even if
 there
  was a pom, the settings would be irrelevant.
 
  The repository definitions in Edney's settings.xml seem to be valid,
so
 I
  really do think it is a network/proxy issue..
 
  Cheers
  Jo
 
  On 2/26/07, Mick Knutson [EMAIL PROTECTED] wrote:
  
   please send your pom.xml for this maven build. It looks like you
might
  not
   have the maven-install-plugin defined correctly in your pom.
  
   this is in my pom.xml for that plugin:
  
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-install-plugin/artifactId
   version2.1/version
   /plugin
  
  
  
   It is in your [MAVEN PROJECT HOME]/pom.xml where you where running
 this
   command from.
  
   Also, I put my repositories in my pom.xml like this:
  
   repositories
  
   repository
   idBackup/id
   nameMaven Repository Switchboard/name
   layoutdefault/layout
   urlhttp://repo1.maven.org/maven2/url
   snapshots
   enabledfalse/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository
  
   repository
   idApache Snapshots/id
   nameApache Development Repository/name
   urlhttp://cvs.apache.org/maven-snapshot-repository
/url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository
  
   repository
   idCodehaus Snapshots/id
   nameCodehaus/name
   urlhttp://snapshots.repository.codehaus.org//url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository
  
   repository
   idMyFaces SNAPSHOT/id
   nameMyFaces SNAPSHOT Repository/name
   url
http://people.apache.org/repo/m2-snapshot-repository
   /url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository
  
   repository
   idibiblio/id
   nameibiblio/name
   urlhttp://www.ibiblio.org/maven2/url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /repository
   !--repository
   releases
   enabledfalse/enabled
   /releases
   snapshots
   enabledtrue/enabled
   /snapshots
   idapache.snapshots/id
   nameApache Snapshot Repository/name
   url
http://people.apache.org/repo/m2-snapshot-repository
   /url
   /repository--
  
   /repositories
  
  
   pluginRepositories
  
   pluginRepository
   idcentral/id
   nameMaven Plugin Repository/name
   layoutdefault/layout
   urlhttp://repo1.maven.org/maven2/url
  
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   updatePolicynever/updatePolicy
   /releases
   /pluginRepository
  
   pluginRepository
   idCodehaus Snapshots/id
   urlhttp://snapshots.repository.codehaus.org//url
   snapshots
   enabledtrue/enabled
   /snapshots
   releases
   enabledfalse/enabled
   /releases
   /pluginRepository
  
  
   /pluginRepositories
  
  
  
  
  
  
  
   On 2/26/07, Edney Imme 

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

This is getting a really long thread..

Edney.. Delete your settings.xml file, create a new one and copy/paste the
content below into it:

?xml version=1.0 encoding=UTF-8?
settings
  proxies
  proxy
  activetrue/active
  protocolhttp/protocol
  host10.1.1.15/host
  port8015/port
  usernameEimme/username
  passwordEdNeYMImem/password
  /proxy
  proxies
/settings


Then, try to install your jar again..
If the install still fails, you're going to have to ask your network guy for
help on how to set this up since neither maven or this mailing list can do
anything about your network connectivity issues..

Cheers
Jo


On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:


And how i do to get this install plugin from maven repository ???

My proxy settings are correct. I'm sure about that.



Re: Problems with maven

2007-02-26 Thread Edney Imme

OK,
It still fails,

I be crazy

thank you everybody


On 2/26/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:


This is getting a really long thread..

Edney.. Delete your settings.xml file, create a new one and copy/paste the
content below into it:

?xml version=1.0 encoding=UTF-8?
settings
   proxies
   proxy
   activetrue/active
   protocolhttp/protocol
   host10.1.1.15/host
   port8015/port
   usernameEimme/username
   passwordEdNeYMImem/password
   /proxy
   proxies
/settings


Then, try to install your jar again..
If the install still fails, you're going to have to ask your network guy
for
help on how to set this up since neither maven or this mailing list can do
anything about your network connectivity issues..

Cheers
Jo


On 2/26/07, Edney Imme [EMAIL PROTECTED] wrote:

 And how i do to get this install plugin from maven repository ???

 My proxy settings are correct. I'm sure about that.






--
Att.
Edney Marcel Imme


Re: Problems with maven-ear-plugin version 2.3

2007-01-17 Thread Lee Meador

I had the same problem with other files in the META-INF directory (besides
application.xml). Websphere wants a was.policy file to be there to supply
java security settings. When the file disappeared from my ear, Websphere
suddenly hated my application. It was the new ear plugin version that caused
the file to be left out.

Setting the resources dir as described by Tom allowed it to work with ear
plugin 2.3. I did want to note for the archive where the tag Tom described
goes:

build
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-ear-plugin/artifactId
   configuration
 resourcesDir${project.build.outputDirectory}/resourcesDir
... other stuff probably goes here too ...
   /configuration
   plugin
 plugins
build

-- Lee

On 1/14/07, Stephane Nicoll [EMAIL PROTECTED] wrote:


Hi,

On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:
 I do not understand the reason for this change?
 why do I have to configure the resources directory on my own? the maven
 approach is convention over configuration, isn't it?
 or is it deprecated to use resources in this place? where should I place
 them instead?

Yes, it's deprecated. The ear resources directory has always been
src/main/application. In the early days, the resource plugin was bound
the the lifecycle which was a mistake. The problem is that the EAR
lifecycle is bundled with maven itself so it's pretty hard to modify
it.

The other problem is that the reourcesDir element does not appear as
deprecated in the generated doc while it's documented as is in the
code.

Resourcedir will be removed in EAR plugin 2.4 most probably. I just
need to be able to handle filters in the main resource directory
(src/main/application).

Do not hesitate if you have further questions/suggestions.

Regards,
Stéphane


 thanks for your help, Tobias.

 Tom Huybrechts schrieb:
  I had the same problem today
 
  Let me quote somebody:
 
  you can still make it work if you explicitely set the resources
directory
 
   configurationresourcesDir${project.build.outputDirectory
}/resourcesDir
 
   /configuration
 
  tom
 
  On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:
  Hello,
 
  when I use the maven-ear-plugin in its latest (released) version 2.3,
it
  seams that the plugin does not copy the resources any more. The build
  fails because it cannot locate the application.xml any more:
 
  [INFO]
 

  [ERROR] BUILD ERROR
  [INFO]
 

  [INFO] Deployment descriptor:
 
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm
 
  l does not exist.
 
  When I use the old version 2.2 everything works fine.
  Is this a bug or is the fault on my side? Do I have to change my
maven
  configuration when using version 2.3?
  Issue MEAR-47 is about removing the resourcesDir property - did that
  influence the resource handling in general?
 
  thanks for your comments,
  Tobias.
 
 
  -
  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]





--
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com


Re: Problems with maven-ear-plugin version 2.3

2007-01-14 Thread Stephane Nicoll

Hi,

On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:

I do not understand the reason for this change?
why do I have to configure the resources directory on my own? the maven
approach is convention over configuration, isn't it?
or is it deprecated to use resources in this place? where should I place
them instead?


Yes, it's deprecated. The ear resources directory has always been
src/main/application. In the early days, the resource plugin was bound
the the lifecycle which was a mistake. The problem is that the EAR
lifecycle is bundled with maven itself so it's pretty hard to modify
it.

The other problem is that the reourcesDir element does not appear as
deprecated in the generated doc while it's documented as is in the
code.

Resourcedir will be removed in EAR plugin 2.4 most probably. I just
need to be able to handle filters in the main resource directory
(src/main/application).

Do not hesitate if you have further questions/suggestions.

Regards,
Stéphane



thanks for your help, Tobias.

Tom Huybrechts schrieb:
 I had the same problem today

 Let me quote somebody:

 you can still make it work if you explicitely set the resources directory

  configurationresourcesDir${project.build.outputDirectory}/resourcesDir

  /configuration

 tom

 On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:
 Hello,

 when I use the maven-ear-plugin in its latest (released) version 2.3, it
 seams that the plugin does not copy the resources any more. The build
 fails because it cannot locate the application.xml any more:

 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Deployment descriptor:
 
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm

 l does not exist.

 When I use the old version 2.2 everything works fine.
 Is this a bug or is the fault on my side? Do I have to change my maven
 configuration when using version 2.3?
 Issue MEAR-47 is about removing the resourcesDir property - did that
 influence the resource handling in general?

 thanks for your comments,
 Tobias.


 -
 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: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tom Huybrechts

I had the same problem today

Let me quote somebody:

you can still make it work if you explicitely set the resources directory

 configurationresourcesDir${project.build.outputDirectory}/resourcesDir
 /configuration

tom

On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:

Hello,

when I use the maven-ear-plugin in its latest (released) version 2.3, it
seams that the plugin does not copy the resources any more. The build
fails because it cannot locate the application.xml any more:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Deployment descriptor:
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm
l does not exist.

When I use the old version 2.2 everything works fine.
Is this a bug or is the fault on my side? Do I have to change my maven
configuration when using version 2.3?
Issue MEAR-47 is about removing the resourcesDir property - did that
influence the resource handling in general?

thanks for your comments,
Tobias.


-
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: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tobias Jenkner

I do not understand the reason for this change?
why do I have to configure the resources directory on my own? the maven 
approach is convention over configuration, isn't it?
or is it deprecated to use resources in this place? where should I place 
them instead?


thanks for your help, Tobias.

Tom Huybrechts schrieb:

I had the same problem today

Let me quote somebody:

you can still make it work if you explicitely set the resources directory

 configurationresourcesDir${project.build.outputDirectory}/resourcesDir 


 /configuration

tom

On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:

Hello,

when I use the maven-ear-plugin in its latest (released) version 2.3, it
seams that the plugin does not copy the resources any more. The build
fails because it cannot locate the application.xml any more:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Deployment descriptor:
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm 


l does not exist.

When I use the old version 2.2 everything works fine.
Is this a bug or is the fault on my side? Do I have to change my maven
configuration when using version 2.3?
Issue MEAR-47 is about removing the resourcesDir property - did that
influence the resource handling in general?

thanks for your comments,
Tobias.


-
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: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Tom Huybrechts

I don't know why the defaults changed...
If you want the previous behaviour, fix your plugin version to 2.2

On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:

I do not understand the reason for this change?
why do I have to configure the resources directory on my own? the maven
approach is convention over configuration, isn't it?
or is it deprecated to use resources in this place? where should I place
them instead?

thanks for your help, Tobias.

Tom Huybrechts schrieb:
 I had the same problem today

 Let me quote somebody:

 you can still make it work if you explicitely set the resources directory

  configurationresourcesDir${project.build.outputDirectory}/resourcesDir

  /configuration

 tom

 On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:
 Hello,

 when I use the maven-ear-plugin in its latest (released) version 2.3, it
 seams that the plugin does not copy the resources any more. The build
 fails because it cannot locate the application.xml any more:

 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Deployment descriptor:
 
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm

 l does not exist.

 When I use the old version 2.2 everything works fine.
 Is this a bug or is the fault on my side? Do I have to change my maven
 configuration when using version 2.3?
 Issue MEAR-47 is about removing the resourcesDir property - did that
 influence the resource handling in general?

 thanks for your comments,
 Tobias.


 -
 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: Problems with maven-ear-plugin version 2.3

2007-01-11 Thread Wayne Fay

I ran into this myself and at first didn't know why suddenly my WAR
was showing up in the wrong contextPath. Then realized it was probably
due to the new EAR release.

So instead of changing the configuration to use my application.xml, I
just added some configuration to the EAR plugin node in pom.xml which
fully specifies my application.xml at build time. For config files
like this, I'd rather let Maven generate it than be responsible for it
myself.

Wayne

On 1/11/07, Tom Huybrechts [EMAIL PROTECTED] wrote:

I don't know why the defaults changed...
If you want the previous behaviour, fix your plugin version to 2.2

On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:
 I do not understand the reason for this change?
 why do I have to configure the resources directory on my own? the maven
 approach is convention over configuration, isn't it?
 or is it deprecated to use resources in this place? where should I place
 them instead?

 thanks for your help, Tobias.

 Tom Huybrechts schrieb:
  I had the same problem today
 
  Let me quote somebody:
 
  you can still make it work if you explicitely set the resources directory
 
   
configurationresourcesDir${project.build.outputDirectory}/resourcesDir
 
   /configuration
 
  tom
 
  On 1/11/07, Tobias Jenkner [EMAIL PROTECTED] wrote:
  Hello,
 
  when I use the maven-ear-plugin in its latest (released) version 2.3, it
  seams that the plugin does not copy the resources any more. The build
  fails because it cannot locate the application.xml any more:
 
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Deployment descriptor:
  
c:\Workspace\server\application\target\mpa-application-M2-SNAPSHOT\META-INF\application.xm
 
  l does not exist.
 
  When I use the old version 2.2 everything works fine.
  Is this a bug or is the fault on my side? Do I have to change my maven
  configuration when using version 2.3?
  Issue MEAR-47 is about removing the resourcesDir property - did that
  influence the resource handling in general?
 
  thanks for your comments,
  Tobias.
 
 
  -
  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: problems with Maven Eclipse

2006-08-17 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Parmar, Vijendra Singh wrote:
  
 
 Hi all,
Hi Vijendra,

first of all, this posting is kinda misplaced here on the developers list.
You should post stuff like this on the users list - anyways...
 
 I have integrated Maven with Eclipse 
 
 I tried with both Maven 1.0 and Maven 2.0
forget Maven 1.0 ;)
 
 But whenever I execute commands like 
 
  Maven  site or
 
  mvn eclipse:eclipse
 
  or mvn jars:jars
 
  mvn plugins:plugins 
 
   or any other I am always facing error as its not able to get
 respective jars by comnnecting to wherever it requires to connect.
Do you have an own project that you want to set up with maven?
Have you read the documentation?
Did you create an appropriate pom.xml for your project?

Or do you want to build an existing project with maven?
Then see if it comes with a project.xml (- maven1) or with a pom.xml 
(-maven2).

If you are talking about connection problems then you might sit behind
a proxy server. In this case please consult:
http://maven.apache.org/guides/mini/guide-proxies.html

If you have problems with your network / connecting to the internet
then you are also wrong on this mailing list. Better consult mailing lists
according to your operating system.
 
 I have even downloaded these files manually and tried to put them in
 respective folders/plugins.
 
 Even more than that I unjared them and kept these files in
 .m2/repositiories/respective jar name folder/jars/ here
 
 But finally no use.
 
  
 
 I tried to configure Eclipse by going to 
 
 Eclipse
 
 Helpsoftware updatesfind and installsearch for a new feature to
 installm2 plugin(site referring is http://m2eclipse.codehaus.org/
 )finish it always try to connect and fails says network connection
 failure  :
 
  
 
 Network connection problems encountered during search.
 
   Unable to access http://m2eclipse.codehaus.org/;.
 
 Unable to access site: http://m2eclipse.codehaus.org/;
 [java.io.IOException]
 
 Unable to access site: http://m2eclipse.codehaus.org/;
 [java.io.IOException]

Seems to be the same problem.
If it is not a proxy, your internect connection is broken...
 
  
 
 Now please tell me what to do now.
No worries ;)
 
  
 
 How can I find out or solve this problem.
I hope that I could help you in any way.
If you have further questions about using maven please consult the users list.
 
  
 
 Thanks
 
  
 
  
 
 Vijendra Singh
Take care
  Jörg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFE5NAImPuec2Dcv/8RAmhMAJ9EF7h2WPB3TTalzG59LhDT8IgmmACfauW8
Zw3pfHOmTZeeFbYn4okIYiA=
=3si1
-END PGP SIGNATURE-

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



RE: Problems con maven-plugin-java

2006-07-12 Thread Mike Perham
'mvn compile' is what you want.  'mvn clean install' is what I use 90% of the 
time.

-Original Message-
From: ThE-cLoN NoLc-EhT [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 6:24 AM
To: users@maven.apache.org
Subject: Problems con maven-plugin-java

i need help, i newbie in maven

i am compile java proyect

mvn java:compile

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix:
'java'.
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] null
[INFO]

[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.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: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)
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Jul 12 13:21:24 MEST 2006
[INFO] Final Memory: 1M/6M
[INFO]



i haven't idea

tnk




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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


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



RE: Problems with maven-project-info-reports-plugin

2005-10-20 Thread Vincent Siveton
Hi,

It is a known bug
http://jira.codehaus.org/browse/MNG-1216
http://jira.codehaus.org/browse/MNG-1239

Corrected in SVN

Cheers,

Vincent

 -Original Message-
 From: Jørgen Solberg [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 20, 2005 7:03 AM
 To: users@maven.apache.org
 Subject: Problems with maven-project-info-reports-plugin
 
 Seems like it's still a problem with the plugin.
   [ERROR] FATAL ERROR
 [INFO]
 -
 ---
 [INFO] Can't find bundle for base name project-info-report, locale no_NO
 [INFO]
 -
 ---
 [INFO] Trace
 java.util.MissingResourceException: Can't find bundle for base name
 project-info
 -report, locale no_NO
 at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
 .java:804)
 at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
 at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
 at org.apache.maven.report.projectinfo.CimReport.getBundle(CimReport.jav
 a:260)
 at org.apache.maven.report.projectinfo.CimReport.getName(CimReport.java:
 80)
 at org.apache.maven.plugins.site.ReportComparator.compare(ReportComparat
 or.java:40)
 at java.util.Arrays.mergeSort(Arrays.java:1278)
 at java.util.Arrays.mergeSort(Arrays.java:1289)
 at java.util.Arrays.sort(Arrays.java:1219)
 at java.util.Collections.sort(Collections.java:155)
 at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:239)
 at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
 nManager.java:399)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
 ultLifecycleExecutor.java:519)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
 fecycle(DefaultLifecycleExecutor.java:469)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
 ltLifecycleExecutor.java:448)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
 dleFailures(DefaultLifecycleExecutor.java:301)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
 ts(DefaultLifecycleExecutor.java:268)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
 fecycleExecutor.java:137)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
 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)
 [INFO]
 -
 ---
 [INFO] Total time: 9 seconds
 [INFO] Finished at: Thu Oct 20 12:45:00 CEST 2005
 [INFO] Final Memory: 6M/12M
 [INFO]
 -
 ---


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



RE: problems with Maven 1.1 -beta-1 in defining entities in project.xml

2005-09-12 Thread Jörg Schaible
Andy Glick wrote on Saturday, September 10, 2005 4:10 AM:

 Marco,
 
 When I executed maven pom:validate on your project.xml file
 I found 2
 lines that the Modello generated parser rejected.
 
 1) Maven 1.1 no longer supports XML entities as a means of
 including XML
 fragments

This is a complete show-stopper for Maven 1.1 for us. We make heavily use of 
XML entities for all kind of information in the POMs and we use company wide 
system entities and entitiy overload mechanism.

- Jörg

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



Re: problems with Maven 1.1 -beta-1 in defining entities in project.xml

2005-09-12 Thread Brett Porter
http://jira.codehaus.org/browse/MODELLO-18

when this is fixed it will be possible (however, it will be a non-default 
option)

- Brett

On 9/12/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 
 Andy Glick wrote on Saturday, September 10, 2005 4:10 AM:
 
  Marco,
 
  When I executed maven pom:validate on your project.xml file
  I found 2
  lines that the Modello generated parser rejected.
 
  1) Maven 1.1 no longer supports XML entities as a means of
  including XML
  fragments
 
 This is a complete show-stopper for Maven 1.1 for us. We make heavily use 
 of XML entities for all kind of information in the POMs and we use company 
 wide system entities and entitiy overload mechanism.
 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



RE: problems with Maven 1.1 -beta-1 in defining entities in project.xml

2005-09-12 Thread Jörg Schaible
Hi Brett,

Brett Porter wrote on Monday, September 12, 2005 8:46 AM:

 http://jira.codehaus.org/browse/MODELLO-18
 
 when this is fixed it will be possible (however, it will be a
 non-default option)

that will be good. I followed the discussion for M2 close enough, to be quite 
sure, that we can do with M2 what we currently do with M1  entitites. But for 
M1.x we're stuck and need a way to enable system entities.

- Jörg

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



  1   2   >