Tapestry
  1. Tapestry
  2. TAPESTRY-2499

Reduce Frustration Experienced By "green" Maven User When Following the Tapestry Archetype Example

    Details

      Description

      I experienced an issue with getting the tapestry archetype to run using the specified command on the tapestry 4.1 page:

      http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html

      I needed to add the remote repository get to the snapshot version to work along with using the -U option.

      Since the example assumes that users may have just downloaded and installed Maven, it would be significantly helpful if these arguments were mentioned because if they're not (given my experience) maven will prompt them to choose an archetype. This will lead them way off course.

      It should be a quick change. Maybe just:

      If you experience that they archetype is not found, try the following:

      mvn -U archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=tapestry-archetype -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/ -DarchetypeVersion=4.1.6-SNAPSHOT -DgroupId=com.example -DartifactId=myapp

      (not sure if they line-continuation slashes are needed)

      thanks

      1. mylyn-context.zip
        0.7 kB
        Andreas Andreou

        Activity

        Andrew Lenards created issue -
        Andreas Andreou made changes -
        Field Original Value New Value
        Assignee Andreas Andreou [ andyhot ]
        Andreas Andreou made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Andreas Andreou made changes -
        Attachment mylyn-context.zip [ 12385150 ]
        Andreas Andreou made changes -
        Fix Version/s unspecified [ 10790 ]
        Fix Version/s 4.1.6 [ 12312957 ]
        Mark Thomas made changes -
        Workflow jira [ 12434504 ] Default workflow, editable Closed status [ 12568907 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568907 ] jira [ 12590181 ]

          People

          • Assignee:
            Andreas Andreou
            Reporter:
            Andrew Lenards
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0.25h
              0.25h
              Remaining:
              Remaining Estimate - 0.25h
              0.25h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development