Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2499

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

    XMLWordPrintableJSON

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

      Attachments

        1. mylyn-context.zip
          0.7 kB
          Andreas Andreou

        Activity

          People

            andyhot Andreas Andreou
            lenards 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