Hi All,

I'm having an issue when generating java sources in Maven versus with 
AntlrWorks. AntlrWorks seems to generate a perfectly fine size parser and lexer 
but in Maven the source code gets bloated to the point that it won't compile. 
We are using a helper plugin to compile other source files with the generated 
sources. Below is the applicable portions of the pom file. I'm hoping it's just 
a configuration I can change. If there is anything else I could provide to help 
resolve this issue please let me know.

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                
<artifactId>build-helper-maven-plugin</artifactId>
                                <version>1.0</version>
                                <executions>
                                        <execution>
                                                <id>add-source</id>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>add-source</goal>
                                                </goals>
                                                <configuration>
                                                        <sources>
                                                                
<source>target/generated-sources/antlr3</source>
                                                        </sources>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

                        <plugin>
                                <groupId>org.antlr</groupId>
                                <artifactId>antlr3-maven-plugin</artifactId>
                                <version>3.1.3-1</version>

                                <executions>
                                        <execution>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        <goal>antlr</goal>
                                                </goals>
                                        </execution>
                                </executions>

                        </plugin>

                <dependency>
                        <groupId>org.antlr</groupId>
                        <artifactId>antlr-runtime</artifactId>
                        <version>3.1.3</version>
                </dependency>
                <dependency>
                        <groupId>org.antlr</groupId>
                        <artifactId>stringtemplate</artifactId>
                        <version>3.2</version>
                </dependency>



Thanks,
Paul Ramirez
Senior Computer Scientist
Jet Propulsion Laboratory

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to