We have an integration test plugin which I just ran:
mvn org.apache.maven.its.plugins:maven-it-plugin-no-project:light-touch
And it works as expected. It is a mojo that does specifies
@requiresProject false and just produces a text file.
Could you give a mock up of your plugin and a build. I can't do much
if I can't reproduce the problem and verbal explanations are
generally useless.
Jason.
On 2 Mar 07, at 11:01 AM 2 Mar 07, gbois wrote:
Hi,
I have make a pluigin and i have deploy it in my remote repository
(webdav
repository).
My plugin doesn't requires a projet (The attribute requiresProject
is false
in plugin.xml file).
My remote repository is delcared in the maven configuration
(settings.xml
file).
For an empty local repository (no meta information for this plugin
in the
local repository), it works fine with Maven 2.0.4 version.
It means, the plugin is downloaded and i can execute the plugin
standalone
without a pom.xml.
I have migrated to Maven 2.0.5 version and it doesn't work.
I works only when i execute the plugin in a directory with a
pom.xml (a
dummy pom.xml works).
The downloading doesn't work if you haven't a pom.xml. For the next
step, a
pom.xml is not required.
The stack trace error tell me that it search only on the central
repository
and it fails (my plugin is not on central :-) )
It doen't search on my remote repository.
I have identified the librairy that doesn't work, it's the
maven-core-2.0.5.jar because if i replace the library with
maven-core-2.0.4-maestro-1.0.jar(my library in maven 2.0.4), it works.
Have you got an idea?
Thanks in advance.
Grégory
--
View this message in context: http://www.nabble.com/Bug-on-
Maven-2.0.5-with-plugin-execution-tf3334375s177.html#a9272082
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]