Hi All,

Sorry for the beginners question but I was unable to find answer
anywhere else. I am currently playing with Maven 2 with the goal of
replacing our ant build script. I got stuck trying to add jaxb
generation to the project. I added maven-jaxb-plugin plug in to the
plugins section but can't to make it run.

I am executing maven with this command: m2 clean:clean package

m2 always does [clean:clean], [resources:resources], [compiler:compile].

Here is the section of pom.xml that defines plug in:

        <plugins>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jaxb-plugin</artifactId>
                        <version>1.0</version>
                                <goals>
                                        <goal>
                                                <id>generate-sources</id>
                                        </goal>
                                </goals>                        
                </plugin>
        </plugins>

I would appreciate any help,

Thanks,
Vitaliy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to