Hi Sharan,
Could you please share the screenshot of commands that you ran?

Just to check, I ran this set of commands to create a folder named "train":
cd temp
git clone https://github.com/apache/incubator-training.git
cd incubator-training/
cd content/
mvn archetype:generate -DarchetypeGroupId=org.apache.training
-DarchetypeArtifactId=content-archetype -DarchetypeVersion=1.0.0-SNAPSHOT
cd train

These were my inputs:
[INFO] Generating project in Interactive mode
[INFO] Archetype repository not defined. Using the one from
[org.apache.training:content-archetype:1.0.0-SNAPSHOT] found in catalog
local
Define value for property 'groupId': abc
Define value for property 'artifactId': train
Define value for property 'version' 1.0-SNAPSHOT: : 1.0-SNAPSHOT
Define value for property 'package' abc: : war
Confirm properties configuration:
groupId: abc
artifactId: train
version: 1.0-SNAPSHOT
package: war
 Y: : Y

thanks,
Gautam

On Fri, May 22, 2020 at 9:21 AM sharanf <[email protected]> wrote:

> Hi Gautam
>
> Thanks for the response.
>
> I tried running the command you mentioned in the content directory and
> am getting the following message.
>
>      "Choose a number or apply filter (format: [groupId:]artifactId,
> case sensitive contains) ::"
>
> Once I enter anything I get the following message:
>
>      "Your filter doesnt match any archetype (hint: enter to return to
> initial list)"
>
> I have tried hitting enter but the first message "Choose a number or
> apply filter (format: [groupId:]artifactId, case sensitive contains) ::"
> just repeats again.
> Any suggestions to what I'm doing wrong?
>
> Thanks
> Sharan
>
> On 2020-05-22 01:58, gautam gupta wrote:
> > Hi Sharan,
> > Yes, you can run this command from "incubator-training/content" directory
> > to create the new folder. It'll ask you for the value of groupid,
> > artifactid, packaging etc.
> >
> > *Command: *
> >
> > mvn archetype:generate -DarchetypeGroupId=org.apache.training
> > -DarchetypeArtifactId=content-archetype
> > -DarchetypeVersion=1.0.0-SNAPSHOT
> >
> > Define value for property 'groupId': org.apache.training
> > Define value for property 'artifactId': Apache-Hive
> > Define value for property 'version' 1.0-SNAPSHOT: : 1.0.0.SNAPSHOT
> > Define value for property 'package' org.apache.training: : war
> >
> > Thanks,
> >
> > Gautam
> >
> >
> > On Thu, May 21, 2020 at 2:28 PM Sönke Liebau
> > <[email protected]> wrote:
> >
> >> Hi Sharan,
> >>
> >> I believe that template directory was removed in favor of the Maven
> >> archetype that Chris created.
> >>
> >> Please have a look at https://training.apache.org/users/index.html for
> >> some
> >> guidance.
> >>
> >> And if that is not enough (I realize the site is somewhat brief) please
> >> feel free to reach out again!
> >>
> >> Best regards,
> >> Sönke
> >>
> >>
> >> On Thu, 21 May 2020 at 21:19, Sharan Foga <[email protected]> wrote:
> >>
> >>> Hi All
> >>>
> >>> I was looking to create a ComDev directory for some training content.
> >>> There used to be a template directory  to copy from but I cant see it
> >>> anymore. Has it been moved?
> >>>
> >>> Thanks
> >>> Sharan
> >>>
> >>
> >> --
> >> Sönke Liebau
> >> Partner
> >> Tel. +49 179 7940878
> >> OpenCore GmbH & Co. KG - Thomas-Mann-Straße 8 - 22880 Wedel - Germany
> >>
>
>

Reply via email to