Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None
    • Global Rank:
      14980

      Description

      I'm getting the following error when I try to close a staging repository:
      =========
      Staging ruleset evaluation on repository 'com.force-024 (u:sfdc_javacloud, a:204.14.239.222)' has failed.

      Staging POM Validation

      -Invalid POM: /com/force/sdk/force-sdk/22.0.2-BETA/force-sdk-22.0.2-BETA.pom: Developer information missing
      =========
      However, my POM has a developers element.

        Activity

        Hide
        Juven Xu added a comment -

        please add a dummy developer element under the developers element, something like

          <developer>
              <id>mailinglist</id>
              <name>mailinglist</name>
              <email>malinglist@address</email>
          </developer>
        
        Show
        Juven Xu added a comment - please add a dummy developer element under the developers element, something like <developer> <id>mailinglist</id> <name>mailinglist</name> <email>malinglist@address</email> </developer>
        Hide
        SFDC DatabaseSDK added a comment -

        Thank you, Juven. Do you know if there's a maven plugin, or some other tool, that would allow me to verify my pom is valid prior to deploying to release or snapshot repositories?

        Show
        SFDC DatabaseSDK added a comment - Thank you, Juven. Do you know if there's a maven plugin, or some other tool, that would allow me to verify my pom is valid prior to deploying to release or snapshot repositories?
        Hide
        SFDC DatabaseSDK added a comment -

        In other words, what I'd like to accomplish is verifying our POM in our Continuous Integration (we're using Jenkins).

        Show
        SFDC DatabaseSDK added a comment - In other words, what I'd like to accomplish is verifying our POM in our Continuous Integration (we're using Jenkins).
        Hide
        Juven Xu added a comment -

        sorry, there is not a dedicated maven plugin for this, but maven-enforcer-plugin may help: http://maven.apache.org/enforcer/enforcer-rules/index.html

        Show
        Juven Xu added a comment - sorry, there is not a dedicated maven plugin for this, but maven-enforcer-plugin may help: http://maven.apache.org/enforcer/enforcer-rules/index.html
        Hide
        SFDC DatabaseSDK added a comment -

        Thanks, Juven. Do snapshot pushes perform the same validation? If that's true, we could just setup our CI to push snapshots on a nightly basis for validation.

        Show
        SFDC DatabaseSDK added a comment - Thanks, Juven. Do snapshot pushes perform the same validation? If that's true, we could just setup our CI to push snapshots on a nightly basis for validation.
        Hide
        Juven Xu added a comment -

        no, we don't have any restriction on snapshot version, since they won't be synced to central.

        Show
        Juven Xu added a comment - no, we don't have any restriction on snapshot version, since they won't be synced to central.

          People

          • Assignee:
            Juven Xu
            Reporter:
            SFDC DatabaseSDK
            Last Updated By:
            Juven Xu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Date of First Response: