repaint-io / maven-tiles

Injecting maven configurations by composition rather than inheritance
154 stars 32 forks source link

MavenSession#getAllProjects method not found #39

Closed talios closed 8 years ago

talios commented 8 years ago

Looks like MavenSession#getAllProjects is a not a blessed method and even carries a comment of:

/** This is a provisional method and may be removed */

It looks like this was actually removed in the upcoming Maven 3.3.7 release, and also not available in the version of Maven IntelliJ IDEA ships with by default.

rvowles commented 8 years ago

If you spot this, we need to know what it has been replaced with. There is possibly "projects".

rvowles commented 8 years ago

There is no 3.3.7 or 3.3.8 - only 3.3.3 and 3.3.9

http://archive.apache.org/dist/maven/maven-3/

rvowles commented 8 years ago

we are not using getAllProjects, it doesn't exist in 3.2.x and is new and deprecated in 3.3.x it appears.

talios commented 8 years ago

This was actually resolved in commit edc5b1135444c1a1706b02488910e5ec1e8a64cb, I forgot to tag the issue tho.

talios commented 8 years ago

RE: There is no 3.3.7 or 3.3.8 - only 3.3.3 and 3.3.9 - there were, they were versions up for release vote. And that was the version where the change was noticed.

nrvmodi commented 7 years ago

When I have maven version 3.3.9, pom.xml file will give an error 'MavenSession#getAllProjects method not found' but I had downgrade my maven version from 3.3.9 to 2.2.1 and my problem was resolved.