Cargo
  1. Cargo
  2. CARGO-868

Update wiki regarding use of archetype:generate instead of archetype:create

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.6, 1.1.0
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      n/a
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      The cocs should reflect that the correct archetype mojo to use is 'generate'. It currently specified 'create', which is deprecated.
      http://cargo.codehaus.org/Maven2+Archetypes

        Issue Links

          Activity

          Hide
          Anders Hammar added a comment -

          Wiki updated

          Show
          Anders Hammar added a comment - Wiki updated
          Hide
          Anders Hammar added a comment -

          Need to undo this as it turns out it doesn't work. The generate mojo seems to work a little bit different than create and reads the archetype catalog at central. And that one doesn't include any cargo archetype newer than 1.0.1-alpha-2.
          I think we need to implement CARGO-870 before we implement this doc change.

          Show
          Anders Hammar added a comment - Need to undo this as it turns out it doesn't work. The generate mojo seems to work a little bit different than create and reads the archetype catalog at central. And that one doesn't include any cargo archetype newer than 1.0.1-alpha-2. I think we need to implement CARGO-870 before we implement this doc change.
          Hide
          Savas Ali Tokmen added a comment -

          Setting target version to 1.1.0, since the depended issue CARGO-870 has also that fix version.

          Show
          Savas Ali Tokmen added a comment - Setting target version to 1.1.0, since the depended issue CARGO-870 has also that fix version.
          Hide
          Savas Ali Tokmen added a comment -

          CARGO-871 shows that archetype:generate actually does work

          Documentation updated, tests OK with version 1.0.6.

          Show
          Savas Ali Tokmen added a comment - CARGO-871 shows that archetype:generate actually does work Documentation updated, tests OK with version 1.0.6.
          Hide
          Savas Ali Tokmen added a comment -

          Perhaps this being fixed is partially thanks to our switching to the Codehaus Nexus repository.

          Show
          Savas Ali Tokmen added a comment - Perhaps this being fixed is partially thanks to our switching to the Codehaus Nexus repository.
          Hide
          Anders Hammar added a comment -

          No, I think that they have done some improvements on central so that the (remote) archetype catalog xml file now includes the cargo archetypes. This is not driven by Nexus but rather some standalone job.

          Show
          Anders Hammar added a comment - No, I think that they have done some improvements on central so that the (remote) archetype catalog xml file now includes the cargo archetypes. This is not driven by Nexus but rather some standalone job.
          Hide
          Savas Ali Tokmen added a comment -

          Ah, pure luck then

          Show
          Savas Ali Tokmen added a comment - Ah, pure luck then

            People

            • Assignee:
              Savas Ali Tokmen
              Reporter:
              Anders Hammar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: