[
https://issues.apache.org/jira/browse/LUCENE-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804304#action_12804304
]
Uwe Schindler commented on LUCENE-2233:
---------------------------------------
I checked with a locally installed maven, no artifact of Lucene works. It seems
that there must be an maven/plugin.xml inside the JAR file, which is not the
case for any Lucene JAR file.
So I have no solution and I wonder why only you and me realized that.
> IllegalStateException when trying mvn
> org.apache.lucene:lucene-core:3.0.0:install
> ---------------------------------------------------------------------------------
>
> Key: LUCENE-2233
> URL: https://issues.apache.org/jira/browse/LUCENE-2233
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 3.0
> Environment: Windows 7
> java 16 update 18
> maven 2.2.1
> Reporter: Thomas Dutreuilh
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Hi everyone,
> I hope this is the right place to post this...
> I'm trying to get lucene files from this repository :
> http://repo1.maven.org/maven2
> But i get this exception.
> Did anyone already got this error ?
> D:\.m2\repository>mvn org.apache.lucene:lucene-core:3.0.0:install
> [INFO] Scanning for projects...
> Downloading:
> http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/3.0.0/l
> ucene-core-3.0.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/lucene/lucene-parent/3.0.0
> /lucene-parent-3.0.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/3.0.0/l
> ucene-core-3.0.0.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin descriptor for the plugin Plugin
> [org.apache.lucene:lucene-cor
> e] was not found. Please verify that the plugin JAR
> D:\.m2\repository\org\apache
> \lucene\lucene-core\3.0.0\lucene-core-3.0.0.jar is intact.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalStateException: The plugin descriptor for the plugin Plugin
> [or
> g.apache.lucene:lucene-core] was not found. Please verify that the plugin JAR
> D:
> \.m2\repository\org\apache\lucene\lucene-core\3.0.0\lucene-core-3.0.0.jar is
> int
> act.
> at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginM
> anager.java:360)
> at
> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De
> faultPluginManager.java:224)
> at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> inManager.java:184)
> at
> org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(Def
> aultPluginManager.java:1642)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1540)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> (DefaultLifecycleExecutor.java:1851)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
> AggregationNeeds(DefaultLifecycleExecutor.java:462)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:175)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> 0)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Sun Jan 24 19:35:21 CET 2010
> [INFO] Final Memory: 1M/15M
> [INFO]
> ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]