Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to open a package in a Maven Project(New -- Package fails with "Source folder is not a Java project.")
How to open a package in a Maven Project [message #1007754] Thu, 07 February 2013 12:19 Go to next message
Ulrich Schmidt is currently offline Ulrich SchmidtFriend
Messages: 11
Registered: January 2013
Junior Member
I'm starting with Maven and work on a sample which requests me to create a package within a Maven Project. But this fails; Eclipse Juno rejects the request with message "Source folder is not a Java project.".
I've installed "Maven Integration for Eclipse" from the Eclipse Marketplace and started with an empty workspace.
There is another problem pending: After creating the Maven Project the pom.xml-file is indcated as being in error. I will post this in another thread but want to mention it here; I don't think so but maybe it helps explaining the error in this post.
Re: How to open a package in a Maven Project [message #1007885 is a reply to message #1007754] Thu, 07 February 2013 22:35 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
check the m2e-users list [1] for questions regarding the "Maven Integration for Eclipse".
That said, m2e has a feature for creating the configuration files which Eclipse needs to recognize a project as a Java project (assuming you have a valid pom at that point).

[1] https://dev.eclipse.org/mailman/listinfo/m2e-users
Re: How to open a package in a Maven Project [message #1007986 is a reply to message #1007885] Fri, 08 February 2013 14:34 Go to previous messageGo to next message
Ulrich Schmidt is currently offline Ulrich SchmidtFriend
Messages: 11
Registered: January 2013
Junior Member
If you know the exact post, couldn't you post it here. I didn't find anything.
Re: How to open a package in a Maven Project [message #1008040 is a reply to message #1007986] Fri, 08 February 2013 15:46 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Ulrich Schmidt wrote on Fri, 08 February 2013 15:34
If you know the exact post, couldn't you post it here. I didn't find anything.

I didn't mean to refer to a particular post, but that's where you should ask your question (if it hasn't been answered already).
Re: How to open a package in a Maven Project [message #1008520 is a reply to message #1008040] Tue, 12 February 2013 19:58 Go to previous messageGo to next message
Ulrich Schmidt is currently offline Ulrich SchmidtFriend
Messages: 11
Registered: January 2013
Junior Member
It has been answered since yesterday. The problem was that Maven needs direct internet connection and I was shielded by a firewall. This way Maven couldn't initialize. Now at least this problem has been solved.
Thank you.
Re: How to open a package in a Maven Project [message #1010731 is a reply to message #1008520] Mon, 18 February 2013 06:06 Go to previous message
sankalp tech is currently offline sankalp techFriend
Messages: 1
Registered: February 2013
Junior Member
Amazing information posted about eclipse packages.
Previous Topic:Eclipse RCP Crash "java was started but returned exit code = -805306369"
Next Topic:Ubuntu gesture panels
Goto Forum:
  


Current Time: Fri Apr 19 20:46:00 GMT 2024

Powered by FUDForum. Page generated in 0.03627 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top