You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stephane Landelle (JIRA)" <ji...@apache.org> on 2008/02/27 15:03:54 UTC
[jira] Created: (JCR-1430) mvn eclipse:eclipse inconsistent
mvn eclipse:eclipse inconsistent
--------------------------------
Key: JCR-1430
URL: https://issues.apache.org/jira/browse/JCR-1430
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-core, jackrabbit-spi-commons
Affects Versions: 1.5
Environment: mac os
europa
javacc-maven-plugin v2.4
Reporter: Stephane Landelle
Priority: Trivial
mvn eclipse:eclipse result is inconsistent, due to deprecated avacc-maven-plugin usage.
should use piped "jjtree-javacc" goal.
core :
<execution>
<id>fulltext-jjtree</id>
<configuration>
<sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
<timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
<packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName>
</configuration>
<goals>
<goal>jjtree-javacc</goal>
</goals>
</execution>
spi-commons:
<execution>
<id>sql-jjtree-javacc</id>
<configuration>
<sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
<timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
<packageName>org.apache.jackrabbit.spi.commons.query.sql</packageName>
</configuration>
<goals>
<goal>jjtree-javacc</goal>
</goals>
</execution>
<execution>
<id>xpath-jjtree-javacc</id>
<configuration>
<sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
<outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
<timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
<packageName>org.apache.jackrabbit.spi.commons.query.xpath</packageName>
</configuration>
<goals>
<goal>jjtree-javacc</goal>
</goals>
</execution>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (JCR-1430) mvn eclipse:eclipse inconsistent
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting reassigned JCR-1430:
----------------------------------
Assignee: Jukka Zitting
> mvn eclipse:eclipse inconsistent
> --------------------------------
>
> Key: JCR-1430
> URL: https://issues.apache.org/jira/browse/JCR-1430
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core, jackrabbit-spi-commons
> Affects Versions: 1.5
> Environment: mac os
> europa
> javacc-maven-plugin v2.4
> Reporter: Stephane Landelle
> Assignee: Jukka Zitting
> Priority: Trivial
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> mvn eclipse:eclipse result is inconsistent, due to deprecated avacc-maven-plugin usage.
> should use piped "jjtree-javacc" goal.
> core :
> <execution>
> <id>fulltext-jjtree</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> spi-commons:
> <execution>
> <id>sql-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.sql</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> <execution>
> <id>xpath-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.xpath</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-1430) mvn eclipse:eclipse inconsistent
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1430:
-------------------------------
Priority: Minor (was: Trivial)
Affects Version/s: (was: 1.5)
Fix Version/s: 1.5
Issue Type: Improvement (was: Bug)
Perfect! I've been waiting for this for a long while. I'll get this committed in a moment...
> mvn eclipse:eclipse inconsistent
> --------------------------------
>
> Key: JCR-1430
> URL: https://issues.apache.org/jira/browse/JCR-1430
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core, jackrabbit-spi-commons
> Environment: mac os
> europa
> javacc-maven-plugin v2.4
> Reporter: Stephane Landelle
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.5
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> mvn eclipse:eclipse result is inconsistent, due to deprecated avacc-maven-plugin usage.
> should use piped "jjtree-javacc" goal.
> core :
> <execution>
> <id>fulltext-jjtree</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> spi-commons:
> <execution>
> <id>sql-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.sql</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> <execution>
> <id>xpath-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.xpath</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1430) mvn eclipse:eclipse inconsistent
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved JCR-1430.
--------------------------------
Resolution: Fixed
Committed in revision 631908. Thanks, this makes many people happy!
> mvn eclipse:eclipse inconsistent
> --------------------------------
>
> Key: JCR-1430
> URL: https://issues.apache.org/jira/browse/JCR-1430
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core, jackrabbit-spi-commons
> Environment: mac os
> europa
> javacc-maven-plugin v2.4
> Reporter: Stephane Landelle
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.5
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> mvn eclipse:eclipse result is inconsistent, due to deprecated avacc-maven-plugin usage.
> should use piped "jjtree-javacc" goal.
> core :
> <execution>
> <id>fulltext-jjtree</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> spi-commons:
> <execution>
> <id>sql-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.sql</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> <execution>
> <id>xpath-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.xpath</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1430) mvn eclipse:eclipse inconsistent
Posted by "Benjamin Bentmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601063#action_12601063 ]
Benjamin Bentmann commented on JCR-1430:
----------------------------------------
You could further simplify your config for the javacc-maven-plugin by merging the executions. The plugin is capable of determing the package name from the parser file, so the parameter {{packageName}} is not needed (and is actually not even evaluated by the {{jjtree-javacc}} goal). The parameter {{sourceDirectory}} could in both cases be extended to {{src/main/javacc}}:
{code:xml}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<sourceDirectory>src/main/javacc</sourceDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>jjtree-javacc</goal>
</goals>
</execution>
</executions>
</plugin>
{code}
In principle, this config should allow you to drop in new grammers without the need to touch the plugin config in the POM. Also, having the {{<configuration>}} outside of the {{<executions>}} enables you to invoke the plugin directly on the command line, i.e. "mvn javacc:jjtree-javacc".
> mvn eclipse:eclipse inconsistent
> --------------------------------
>
> Key: JCR-1430
> URL: https://issues.apache.org/jira/browse/JCR-1430
> Project: Jackrabbit
> Issue Type: Improvement
> Components: jackrabbit-core, jackrabbit-spi-commons
> Environment: mac os
> europa
> javacc-maven-plugin v2.4
> Reporter: Stephane Landelle
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.5
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> mvn eclipse:eclipse result is inconsistent, due to deprecated avacc-maven-plugin usage.
> should use piped "jjtree-javacc" goal.
> core :
> <execution>
> <id>fulltext-jjtree</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> spi-commons:
> <execution>
> <id>sql-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.sql</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
> <execution>
> <id>xpath-jjtree-javacc</id>
> <configuration>
> <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory>
> <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory>
> <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory>
> <packageName>org.apache.jackrabbit.spi.commons.query.xpath</packageName>
> </configuration>
> <goals>
> <goal>jjtree-javacc</goal>
> </goals>
> </execution>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.