wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Maven Plugin for Eclipse Helios Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Maven Plugin for Eclipse Helios" Watch "Maven Plugin for Eclipse Helios" New topic
Author

Maven Plugin for Eclipse Helios

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi ,

Does any one configured maven in eclipse helios successfully.

I tried many different url for downloading plugins, it always fails.

If, you have done it successfully, can you please help me.

Thanks,
Bennet Xavier.
Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
I downloaded the apache-maven-3.0.3.zip and extracted it (Ex. C:\).

Right click My Computer --> Properties --> Advanced --> Environment Variables

Click on New under the System variables

Double click the Path system variable and click on Edit

Variable name: Path and Variable value: <existing value>; C:\apache-maven-3.0.3\bin

Press OK --> OK to exit
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi Natalie,

Thanks for your reply.

This will setup only maven in my system.

I wanted to enable maven plugin in eclipse, so that i can create maven project in eclipse easily.

I tried downloading plugins from different paths. But, no use.

Thanks In Advance,
Bennet Xavier.
Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
Did you try:

Eclipse --> Help --> Eclipse Marketplace ... --> look for the Maven Integration for Eclipse --> press the Install button
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi Natalie,

I was trying with helio 3.6.2

I just started using 3.6.1, it works fine.

In 3.6.2, i am not able to see marketplace itself.

Thank you very much for your time.
Bennet Xavier.
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi,

But eclipse 3.6.1 for 64 bit in 64 bit OS, its not working.
eclipse 3.6.1 for 32 bit in 32 bit OS, its working.

Any idea about this.

Thanks In Advance,
Bennet.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I running 64 bit Eclipse (both 3.6 and 3.7) on 64-bit Windows, and the m2e plugin (which provides Maven support) installed and works just fine. I installed m2e from the Eclipse marketplace. The plugin itself does not have any non-Java components so it should just work with both 32-bit and 64-bit versions of Eclipse.

Exactly what is not working? It would help if you detailed exactly what you are doing and what problems you are seeing.

Also, how did you go from 3.6.1 to 3.6.2? By doing an upgrade within Eclipse? I have found that upgrades tend to fail on me way too often so I avoid them. Instead, I grab the new version and install it in a new location.


JBoss In Action
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi,

Mine is 64 bit OS and in my office its 32 bit.

64 bit eclipse in my system, cant download anything, not only this, even gwt also.

when i tried 32 bit eclipse in my system, it works fine.

System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 23 Stepping 10 GenuineIntel ~2200 Mhz
BIOS Version: American Megatrends Inc. R4060Y0, 24-08-2009

I dont know, 64 bit fails.

Thanks In Advance,
Bennet.
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5


I dont know, 64 bit fails.

This is not a very helpful description. What exactly fails? And what (if any) error messages do you get?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Go back and reread my post!

The problem is that I cannot come to you and watch over your shoulder as you do things. If I could do that, I could help you. But since I cannot do that, you have to describe in detail what it is you are doing and what you are seeing. If you cannot do that, then I cannot help you.
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi Peter and James,

Thanks for your time,

Let me explain clearly, I downloaded eclipse 3.6.1 (64 bit) for 64 bit OS (My Machine) and tried Help -> Install New Software and pasted the http://m2eclipse.sonatype.org/sites/m2e/

It was showing error, Permission Denied in a pop window.

I tried the same URL with eclipse 3.6.1 (32 bit) in 64 bit OS (My Machine), it was working properly, i got all the things properly downloaded and working fine.

I really, don't know why the 64 bit version if eclipse fails in My Machine, which has 64 bit windows 7.

"I don't know, 64 bit fails." (I meant the 64 bit eclipse fails in my machine).

I am in office now, I will paste the screen shot (with error pop up window) once i reach my room.

Thanks In Advance,
Bennet.
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5

Bennet

Just to be clear - you have tried both 32 and 64 bit versions of eclipse on the same 64 bit machine.
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi,

Yes, you are right.

I tried all this in 64 bit machine.

Thanks,
Bennet
James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5

Bennet

Instead of using the update site, have you tried downloading the m2e plugin using the eclipse Marketplace tool?
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi James,

I tried that also, when i paste the link, it pops up with the error permission denied.

To check whether the eclipse works fine or not, i tried the GWT link for configuring, it was giving same message "permission denied"...

I tried, copying all the plugins and features, which are downloaded in 32 bit eclipse(which is working in my machine). then eclipse stopped opening.

Thanks,
James.

James Boswell
Bartender

Joined: Nov 09, 2011
Posts: 1012
    
    5

Bennet

What OS are you using? And under which directory is eclipse installed?
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi James,

I am using Windows 7 Home premium, C:\home\bennet\tech\IDE\eclipse-jee-helios-SR1-win32-x86_64\eclipse i have installed eclipse 3.6.1 (64 bit).

Please find the attached file with errors for maven and GWT.

Thanks,
Bennet.






[Thumbnail for Error.jpg]


[Thumbnail for Eclipse_GWT_Error.jpg]

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

When you originally wrote about permission errors, I imagined file permission errors. But these are web site permission errors. To prevent such misunderstandings in the future, always post the exact text of the error message(s).

For some reason, you are being blocked from accessing the web sites for the plugins. Here are some things to look into:

a) Can you access the URLs given in the error messages using a browser?

b) Is there are firewall blocking your access? This can happen in a corporate environment.

c) Are you using a proxy server to access the internet?
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi,

If that is the reason, then eclipse 3.6.1 (32 bit) shouldn't work properly.

But, it downloads all the plugins and features without any problem.

I can see all the links in browser.
No fire wall.
No proxy server.

Thanks,
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Then there is an issue with the 64-bit JVM that you are using to run Eclipse. Either that, or there is an issue with the 64-bit Windows winsock DLL (which the JVM uses to perform internet access). You could try running the 64-bit version of IE and see if that will let you access the URLs. If you can, that eliminates the winsock DLL as the issue.

Please post the results of "java -version" for both your 32-bit and 64-bit JVMs.

You should also run Process Explorer from sysinternals and check which DLLs are being loaded for each JVM. Perhaps something there will tell us what the issue is. If you are not sure, you could post the DLL list and I could compare with mine.
Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi Peter,

I don't have 32 bit java, I use only 64 bit java in my machine.

I am able to access the url from borwser (IE8)
Please find the details attached.




Thank You Very Much...
Bennet.




[Thumbnail for JVM_Version.jpg]

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I don't have 32 bit java, I use only 64 bit java in my machine.

Then how could this work when you use a 32-bit Eclipse??? 32-bit Eclipse will not work with a 64-bit JVM!

Your list of DLLs looks fairly similar to mine, and I don't see any that cause me alarm. But here are some that might of interest:

c:\Program Files\WIDCOMM\Bluetooth Software\btmmhook.dll - I don't have this one

C:\Windows\system32\mswsock.dll - mine is larger:
0x00000000fd2b0000 0x55000 6.1.7601.17514 C:\Windows\system32\mswsock.dll

You don't have this winsock DLL:
0x00000000fb1d0000 0x9000 6.1.7600.16385 C:\Windows\system32\WSOCK32.dll

I don't have TortoiseSVN installed, thus I don't have the TortoiseSVN DLLs. I have no idea if that makes a difference or not.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Maven Plugin for Eclipse Helios
 
Similar Threads
Error in program
Installing findbugs plugin for eclipse ganymede
The absolute uri cannot be re
Eclipse Error
Steps for Integration of corbetura plugin in eclipse IDE