prafulljha / maven-replacer-plugin

Automatically exported from code.google.com/p/maven-replacer-plugin
MIT License
0 stars 0 forks source link

Maven-replace plugin version 1.2.0 broke the maven process #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. mvn clean  
2. java version Java version: 1.5.0_14
3. mvn 2.2.1

[INFO] Internal error in the plugin manager getting plugin
'com.google.code.maven-replacer-plugin:maven-replacer-plugin': Plugin
'com.google.code.maven-replacer
-plugin:maven-replacer-plugin:1.2.0' has an invalid descriptor:
1) Plugin's descriptor contains the wrong version: 1.2

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by anca.za...@gmail.com on 24 Feb 2010 at 9:50

GoogleCodeExporter commented 9 years ago
Can you tell me how you installed the plugin?
Are you using the plugin repository, or download the jar and install manually? 
Or even 
use the source code and using your own mvn to build and install?

Original comment by baker.st...@gmail.com on 24 Feb 2010 at 10:43

GoogleCodeExporter commented 9 years ago
No response.
Closing.

Please feel free to raise another Issue if the problem reoccurs.

Original comment by baker.st...@gmail.com on 8 Mar 2010 at 11:28

GoogleCodeExporter commented 9 years ago
Hi Steven,

I send u an email with all the required information, but it seems that u didn't 
get it.
So in my pom.xml I have the following line :
      <groupId>com.google.code.maven-replacer-plugin</groupId>
      <artifactId>maven-replacer-plugin</artifactId>
      <version>1.2.0</version>
I didn't install the plugin, I am using the plugin repository.
I get the following stack trace ( I obtained this using -e option):
ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager getting plugin
'com.google.code.maven-replacer-plugin:maven-replacer-plugin': Plugin
'com.google.code.maven-replacer-plugin:maven-replacer-plugin:1.2.0' has an 
invalid
descriptor:
1) Plugin's descriptor contains the wrong version: 1.2
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the 
plugin
manager getting plugin 
'com.google.code.maven-replacer-plugin:maven-replacer-plugin':
Plugin 'com.google.code.maven-replacer-plugin:maven-replacer-plugin:1.2.0' has 
an
invalid descriptor:
1) Plugin's descriptor contains the wrong version: 1.2
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycl
eExecutor.java:1544)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(Defaul
tLifecycleExecutor.java:1503)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(D
efaultLifecycleExecutor.java:1282)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycle
Executor.java:534)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:387)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL
ifecycleExecutor.java:348)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExec
utor.java:180)
    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:60)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    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)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
Caused by: org.apache.maven.plugin.PluginManagerException: Plugin
'com.google.code.maven-replacer-plugin:maven-replacer-plugin:1.2.0' has an 
invalid
descriptor:
1) Plugin's descriptor contains the wrong version: 1.2
    at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:330)
    at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPlugin
Manager.java:224)
    at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.j
ava:184)
    at
org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultPluginM
anager.java:1642)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycl
eExecutor.java:1540)
    ... 23 more

Original comment by anca.za...@gmail.com on 13 Mar 2010 at 8:01

GoogleCodeExporter commented 9 years ago
Do you have the same issue using 1.3 from the maven central repo?

Original comment by baker.st...@gmail.com on 15 Mar 2010 at 8:27

GoogleCodeExporter commented 9 years ago
Hi,

I`ve just seen u created a new version 1.3
I tried with 1.3 and it worked perfectly for me.

Thanks, 
Anca

Original comment by anca.za...@gmail.com on 15 Mar 2010 at 12:17

GoogleCodeExporter commented 9 years ago
Good to hear, thanks for your feedback.

Original comment by baker.st...@gmail.com on 16 Mar 2010 at 12:37