Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3878

Example plugin POM has wrong parent and is missing repositories

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0, 4.0.0, 3.5.2, 3.5.1
    • Fix Version/s: 6.0.0
    • Component/s: packaging
    • Support Ticket IDs:
    • Sprint:
      OpenDJ Sprint 113

      Description

      If you want to get the example plugin working, you have to hack the POM a bit. I did this with 3.5.1, for example:

      $ diff pom.xml pom.xml.orig
      20,22c20,22
      <     <groupId>org.forgerock</groupId>
      <     <artifactId>forgerock-parent</artifactId>
      <     <version>2.0.19</version>
      ---
      >     <groupId>org.forgerock.opendj</groupId>
      >     <artifactId>opendj-parent</artifactId>
      >     <version>3.5.1</version>
      25d24
      <   <version>3.5.1</version>
      31,55d29
      <   <repositories>
      <       <repository>
      <           <id>forgerock-private-releases</id>
      <           <url>https://maven.forgerock.org/repo/private-releases</url>
      <           <snapshots>
      <               <enabled>false</enabled>
      <           </snapshots>
      <       </repository>
      <       <repository>
      <           <id>forgerock-internal-releases</id>
      <           <url>https://maven.forgerock.org/repo/internal-releases</url>
      <           <releases>
      <               <enabled>false</enabled>
      <           </releases>
      <       </repository>
      <   </repositories>
      <   <pluginRepositories>
      <     <pluginRepository>
      <         <id>forgerock-private-releases</id>
      <         <url>https://maven.forgerock.org/repo/private-releases</url>
      <         <snapshots>
      <             <enabled>false</enabled>
      <         </snapshots>
      <     </pluginRepository>
      <   </pluginRepositories>
      75d48
      <         <version>1.4.2</version>
      94d66
      <         <version>3.5.1</version>
      

      For the full output, see the attached file, example-opendj-351-plugin.txt .

        Attachments

        1. 5.0.0.patch
          1 kB
        2. 5.5.0.patch
          1 kB
        3. example-opendj-351-plugin.txt
          11 kB

          Issue Links

            Activity

              People

              • Assignee:
                cyril.quinton Cyril Quinton
                Reporter:
                Mark Mark Craig
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: