glassfish
  1. glassfish
  2. GLASSFISH-19839

correct help page for osgi subcommand is not being picked up

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b79
    • Fix Version/s: 4.0_b80_EE7MS6
    • Component/s: OSGi
    • Labels:
      None

      Description

      When requesting help for the osgi subcommand,

      asadmin osgi --help

      The information that is displayed is not the man page provided by the documentation team.

      If appears as though the pom.xml file for the osgi-cli-remote module doesn't include the code for including the man page into the JAR file. This pom file should contain a reference to the artifact:

      <groupId>org.glassfish.docs.man</groupId>
      <artifactId>osgi-cli-remote-manpage</artifactId>
      <version>$

      {v3-docs.version}

      </version>
      <type>zip</type>

      in a <build> element. As an example, see the inclusion of the batch-connector-manpage artifact in appserver/batch/batch-connector/pom.xml.

        Activity

        Hide
        Sanjeeb Sahoo added a comment -

        Have you published the man-page for me to add it as a dependency? If I add a dependency like that now. I get following build error:

        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.6:unpack (unpack) on project osgi-cli-remote: Unable to find artifact. Could not find artifact org.glassfish.docs.man:osgi-cli-remote-manpage:jar:4.0-b21 in internal-glassfish-nexus (http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus/)

        So, please publish the man page and assign the issue to me so that I can fix the pom. Thanks much.

        Show
        Sanjeeb Sahoo added a comment - Have you published the man-page for me to add it as a dependency? If I add a dependency like that now. I get following build error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.6:unpack (unpack) on project osgi-cli-remote: Unable to find artifact. Could not find artifact org.glassfish.docs.man:osgi-cli-remote-manpage:jar:4.0-b21 in internal-glassfish-nexus ( http://gf-maven.us.oracle.com/nexus/content/groups/internal-gf-nexus/ ) So, please publish the man page and assign the issue to me so that I can fix the pom. Thanks much.
        Hide
        Mike Fitch added a comment -

        I checked the nexus server and the artifact osgi-cli-remote-manpage-4.0-b21.zip is indeed there at org/glassfish/docs/man/osgi-cli-remote-manpage/4.0-b21/

        I think the problem you're having is that you're trying to pick up the artifact as a jar, not as a zip; at least that's what I infer from the ":jar:" in the error message that you're getting:

        Could not find artifact org.glassfish.docs.man:osgi-cli-remote-manpage:jar:4.0-b21 in internal-glassfish-nexus

        Show
        Mike Fitch added a comment - I checked the nexus server and the artifact osgi-cli-remote-manpage-4.0-b21.zip is indeed there at org/glassfish/docs/man/osgi-cli-remote-manpage/4.0-b21/ I think the problem you're having is that you're trying to pick up the artifact as a jar, not as a zip; at least that's what I infer from the ":jar:" in the error message that you're getting: Could not find artifact org.glassfish.docs.man:osgi-cli-remote-manpage:jar:4.0-b21 in internal-glassfish-nexus
        Hide
        Sanjeeb Sahoo added a comment -

        svn #60384

        Show
        Sanjeeb Sahoo added a comment - svn #60384

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            Mike Fitch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: