hi there
I am trying to compile this product and all compilation succeed, with some minor warnings like this:
[WARNING] Some problems were encountered while building the effective model for org.apache.solr.search:probabilistic-query-parser:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 8, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
however when try to produce the JAR file wit:
mvn package
I am getting this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on project probabilistic-query-parser: Compilation failure
[ERROR] /home/creangel/Downloads/solr/probablistic-query-parser/src/test/java/testQueries.java:[23,7] error: class TestQueries is public, should be declared in a file named TestQueries.java
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
could you please help me?
thanks in advance
angelo
hi there I am trying to compile this product and all compilation succeed, with some minor warnings like this:
however when try to produce the JAR file wit:
mvn package
I am getting this error:could you please help me? thanks in advance angelo