[ http://jira.codehaus.org/browse/MECLIPSE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MECLIPSE-633. -------------------------------------- Resolution: Fixed Fix Version/s: 2.8 Assignee: Benjamin Bentmann Fixed in [r912444|http://svn.apache.org/viewvc?view=revision&revision=912444]. > [Maven 3] j2ee-simple integration test fails > -------------------------------------------- > > Key: MECLIPSE-633 > URL: http://jira.codehaus.org/browse/MECLIPSE-633 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: Core : .project > Affects Versions: 2.7 > Reporter: Peter Lynch > Assignee: Benjamin Bentmann > Fix For: 2.8 > > > Failure is due to MNG-4523 when running integration tests with Maven > 3.0-alpha-6 > The project names are not written correctly to the child project's .project > file. This is because the EclipsePlugin mojo can't find the Plugin model in > the MavenProject it has, and consequently can't find the projectNameTemplate > value specified in the parent pom. Instead it uses the [artifactId] template > fallback and so the comparison to expected values fails with > {code} > unit.framework.ComparisonFailure: Comparing > '/Users/plynch/dev/apache/maven/plugins/branches/MECLIPSE-626/target/test-classes/projects/j2ee-simple/ear/.project' > against > '/Users/plynch/dev/apache/maven/plugins/branches/MECLIPSE-626/target/test-classes/projects/j2ee-simple/ear/expected/.project' > at line #5 expected:< <project>ejbs[-1.0-SNAPSHOT]</project>> but was:< > <project>ejbs[]</project>> > at junit.framework.Assert.assertEquals(Assert.java:81) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.assertTextFileEquals(AbstractEclipsePluginIT.java:638) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.assertFileEquals(AbstractEclipsePluginIT.java:576) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.compareDirectoryContent(AbstractEclipsePluginIT.java:547) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.testProject(AbstractEclipsePluginIT.java:341) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.testProject(AbstractEclipsePluginIT.java:283) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.testProject(AbstractEclipsePluginIT.java:265) > at > org.apache.maven.plugin.eclipse.it.AbstractEclipsePluginIT.testProject(AbstractEclipsePluginIT.java:238) > at > org.apache.maven.plugin.eclipse.it.EclipsePluginIT.testJeeSimple(EclipsePluginIT.java:695) > {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira