RE: WELCOME to nexus-dev@sonatype.org

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: WELCOME to nexus-dev@sonatype.org

mgainty
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:

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-staging-ant-tasks:1.5::jar" not found!

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás

 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.


 

 
Reply | Threaded
Open this post in threaded view
|

RE: WELCOME to nexus-dev@sonatype.org

Stuart McCulloch-2
On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: WELCOME to nexus-dev@sonatype.org

mgainty
when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
 
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>
  
 <!-- dependency has been commented out
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>

?
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: WELCOME to nexus-dev@sonatype.org

Stuart McCulloch-2
On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency

Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin

 <!-- dependency has been commented out
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>

?
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: WELCOME to nexus-dev@sonatype.org

mgainty


From: [hidden email]
Date: Sun, 23 Feb 2014 02:31:07 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server
MG>DONE

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)
MG>DONE

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency
MG>DONE
Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin
MG>new nexus dependency  which Nexus cannot find
jvm 1    | 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 "javax.jms:jms:1.1::jar" not found!
 
MG>NEW POM.XML as of 02/21/2014
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
  <dependencies>

  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>
  -->
 
  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
  -->
 
 <!-- removed as per instructions S McCullough
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
  </dependency>
  -->
 
   <!--
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>
MG>END POM.XML as of 02/21/2014
I need to determine :
1)why is nexus injecting new dependencies (javax.jms:jms:1.1::jar)?
2)where is this dependency supposed to be so Nexus can find the dependency?

BTW I am not referencing any jms method in my code
/nexus-example-plugins-master/pro-plugins/stagingrules>grep -S -l jms *.*
Thanks!
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: Thank You Stewart!

mgainty
i uploaded jms-1.1.jar into /plugin-repository/stagingrules-nexus-plugin/dependencies and voila
 
jvm 1    | 2014-02-02 07:17:27,102-0500 INFO  [jetty-main-1] *SYSTEM, org.sonatype.nexus.NxApplication - Plugin manager request "ACTIVATE" on plugin "org.sonatype.nexus.plugins:stagingrules-nexus-plugin:1.0-SNAPSHOT" was successful.

How do I get this Plugin to display on Plugin Options?

Thanks Stewart!
Martin Gainty

 


From: [hidden email]
Date: Sun, 23 Feb 2014 02:31:07 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server
MG>DONE

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)
MG>DONE

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency
MG>DONE
Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin
MG>new nexus dependency  which Nexus cannot find
jvm 1    | 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 "javax.jms:jms:1.1::jar" not found!
 
MG>NEW POM.XML as of 02/21/2014
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
  <dependencies>

  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>
  -->
 
  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
  -->
 
 <!-- removed as per instructions S McCullough
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
  </dependency>
  -->
 
   <!--
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>
MG>END POM.XML as of 02/21/2014
I need to determine :
1)why is nexus injecting new dependencies (javax.jms:jms:1.1::jar)?
2)where is this dependency supposed to be so Nexus can find the dependency?

BTW I am not referencing any jms method in my code
/nexus-example-plugins-master/pro-plugins/stagingrules>grep -S -l jms *.*
Thanks!
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: Thank You Stewart!

mgainty
Folks

How do I get a nexus-plugin to display on Plugin Options????


Thanks Stewart!
Martin Gainty

 


From: [hidden email]
Date: Sun, 23 Feb 2014 02:31:07 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server
MG>DONE

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)
MG>DONE

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency
MG>DONE
Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin
MG>new nexus dependency  which Nexus cannot find
jvm 1    | 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 "javax.jms:jms:1.1::jar" not found!
 
MG>NEW POM.XML as of 02/21/2014
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
  <dependencies>

  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>
  -->
 
  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
  -->
 
 <!-- removed as per instructions S McCullough
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
  </dependency>
  -->
 
   <!--
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>
MG>END POM.XML as of 02/21/2014
I need to determine :
1)why is nexus injecting new dependencies (javax.jms:jms:1.1::jar)?
2)where is this dependency supposed to be so Nexus can find the dependency?

BTW I am not referencing any jms method in my code
/nexus-example-plugins-master/pro-plugins/stagingrules>grep -S -l jms *.*
Thanks!
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: Thank You Stewart!

Jason Dillon-3
What “Plugin Options” are you talking about?

--jason


On February 24, 2014 at 5:08:59 PM, Martin Gainty ([hidden email]) wrote:

Folks

How do I get a nexus-plugin to display on Plugin Options????


Thanks Stewart!
Martin Gainty

 


From: [hidden email]
Date: Sun, 23 Feb 2014 02:31:07 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server
MG>DONE

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)
MG>DONE

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency
MG>DONE
Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin
MG>new nexus dependency  which Nexus cannot find
jvm 1    | 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 "javax.jms:jms:1.1::jar" not found!
 
MG>NEW POM.XML as of 02/21/2014
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
  <dependencies>

  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>
  -->
 
  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
  -->
 
 <!-- removed as per instructions S McCullough
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
  </dependency>
  -->
 
   <!--
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>
MG>END POM.XML as of 02/21/2014
I need to determine :
1)why is nexus injecting new dependencies (javax.jms:jms:1.1::jar)?
2)where is this dependency supposed to be so Nexus can find the dependency?

BTW I am not referencing any jms method in my code
/nexus-example-plugins-master/pro-plugins/stagingrules>grep -S -l jms *.*
Thanks!
Martin
 


From: [hidden email][hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email][hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email][hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email][hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: java.lang.IllegalStateException: No rule evaluator configured for type:

mgainty
In reply to this post by mgainty
I was able to get the plugin cleaned up and deployed successfully
 
**
 * [hidden email] Maven220BlockingStagingRuleEvaluator} UI descriptor.
 * we will take Singleton for now
 * @since 1.0
 */
@Named(MartinPluginRuleType.TYPE_ID)
@Singleton
public class MartinPluginRuleType implements com.sonatype.nexus.staging.rule.RuleType
{
  public static final String TYPE_ID = "MartinPluginRuleType";
..
}
//here is Rule Evaluator
/**
 * Evaluates a staging repository to see if Maven 2.2.0 was used. Maven 2.2.0 generates incorrect signatures.
 *
 * @since 1.0
 */
@javax.inject.Named(MartinPluginRuleType.TYPE_ID)
@javax.inject.Singleton
public class MartinPluginStagingRuleEvaluator
//    extends ComponentSupport
    extends AbstractStagingRuleEvaluator
    //, RequestStrategy //, StagingRuleEvaluator
{
...
}

 
i *thought* Named was supposed to inject MartinPluginRuleType.TYPE_ID and register MartinPluginStagingRuleEvaluator as the registered Evaluator for MartinPluginRuleType?

but now I am plagued by:
java.lang.IllegalStateException: No rule evaluator configured for type: MartinPluginRuleType
 
why  is it that Nexus does not process @javax.inject.Named(MartinPluginRuleType.TYPE_ID)
and register MartinPluginStagingRuleEvaluator as 'RuleEvaluator'
 
is there a workaround I can use (maybe a static components.xml I can use?)
?

Please advise
Martin
 


From: [hidden email]
To: [hidden email]
Subject: RE: Thank You Stewart!
Date: Mon, 24 Feb 2014 20:08:55 -0500


Folks

How do I get a nexus-plugin to display on Plugin Options????


Thanks Stewart!
Martin Gainty

 


From: [hidden email]
Date: Sun, 23 Feb 2014 02:31:07 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server
MG>DONE

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)
MG>DONE

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency
MG>DONE
Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin
MG>new nexus dependency  which Nexus cannot find
jvm 1    | 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 "javax.jms:jms:1.1::jar" not found!
 
MG>NEW POM.XML as of 02/21/2014
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
  <dependencies>

  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>
  -->
 
  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
  -->
 
 <!-- removed as per instructions S McCullough
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
  </dependency>
  -->
 
   <!--
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>
MG>END POM.XML as of 02/21/2014
I need to determine :
1)why is nexus injecting new dependencies (javax.jms:jms:1.1::jar)?
2)where is this dependency supposed to be so Nexus can find the dependency?

BTW I am not referencing any jms method in my code
/nexus-example-plugins-master/pro-plugins/stagingrules>grep -S -l jms *.*
Thanks!
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.

Reply | Threaded
Open this post in threaded view
|

RE: java.lang.IllegalStateException: No rule evaluator configured for type:

mgainty
Here is StackTrace
 
2014-02-04 08:41:18 WARN  [pxpool-1-thread-2] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task Closing staging repositories: [stagingprofileformartinplugin-1002]
java.lang.IllegalStateException: No rule evaluator configured for type: MartinPluginRuleType
 at com.google.common.base.Preconditions.checkState(Preconditions.java:176) ~[guava-14.0.1.jar:na]
 at com.sonatype.nexus.staging.internal.rules.DefaultStagingRuleFactory.createStagingRule(DefaultStagingRuleFactory.java:90) ~[na:na]
 at com.sonatype.nexus.staging.internal.StagingRulesHelper.evaluateRuleSet(StagingRulesHelper.java:216) ~[na:na]
 at com.sonatype.nexus.staging.internal.StagingRulesHelper.evaluateProfileRuleSets(StagingRulesHelper.java:133) ~[na:na]
 at com.sonatype.nexus.staging.internal.StagingRulesHelper.evaluate(StagingRulesHelper.java:104) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.RepositoryCloseTask$CloseOperation.verifyItem(RepositoryCloseTask.java:90) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.RepositoryCloseTask$CloseOperation.verifyItem(RepositoryCloseTask.java:1) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.OperationTaskSupport$OperationSupport.verify(OperationTaskSupport.java:295) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.executeOperations(OperationTaskSupport.java:426) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.OperationTaskSupport.doCall(OperationTaskSupport.java:416) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.TaskSupport.call(TaskSupport.java:38) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.StagingTaskSupport.call(StagingTaskSupport.java:134) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.StagingBackgroundTask.execute(StagingBackgroundTask.java:68) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.NexusTaskSupport.doRun(NexusTaskSupport.java:53) ~[na:na]
 at com.sonatype.nexus.staging.internal.task.NexusTaskSupport.doRun(NexusTaskSupport.java:1) ~[na:na]
 at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157) ~[nexus-core-2.7.2-03.jar:2.7.2-03]
 at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) ~[nexus-scheduler-2.7.2-03.jar:2.7.2-03]
 at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) ~[nexus-core-2.7.2-03.jar:2.7.2-03]
 at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) ~[shiro-core-1.2.2.jar:1.2.2]
 at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) ~[shiro-core-1.2.2.jar:1.2.2]
 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) ~[na:1.7.0_25]
 at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.7.0_25]
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) ~[na:1.7.0_25]
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:1.7.0_25]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:1.7.0_25]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.7.0_25]
 at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_25]


If anyone knows the location of Nexus source
I will need to take a look at source to determine the error....Thanks,
 


From: [hidden email]
To: [hidden email]
Date: Tue, 25 Feb 2014 08:55:41 -0500
Subject: [nexus-dev] RE: java.lang.IllegalStateException: No rule evaluator configured for type:

I was able to get the plugin cleaned up and deployed successfully
 
**
 * [hidden email] Maven220BlockingStagingRuleEvaluator} UI descriptor.
 * we will take Singleton for now
 * @since 1.0
 */
@Named(MartinPluginRuleType.TYPE_ID)
@Singleton
public class MartinPluginRuleType implements com.sonatype.nexus.staging.rule.RuleType
{
  public static final String TYPE_ID = "MartinPluginRuleType";
..
}
//here is Rule Evaluator
/**
 * Evaluates a staging repository to see if Maven 2.2.0 was used. Maven 2.2.0 generates incorrect signatures.
 *
 * @since 1.0
 */
@javax.inject.Named(MartinPluginRuleType.TYPE_ID)
@javax.inject.Singleton
public class MartinPluginStagingRuleEvaluator
//    extends ComponentSupport
    extends AbstractStagingRuleEvaluator
    //, RequestStrategy //, StagingRuleEvaluator
{
...
}

 
i *thought* Named was supposed to inject MartinPluginRuleType.TYPE_ID and register MartinPluginStagingRuleEvaluator as the registered Evaluator for MartinPluginRuleType?

but now I am plagued by:
java.lang.IllegalStateException: No rule evaluator configured for type: MartinPluginRuleType
 
why  is it that Nexus does not process @javax.inject.Named(MartinPluginRuleType.TYPE_ID)
and register MartinPluginStagingRuleEvaluator as 'RuleEvaluator'
 
is there a workaround I can use (maybe a static components.xml I can use?)
?

Please advise
Martin
 


From: [hidden email]
To: [hidden email]
Subject: RE: Thank You Stewart!
Date: Mon, 24 Feb 2014 20:08:55 -0500


Folks

How do I get a nexus-plugin to display on Plugin Options????


Thanks Stewart!
Martin Gainty

 


From: [hidden email]
Date: Sun, 23 Feb 2014 02:31:07 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 02:07, Martin Gainty <[hidden email]> wrote:

when i comment out nexus-staging-ant-tasks dependency i still see the error?
 
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
 
  <dependencies>

  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>

^ remove this dependency, it isn't necessary for nexus plugins since they are deployed in the server
MG>DONE

  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>

^ remove this dependency, you should already get it transitively via the nexus-plugin-api dependency (where it has the proper provided scope)
MG>DONE

  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
   </dependency>

^ remove this dependency, you should also get the appropriate logging APIs via the nexus-plugin-api dependency
MG>DONE
Once you've cleaned up the pom.xml do a clean install of your plugin - then make sure you remove the old plugin folder from the nexus plugin-repository before unpacking the newly built plugin
MG>new nexus dependency  which Nexus cannot find
jvm 1    | 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 "javax.jms:jms:1.1::jar" not found!
 
MG>NEW POM.XML as of 02/21/2014
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2007-2012 Sonatype, Inc. All rights reserved.
    This program is licensed to you under the Apache License Version 2.0,
    and you may not use this file except in compliance with the Apache License Version 2.0.
    You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
    Unless required by applicable law or agreed to in writing,
    software distributed under the Apache License Version 2.0 is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.sonatype.nexus.plugins</groupId>
    <artifactId>nexus_plugins</artifactId>
    <version>2.8.0-SNAPSHOT</version>
  </parent>
  <groupId>org.sonatype.nexus.plugins</groupId>
  <artifactId>stagingrules-nexus-plugin</artifactId>
  <name>${project.groupId}:${project.artifactId}</name>
  <version>1.0-SNAPSHOT</version>
  <packaging>nexus-plugin</packaging>
  <dependencies>

  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>org.sonatype.nexus.client</groupId>
   <artifactId>nexus-client-core</artifactId>
   <version>2.4.0-06</version>
  </dependency>
  -->
 
  <!-- removed as per instructions S McCullough
  <dependency>
   <groupId>javax.inject</groupId>
   <artifactId>javax.inject</artifactId>
   <version>2.2.0-b08</version>
  </dependency>
  -->
 
 <!-- removed as per instructions S McCullough
  <dependency>
    <groupId>org.apache</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.15</version>
  </dependency>
  -->
 
   <!--
    <dependency>
      <groupId>com.sonatype.nexus</groupId>
      <artifactId>nexus-staging-ant-tasks</artifactId>
      <version>1.5</version>
     </dependency>
    -->
   
    <!-- the following dependency is required -->
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- end dependency required -->
   
    <dependency>
      <groupId>com.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-staging-plugin</artifactId>
      <version>2.8.0-SNAPSHOT</version>
      <type>${nexus-plugin.type}</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-plugin-testsupport</artifactId>
      <version>2.7.1-01</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
   <plugins>
    <plugin>
     <groupId>org.sonatype.nexus</groupId>
     <artifactId>nexus-plugin-bundle-maven-plugin</artifactId>
     <extensions>true</extensions>
    </plugin>
    <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-compiler-plugin</artifactId>
     <version>3.0</version>
     <configuration>
      <source>1.7</source>
      <target>1.7</target>
     </configuration>
    </plugin>
    </plugins>
  </build>
</project>
MG>END POM.XML as of 02/21/2014
I need to determine :
1)why is nexus injecting new dependencies (javax.jms:jms:1.1::jar)?
2)where is this dependency supposed to be so Nexus can find the dependency?

BTW I am not referencing any jms method in my code
/nexus-example-plugins-master/pro-plugins/stagingrules>grep -S -l jms *.*
Thanks!
Martin
 


From: [hidden email]
Date: Sun, 23 Feb 2014 01:40:18 +0000
To: [hidden email]
Subject: Re: [nexus-dev] RE: WELCOME to [hidden email]

On 23 Feb 2014, at 01:20, Martin Gainty <[hidden email]> wrote:
I have written a q&d plugin and upload to nexus plugin-repository

 

I see this in wrapper.log:
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-staging-ant-tasks:1.5::jar" not found!

You appear to have a bad dependency or misconfiguration in your plugin pom.xml - the groupId of nexus-staging-ant-tasks is org.sonatype.nexus.ant and it is a jar, not a nexus-plugin

Can you paste your plugin's pom.xml somewhere?

Anyone know where nexus-staging-ant-tasks should be located?
classpath?
local repo?
undisclosed maven repo?

HELP!
Martin 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás
 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt.