You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gainty <mg...@hotmail.com> on 2014/02/23 01:08:03 UTC
Sonatype plugin question?
I *think* the sonatype folk went home for weekend so I'll ask maven gurus
Close to getting a plugin working but when i start wrapper.exe the wrapper.log displays this error:
"The following plugins were processed:
jvm 1 | ... org.sonatype.nexus.plugins:stagingrules-nexus-plugin:1.0-SNAPSHOT :: action=ACTIVATE result=BROKEN
jvm 1 | Reason: Plugin artifact "com.sonatype.nexus:nexus-core:2.7.0::jar" not found!
Ideas on where com.sonatype.nexus:nexus-core:2.7.0::jar should be located?
local repo?
some undisclosed maven repo?
classpath?
HELP!
Martin
RE: Sonatype plugin question?
Posted by Martin Gainty <mg...@hotmail.com>.
wondering where nexus is looking to resolve dependencies?
I'll try <scope>provided</scope> for nexus-core
(re)posted to nexus-dev@sonatype.org
Thanks Stewart
Martin
> Subject: Re: Sonatype plugin question?
> From: mcculls@gmail.com
> Date: Sun, 23 Feb 2014 00:37:17 +0000
> To: dev@maven.apache.org
>
> On 23 Feb 2014, at 00:08, Martin Gainty <mg...@hotmail.com> wrote:
> > I *think* the sonatype folk went home for weekend so I'll ask maven gurus
>
> Odd assumption, why didn’t you at least try asking this question on nexus-user or nexus-dev?
>
> > Close to getting a plugin working but when i start wrapper.exe the wrapper.log displays this error:
> >
> > "The following plugins were processed:
> > jvm 1 | ... org.sonatype.nexus.plugins:stagingrules-nexus-plugin:1.0-SNAPSHOT :: action=ACTIVATE result=BROKEN
>
> Is this your own plugin? You should ideally choose a groupId that matches your organization/company
>
> > jvm 1 | Reason: Plugin artifact "com.sonatype.nexus:nexus-core:2.7.0::jar" not found!
>
> Looks like your pom.xml has a bad dependency - nexus-core has a groupId of org.sonatype.nexus and should be a provided dependency
>
> In fact you should really just depend on nexus-plugin-api as explained in http://books.sonatype.com/nexus-book/reference/plugdev.html
>
> > Ideas on where com.sonatype.nexus:nexus-core:2.7.0::jar should be located?
> >
> > local repo?
> > some undisclosed maven repo?
> >
> > classpath?
> >
> > HELP!
>
> Best way to get help is to ask this on either of the nexus mailing lists (http://www.sonatype.org/nexus/participate) - paste a copy of your plugin pom.xml
>
> > Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
Re: Sonatype plugin question?
Posted by Stuart McCulloch <mc...@gmail.com>.
On 23 Feb 2014, at 00:08, Martin Gainty <mg...@hotmail.com> wrote:
> I *think* the sonatype folk went home for weekend so I'll ask maven gurus
Odd assumption, why didn’t you at least try asking this question on nexus-user or nexus-dev?
> Close to getting a plugin working but when i start wrapper.exe the wrapper.log displays this error:
>
> "The following plugins were processed:
> jvm 1 | ... org.sonatype.nexus.plugins:stagingrules-nexus-plugin:1.0-SNAPSHOT :: action=ACTIVATE result=BROKEN
Is this your own plugin? You should ideally choose a groupId that matches your organization/company
> jvm 1 | Reason: Plugin artifact "com.sonatype.nexus:nexus-core:2.7.0::jar" not found!
Looks like your pom.xml has a bad dependency - nexus-core has a groupId of org.sonatype.nexus and should be a provided dependency
In fact you should really just depend on nexus-plugin-api as explained in http://books.sonatype.com/nexus-book/reference/plugdev.html
> Ideas on where com.sonatype.nexus:nexus-core:2.7.0::jar should be located?
>
> local repo?
> some undisclosed maven repo?
>
> classpath?
>
> HELP!
Best way to get help is to ask this on either of the nexus mailing lists (http://www.sonatype.org/nexus/participate) - paste a copy of your plugin pom.xml
> Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: Sonatype plugin question?
Posted by Martin Gainty <mg...@hotmail.com>.
I wrote and installed a quick and dirty sonatype plugin
My Nexus OpenSource distro that Im testing against is 2.8.0-SNAPSHOT
my plugin examples came from 2.7.0
If Monday am comes and Im calling no joy... i'll revert nexus back to 2.7.0 and test on that
I guess Sonatype folk are is in Russia or watching the Olympics
Thanks Igor!
Martin-
> Date: Sat, 22 Feb 2014 19:23:08 -0500
> From: igor@ifedorenko.com
> To: dev@maven.apache.org
> Subject: Re: Sonatype plugin question?
>
> I think this message comes from a Nexus server, and the "plugin" refers
> to Nexus plugin running on the server. Almost looks like a broken Nexus
> installation, but it's been some time since I last looked at Nexus.
>
> --
> Regards,
> Igor
>
>
> On 2/22/2014, 19:08, Martin Gainty wrote:
> > I *think* the sonatype folk went home for weekend so I'll ask maven gurus
> >
> >
> > Close to getting a plugin working but when i start wrapper.exe the wrapper.log displays this error:
> >
> > "The following plugins were processed:
> > jvm 1 | ... org.sonatype.nexus.plugins:stagingrules-nexus-plugin:1.0-SNAPSHOT :: action=ACTIVATE result=BROKEN
> > jvm 1 | Reason: Plugin artifact "com.sonatype.nexus:nexus-core:2.7.0::jar" not found!
> >
> >
> > Ideas on where com.sonatype.nexus:nexus-core:2.7.0::jar should be located?
> >
> > local repo?
> > some undisclosed maven repo?
> >
> > classpath?
> >
> >
> >
> > HELP!
> > Martin
> >
> >
> >
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
Re: Sonatype plugin question?
Posted by Igor Fedorenko <ig...@ifedorenko.com>.
I think this message comes from a Nexus server, and the "plugin" refers
to Nexus plugin running on the server. Almost looks like a broken Nexus
installation, but it's been some time since I last looked at Nexus.
--
Regards,
Igor
On 2/22/2014, 19:08, Martin Gainty wrote:
> I *think* the sonatype folk went home for weekend so I'll ask maven gurus
>
>
> Close to getting a plugin working but when i start wrapper.exe the wrapper.log displays this error:
>
> "The following plugins were processed:
> jvm 1 | ... org.sonatype.nexus.plugins:stagingrules-nexus-plugin:1.0-SNAPSHOT :: action=ACTIVATE result=BROKEN
> jvm 1 | Reason: Plugin artifact "com.sonatype.nexus:nexus-core:2.7.0::jar" not found!
>
>
> Ideas on where com.sonatype.nexus:nexus-core:2.7.0::jar should be located?
>
> local repo?
> some undisclosed maven repo?
>
> classpath?
>
>
>
> HELP!
> Martin
>
>
>
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org