I don't know if the tutorial is incorrect, hasn't been followed or is out of date.
JDT will only allow you to create a Java package in a folder that has been designated as a Java Source folder; as I mentioned in my previous message this probably means you declared the wrong packaging type in the maven pom. On 8 February 2013 10:22, Ulrich Schmidt <[email protected]>wrote: > As I already said, I'm working on a sample: "CQ5: Developing with Eclipse" > ( > http://dev.day.com/docs/en/cq/current/developing/developmenttools/developing_with_eclipse.html?cq_ck=1360336344421#Creating%20the%20Project%20Structure%20in%20Eclipse > ). > This sample requires plugin "Maven Integration for Eclipse" to be > installed. > After creating a Maven Project I'm supposed to create a package within the > folder src/main/java - that's all. > The sample isn'T a new one - so I'm convinced that it should normally > work. I > want to make sure that I did not miss something to install or activate > which has > been forgotten in this sample. > Any idea what I can do here? > Ulrich > > Matthew Piggott <[email protected]> hat am 8. Februar 2013 um 15:48 > geschrieben: > > > Sounds like you probably created a project with a packaging type other > than > > jar. > > > > > > On 8 February 2013 09:42, Ulrich Schmidt < > [email protected] > > <mailto:[email protected]> > wrote: > > > > 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. > > > > > > _______________________________________________ > > > m2e-users mailing list > > > [email protected] <mailto:[email protected]> > > > https://dev.eclipse.org/mailman/listinfo/m2e-users > > > <https://dev.eclipse.org/mailman/listinfo/m2e-users> > > > > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
