Hi, 

i´m using 0.9.5 Version of m2eclipse.
At the (Maven)properties of my project, i configured "package" as the goal 
that should be invoked, when cleaning the project, 
as described in 

http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ#ProjectFAQ-HowtoconfigureMavenprojecttouseseparateoutputfoldersinEclipse

In my pom.xml I have

                        <plugin>
 <groupId>com.sun.tools.xjc.maven2</groupId>
                                <artifactId>maven-jaxb-plugin</artifactId>
 
                                <executions>
                                        <execution>
                                                <id>test</id>
 <phase>generate-test-sources</phase>
                                                <goals>
 <goal>generate</goal>
                                                </goals>
                                                <configuration>
 
<schemaDirectory>src/test/resources/schemas/com/gide/common/jaxb/</schemaDirectory>
                                                        <includeSchemas>
 <includeSchema>test.xsd</includeSchema>
                                                        </includeSchemas>
 <generatePackage>com.gide.common.jaxb</generatePackage>
 
<generateDirectory>${project.basedir}/${target.dir}/generated-test-sources/java</generateDirectory>
                                                </configuration>
                                        </execution>

                                </executions>
                        </plugin>

I´m now waiting for Maven to generate-test-sources, when cleaning in 
Eclipse.
But nothing happens......which results into a compile error, because the 
generated-sources are missing.

Any idea?

Thanx, Torsten

Reply via email to