You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Parmar, Vijendra Singh" <Vi...@ca.com> on 2006/08/17 15:36:01 UTC

problems with Maven Eclipse

 

Hi all,

I have integrated Maven with Eclipse 

I tried with both Maven 1.0 and Maven 2.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.

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

Help>software updates>find and install>search for a new feature to
install>m2 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]

 

Now please tell me what to do now.

 

How can I find out or solve this problem.

 

Thanks

 

 

Vijendra Singh


Re: problems with Maven Eclipse

Posted by Joerg Hohwiller <jo...@j-hohwiller.de>.
-----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
> 
> Help>software updates>find and install>search for a new feature to
> install>m2 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org