You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Fuad Efendi <fu...@tokenizer.ca> on 2012/06/17 19:35:34 UTC

Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on project lucene-test-framework

Hi,


I have following (trying to build trunk version of Lucene/Solr):

[ERROR] Failed to execute goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on
project lucene-test-framework: Execution bundle-manifest of goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest failed: A Jar can only
accept a valid file or directory:
/java/src/lucene_solr/lucene/build/lucene-core-4.0-SNAPSHOT.jar -> [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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :lucene-test-framework


What is thatŠ thanks



RE: Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on project lucene-test-framework

Posted by Steven A Rowe <sa...@syr.edu>.
Hi Fuad,

I didn't get this error on trunk when I ran "mvn -DskipTests install" from the top-level directory just now.

What command did you give?

What version/vendor of Java and version of Maven are you using?  What operating system?

Steve

From: Fuad Efendi [mailto:fuad.efendi@tokenizer.ca]
Sent: Sunday, June 17, 2012 1:36 PM
To: lucene-dev
Subject: Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on project lucene-test-framework

Hi,


I have following (trying to build trunk version of Lucene/Solr):

[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on project lucene-test-framework: Execution bundle-manifest of goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest failed: A Jar can only accept a valid file or directory: /java/src/lucene_solr/lucene/build/lucene-core-4.0-SNAPSHOT.jar -> [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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :lucene-test-framework


What is that... thanks

Re: Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on project lucene-test-framework

Posted by Fuad Efendi <fu...@efendi.ca>.
I forgot to run ANT, and I had old versions of pom files in wrong locationsŠ

ant generate-maven-artifacts
ant get-maven-poms
cd maven-build
mvn clean install

Fixed, thanks


From:  Fuad Efendi <fu...@efendi.ca>
Reply-To:  lucene-dev <de...@lucene.apache.org>
Date:  Sunday, 17 June, 2012 1:36 PM
To:  lucene-dev <de...@lucene.apache.org>
Subject:  Failed to execute goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on
project lucene-test-framework

Hi,


I have following (trying to build trunk version of Lucene/Solr):

[ERROR] Failed to execute goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on
project lucene-test-framework: Execution bundle-manifest of goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest failed: A Jar can only
accept a valid file or directory:
/java/src/lucene_solr/lucene/build/lucene-core-4.0-SNAPSHOT.jar -> [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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :lucene-test-framework


What is thatŠ thanks



Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on project lucene-test-framework

Posted by Fuad Efendi <fu...@efendi.ca>.
Hi,


I have following (trying to build trunk version of Lucene/Solr):

[ERROR] Failed to execute goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest (bundle-manifest) on
project lucene-test-framework: Execution bundle-manifest of goal
org.apache.felix:maven-bundle-plugin:2.3.4:manifest failed: A Jar can only
accept a valid file or directory:
/java/src/lucene_solr/lucene/build/lucene-core-4.0-SNAPSHOT.jar -> [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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :lucene-test-framework


What is thatŠ thanks