maven-archetype.git
6 weeks ago[ARCHETYPE-557] - Upgrade surefire to 2.22.1 master
Karl Heinz Marbaise [Sat, 3 Nov 2018 11:56:47 +0000 (12:56 +0100)] 
[ARCHETYPE-557] - Upgrade surefire to 2.22.1

6 weeks agoRemove trailing spaces in generated App.java and AppTest.java
Robert Scholte [Mon, 29 Oct 2018 19:30:18 +0000 (20:30 +0100)] 
Remove trailing spaces in generated App.java and AppTest.java

6 weeks agoRemove trailing spaces in generated App.java and AppTest.java 22/head
John Lin [Mon, 29 Oct 2018 05:14:11 +0000 (13:14 +0800)] 
Remove trailing spaces in generated App.java and AppTest.java

2 months ago[ARCHETYPE-553] Allow additional properties for IntegrationTestMojo's MavenInvoker
rfscholte [Sat, 6 Oct 2018 10:25:52 +0000 (12:25 +0200)] 
[ARCHETYPE-553] Allow additional properties for IntegrationTestMojo's MavenInvoker

2 months agoupgraded parent POM from 32 to 33
Hervé Boutemy [Sat, 15 Sep 2018 20:47:34 +0000 (22:47 +0200)] 
upgraded parent POM from 32 to 33

3 months ago[MPOM-205] use sha512 checksums instead of sha1
Hervé Boutemy [Wed, 29 Aug 2018 12:53:53 +0000 (14:53 +0200)] 
[MPOM-205] use sha512 checksums instead of sha1

3 months ago[MNGSITE-341] use https for sigs, hashes and KEYS
Hervé Boutemy [Wed, 29 Aug 2018 12:44:34 +0000 (14:44 +0200)] 
[MNGSITE-341] use https for sigs, hashes and KEYS

4 months ago[ARCHETYPE-554] created version 1.1.0 (and marked previous as 1.0.0)
Hervé Boutemy [Sat, 11 Aug 2018 20:45:52 +0000 (22:45 +0200)] 
[ARCHETYPE-554] created version 1.1.0 (and marked previous as 1.0.0)

4 months agoUpgrade maven-parent to 32
rfscholte [Sun, 5 Aug 2018 20:51:55 +0000 (22:51 +0200)] 
Upgrade maven-parent to 32

5 months ago[INFRA-16467] move components documentation out of CMS space
Hervé Boutemy [Mon, 18 Jun 2018 22:02:19 +0000 (00:02 +0200)] 
[INFRA-16467] move components documentation out of CMS space

6 months agoARCHETYPE-530 Pass the settings.xml file to the ArchetypeCreationRequest.
petar.tahchiev [Fri, 25 May 2018 09:52:13 +0000 (12:52 +0300)] 
ARCHETYPE-530 Pass the settings.xml file to the ArchetypeCreationRequest.

If the user has specified settings.xml file on the command-line we need to pass it
to the ArchetypeCreationRequest and further down the InvocationRequest. Otherwise
postPhase like deploy will not work with custom settings.xml

See ARCHETYPE-530

7 months ago[MNGSITE-328] use sha1 checksum instead of md5
Hervé Boutemy [Fri, 11 May 2018 13:01:35 +0000 (15:01 +0200)] 
[MNGSITE-328] use sha1 checksum instead of md5

8 months ago[ARCHETYPE-543] - Upgrade modello from 1.8.3 to 1.9.1
Karl Heinz Marbaise [Sat, 7 Apr 2018 14:36:23 +0000 (16:36 +0200)] 
[ARCHETYPE-543] - Upgrade modello from 1.8.3 to 1.9.1

8 months ago[ARCHETYPE-544] - Upgrade mave-surefire/failsafe-plugin 2.21.0
Karl Heinz Marbaise [Sat, 7 Apr 2018 15:02:19 +0000 (17:02 +0200)] 
[ARCHETYPE-544] - Upgrade mave-surefire/failsafe-plugin 2.21.0

8 months ago[ARCHETYPE-545] - Upgrade parent to 31
Karl Heinz Marbaise [Sat, 7 Apr 2018 14:44:32 +0000 (16:44 +0200)] 
[ARCHETYPE-545] - Upgrade parent to 31
 o Fixed checkstyle issues related to the upgrade

8 months ago[ARCHETYPE-542] switch from Git-WIP to GitBox
Hervé Boutemy [Sun, 18 Mar 2018 14:04:51 +0000 (15:04 +0100)] 
[ARCHETYPE-542] switch from Git-WIP to GitBox

9 months agoupdated Modello xsd url
Hervé Boutemy [Tue, 13 Mar 2018 17:12:46 +0000 (18:12 +0100)] 
updated Modello xsd url

9 months agoswitched snippet tags from old to new archetype descriptor
Hervé Boutemy [Tue, 13 Mar 2018 07:10:35 +0000 (08:10 +0100)] 
switched snippet tags from old to new archetype descriptor

9 months agoupdated Modello xsd references
Hervé Boutemy [Tue, 13 Mar 2018 07:04:32 +0000 (08:04 +0100)] 
updated Modello xsd references

9 months agoFix spelling of rigorous
Daniel Compton [Thu, 23 Feb 2017 18:36:28 +0000 (07:36 +1300)] 
Fix spelling of rigorous

9 months agofixed typo repsoitory
Dennis Kieselhorst [Fri, 9 Feb 2018 13:12:13 +0000 (14:12 +0100)] 
fixed typo repsoitory

9 months ago[ARCHETYPE-492] Underscore in filenames problematic due to greedy regex
Guillaume Boué [Sun, 25 Feb 2018 17:13:37 +0000 (18:13 +0100)] 
[ARCHETYPE-492] Underscore in filenames problematic due to greedy regex

The pattern looking for tokens to replace in filenames should exactly
match __<something>__, where <something> has at least 1 character, and
neither starts nor ends with an underscore (but it can contain single
underscores in the middle).

9 months agoimproved documentation on maven-archetype packaging
Hervé Boutemy [Sat, 24 Feb 2018 21:16:14 +0000 (22:16 +0100)] 
improved documentation on maven-archetype packaging

10 months agofix build with Java 9: need to define compiler target to value > 5
Hervé Boutemy [Sun, 21 Jan 2018 13:27:33 +0000 (14:27 +0100)] 
fix build with Java 9: need to define compiler target to value > 5

10 months agoupgrade plexus-component-metadata to 1.7 to be Java 9 compatible
Hervé Boutemy [Sun, 21 Jan 2018 13:09:21 +0000 (14:09 +0100)] 
upgrade plexus-component-metadata to 1.7 to be Java 9 compatible

12 months agoAdd Jenkinsfile
Hervé Boutemy [Wed, 29 Nov 2017 22:49:53 +0000 (23:49 +0100)] 
Add Jenkinsfile

18 months agotried to improve explanations (and fix little typos)
Hervé Boutemy [Sat, 20 May 2017 09:08:10 +0000 (11:08 +0200)] 
tried to improve explanations (and fix little typos)

20 months agoavoid confusion with "Using mirror mrm-maven-plugin for central" msg
Hervé Boutemy [Sat, 15 Apr 2017 02:22:08 +0000 (04:22 +0200)] 
avoid confusion with "Using mirror mrm-maven-plugin for central" msg

20 months ago[maven-release-plugin] prepare for next development iteration
rfscholte [Sat, 8 Apr 2017 11:25:06 +0000 (13:25 +0200)] 
[maven-release-plugin] prepare for next development iteration

20 months ago[maven-release-plugin] prepare release maven-archetype-3.0.1 maven-archetype-3.0.1
rfscholte [Sat, 8 Apr 2017 11:24:44 +0000 (13:24 +0200)] 
[maven-release-plugin] prepare release maven-archetype-3.0.1

20 months agoUpdate documentation regarding archetypeCatalog and archetype repositories
rfscholte [Sat, 1 Apr 2017 12:14:21 +0000 (14:14 +0200)] 
Update documentation regarding archetypeCatalog and archetype repositories

20 months ago[ARCHETYPE-521] Cannot specify remote repository for generate project from archetype
rfscholte [Sat, 1 Apr 2017 11:21:41 +0000 (13:21 +0200)] 
[ARCHETYPE-521] Cannot specify remote repository for generate project from archetype

Verified with integration-test

20 months agoSquashed commit of the following:
rfscholte [Sat, 1 Apr 2017 09:43:41 +0000 (11:43 +0200)] 
Squashed commit of the following:

commit 35b4a76d1d6d73f23320aa2c825c616c9816760c
Author: rfscholte <rfscholte@apache.org>
Date:   Sat Apr 1 11:39:22 2017 +0200

    [ARCHETYPE-520] Following mirror configuration from settings.xml for downloading archetype metadata

    Add verify script to ensure nothing is downloaded directly from Central

commit 50b21e8a99d7d1d0170d5fc7b5ba7fb82425814e
Author: rfscholte <rfscholte@apache.org>
Date:   Sat Apr 1 11:08:46 2017 +0200

    [ARCHETYPE-520] Following mirror configuration from settings.xml for downloading archetype metadata

    Use released 1.1.0 of mrm-maven-plugin

commit be052022c053e887aa964060255231e579e15d56
Author: rfscholte <rfscholte@apache.org>
Date:   Mon Mar 20 20:07:47 2017 +0100

    ARCHETYPE-520: Following mirror configuration from settings.xml for downloading archetype metadata

    MRM based integration test

20 months agoAlways filter the output file name always.
petar.tahchiev [Tue, 28 Mar 2017 08:59:06 +0000 (11:59 +0300)] 
Always filter the output file name always.

The filenames were only processed for filtering if resources in the folder
were filtered. However if a folder contains both filtered and not-filtered
resources then the folders are duplicated (see ARCHETYPE-524).

With this change we filter the filenames always - making the resulting files
reside in the same folder always.

21 months ago[ARCHETYPE-522] Introduce MRM for archetype-maven-plugin ITs
rfscholte [Tue, 28 Feb 2017 21:29:37 +0000 (22:29 +0100)] 
[ARCHETYPE-522] Introduce MRM for archetype-maven-plugin ITs

21 months ago[ARCHETYPE-519] archetype:generate with specified remote archetypeCatalog falls back...
rfscholte [Wed, 15 Feb 2017 20:02:55 +0000 (21:02 +0100)] 
[ARCHETYPE-519] archetype:generate with specified remote archetypeCatalog falls back to internal catalog
throw IllegalArgumentException for all unknown archetypeCatalog values, e.g. file:/ and http://

21 months ago[ARCHETYPE-518] Archetype cannot be created from project if parent pom.xml evaluates...
rfscholte [Tue, 14 Feb 2017 21:43:51 +0000 (22:43 +0100)] 
[ARCHETYPE-518] Archetype cannot be created from project if parent pom.xml evaluates system properties
Maven3 is more efficient compared to Maven2, no workarounds required

22 months agoARCHETYPE-518
petar.tahchiev [Tue, 14 Feb 2017 12:18:25 +0000 (14:18 +0200)] 
ARCHETYPE-518

Add a commented test-case for ARCHETYPE-518 to demonstrate when parent is trying to read
system properties we cannot create archetype from project.

22 months ago[maven-release-plugin] prepare for next development iteration
rfscholte [Wed, 8 Feb 2017 14:55:05 +0000 (15:55 +0100)] 
[maven-release-plugin] prepare for next development iteration

22 months ago[maven-release-plugin] prepare release maven-archetype-3.0.0 maven-archetype-3.0.0
rfscholte [Wed, 8 Feb 2017 14:40:44 +0000 (15:40 +0100)] 
[maven-release-plugin] prepare release maven-archetype-3.0.0

22 months agoFix licenses for UTs
rfscholte [Wed, 8 Feb 2017 13:43:22 +0000 (14:43 +0100)] 
Fix licenses for UTs

22 months agoFix licenses for ITs
rfscholte [Wed, 8 Feb 2017 12:01:19 +0000 (13:01 +0100)] 
Fix licenses for ITs
Exclude goal.txt, which may only contain 1 line with goals

22 months ago[ARCHETYPE-517] Maven doesn't fail if invocation goals fail
rfscholte [Tue, 7 Feb 2017 21:01:44 +0000 (22:01 +0100)] 
[ARCHETYPE-517] Maven doesn't fail if invocation goals fail

22 months ago[ARCHETYPE-472] Upgrade Apache Velocity Engine to 1.7
rfscholte [Tue, 7 Feb 2017 12:51:23 +0000 (13:51 +0100)] 
[ARCHETYPE-472] Upgrade Apache Velocity Engine to 1.7

22 months ago[ARCHETYPE-439] Remove archetypeRepository param
rfscholte [Tue, 7 Feb 2017 12:29:24 +0000 (13:29 +0100)] 
[ARCHETYPE-439] Remove archetypeRepository param

22 months ago[ARCHETYPE-433] Remove unused archetype registry stuff
rfscholte [Tue, 7 Feb 2017 12:28:41 +0000 (13:28 +0100)] 
[ARCHETYPE-433] Remove unused archetype registry stuff
remove site references
remove managed dependency

22 months ago[ARCHETYPE-440] Additional goals specified through goals param should be added to...
rfscholte [Tue, 31 Jan 2017 22:07:22 +0000 (23:07 +0100)] 
[ARCHETYPE-440] Additional goals specified through goals param should be added to any goals specified by the used archetype

22 months ago[ARCHETYPE-433] Remove unused archetype registry stuff
rfscholte [Mon, 30 Jan 2017 14:43:04 +0000 (15:43 +0100)] 
[ARCHETYPE-433] Remove unused archetype registry stuff

22 months ago[ARCHETYPE-358] Following mirror configuration from settings.xml
rfscholte [Mon, 30 Jan 2017 12:29:56 +0000 (13:29 +0100)] 
[ARCHETYPE-358] Following mirror configuration from settings.xml

22 months ago[ARCHETYPE-438] Remove support for specifying catalogs through direct URLs
rfscholte [Sat, 28 Jan 2017 12:45:41 +0000 (13:45 +0100)] 
[ARCHETYPE-438] Remove support for specifying catalogs through direct URLs

22 months agoSeparate tests from ArchetypeCatalogsTest, ensure LocalCatalogArchetypeDataSource...
rfscholte [Fri, 27 Jan 2017 22:49:14 +0000 (23:49 +0100)] 
Separate tests from ArchetypeCatalogsTest, ensure LocalCatalogArchetypeDataSource isn't using a webserver

22 months agoRemove WikiArchetypeDataSource, implementation only used in test
rfscholte [Fri, 27 Jan 2017 20:24:21 +0000 (21:24 +0100)] 
Remove WikiArchetypeDataSource, implementation only used in test

22 months agogetArchetypeCatalog now uses actual locaRepository
rfscholte [Fri, 27 Jan 2017 20:20:25 +0000 (21:20 +0100)] 
getArchetypeCatalog now uses actual locaRepository

22 months agoUpdateCatalog now uses projectBuildingRequest with actual localRepository
rfscholte [Fri, 27 Jan 2017 14:52:49 +0000 (15:52 +0100)] 
UpdateCatalog now uses projectBuildingRequest with actual localRepository

22 months agoRemove DataSink, it's never used
rfscholte [Fri, 27 Jan 2017 14:37:47 +0000 (15:37 +0100)] 
Remove DataSink, it's never used

22 months ago[ARCHETYPE-437] Remove support for the create goal
rfscholte [Fri, 27 Jan 2017 13:22:57 +0000 (14:22 +0100)] 
[ARCHETYPE-437] Remove support for the create goal

22 months ago[ARCHETYPE-515] Migrate plugin to Maven3
rfscholte [Fri, 27 Jan 2017 13:13:54 +0000 (14:13 +0100)] 
[ARCHETYPE-515] Migrate plugin to Maven3

Squashed commit of the following:

commit e1e6fff59037ba20a479cd1b1dcaa750bf6d1cd0
Author: rfscholte <rfscholte@apache.org>
Date:   Fri Jan 27 14:08:13 2017 +0100

    clean up dependencies

commit ffe813f486916b4d2d8ae249a64a818978f5bfc6
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Jan 26 17:23:29 2017 +0100

    maven-compat now always has test scope

commit fa1a96680c77814f88cf5dc8b18227ab1e01ed87
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Jan 26 17:07:33 2017 +0100

    Replace maven-compat classes in IntegrationTestMojo

commit 401832a7f95a508ad7ee6032950dd4df447ffb59
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Jan 26 12:39:50 2017 +0100

    archetype-common main sources freed from maven-compat

commit d2ad8a7dde8ae5a7a64b2e6bb0aabfeb6cc6d7ad
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Jan 26 12:15:04 2017 +0100

    Replace maven-compat class in DefaultArchetypeRegistryManager

commit 59e729068331b87fb68ec57c44a7d1d01f431b49
Author: rfscholte <rfscholte@apache.org>
Date:   Thu Jan 26 11:42:42 2017 +0100

    Replace maven-compat classes in DefaultDownloader

commit 08060f0ebd1e452d865ee11c0f66d36aef26e275
Author: rfscholte <rfscholte@apache.org>
Date:   Wed Jan 25 16:05:23 2017 +0100

    Maven 3.0 dependencies + maven-compat

commit 9415a13838fe4f3dbf82efc7cd064e7a27a4cfd4
Author: rfscholte <rfscholte@apache.org>
Date:   Wed Jan 25 12:19:11 2017 +0100

    Move parent to proper location

commit fff235b7df4c13f18a1b348649334d8b11dced65
Author: rfscholte <rfscholte@apache.org>
Date:   Wed Jan 25 00:20:50 2017 +0100

    [ARCHETYPE-515] Migrate plugin to Maven3
    stop using legacy repository layout

22 months ago[ARCHETYPE-509] RequiredProperty not set in batch mode
Max Norris [Tue, 13 Sep 2016 21:20:17 +0000 (23:20 +0200)] 
[ARCHETYPE-509] RequiredProperty not set in batch mode
this closes #14
Signed-off-by: rfscholte <rfscholte@apache.org>
22 months ago[ARCHETYPE-241] Filtering of directory name same as filenames
rfscholte [Tue, 24 Jan 2017 11:37:06 +0000 (12:37 +0100)] 
[ARCHETYPE-241] Filtering of directory name same as filenames

22 months agoSquashed commit of the following:
rfscholte [Mon, 23 Jan 2017 21:03:23 +0000 (22:03 +0100)] 
Squashed commit of the following:

commit a02e9922c62313ffa147b4f63d125f4dc41f7280
Author: rfscholte <rfscholte@apache.org>
Date:   Mon Jan 23 21:55:42 2017 +0100

    [ARCHETYPE-514] Tests fail with empty repository and 'mvn verify'
    Switch from surefire to failsafe to ensure jars have been created
    let maven-invoker-plugin prepare local repo for failsafe ITs

commit afdf0a2c4ff57632044099b852b1d116531f81c2
Author: rfscholte <rfscholte@apache.org>
Date:   Mon Jan 23 20:46:47 2017 +0100

    Move ITS to plugin

2 years ago[ARCHETYPE-513] Files in excludePatterns having a default filtered
Guillaume Boué [Thu, 17 Nov 2016 12:27:58 +0000 (13:27 +0100)] 
[ARCHETYPE-513] Files in excludePatterns having a default filtered
extension are still included

If a file having a default filtered extensions was present in a manually
excluded pattern, it still ended up in the generated archetype. The fix
is to propagate the excludePattern to the creation of the archetype
files in (FilesetArchetypeCreator#createArchetypeFiles).

2 years agoupdated parent pom and site.xml
Hervé Boutemy [Sun, 25 Sep 2016 14:13:03 +0000 (16:13 +0200)] 
updated parent pom and site.xml

2 years agoARCHETYPE-510 enable Archetype 1.0.x descriptor documentation back
Hervé Boutemy [Sun, 25 Sep 2016 13:50:04 +0000 (15:50 +0200)] 
ARCHETYPE-510 enable Archetype 1.0.x descriptor documentation back

2 years agoAdd maven-packaging dependency to archetype-final.
Petar Tahchiev [Mon, 15 Aug 2016 08:37:35 +0000 (11:37 +0300)] 
Add maven-packaging dependency to archetype-final.

The archetype-final depends on maven-packaging for executing some of the tests.

2 years agoAdd new testing module final.
Petar Tahchiev [Mon, 15 Aug 2016 08:21:45 +0000 (11:21 +0300)] 
Add new testing module final.

These tests:

  - maven-archetype-plugin/src/it/create-from-project
  - DefaultArchetypeCreatorTest.java
  - ArchetyperRoundtripTest.java
  - ArchetyperRoundtripWithProxyTest.java
  - RoundtripMultiModuleTest.java

require the presence of org.apache.maven.plugins:maven-archetype-plugin:${project.version}.
That's why we can't keep them in the archetype-common or maven-archetype-plugin modules, and thus
the reason to introduce a new module in the archetype-testing module. The new module archetype-final
depends on both archetype-common and maven-archetype-plugin so it gets executed last and contains
tests that require everything else to be built before that.

2 years agoRemove test scope of archetype-packaging
Petar Tahchiev [Sun, 14 Aug 2016 08:02:19 +0000 (11:02 +0300)] 
Remove test scope of archetype-packaging

Remove test-scope of archetype-packaging otherwise
the common module cannot find it on Jenkins.

2 years agoTypo
Petar Tahchiev [Sun, 14 Aug 2016 07:58:25 +0000 (10:58 +0300)] 
Typo

2 years agoAdd a null-pointer check for invoker result.
Petar Tahchiev [Sun, 14 Aug 2016 07:27:52 +0000 (10:27 +0300)] 
Add a null-pointer check for invoker result.

In some rare conditions it might turn out the resulting exception from
invoker result is null, that's why we need a null-check and throw
a default exception.

2 years agoArchetype-common depends on archetype-packaging.
Petar Tahchiev [Sun, 14 Aug 2016 07:22:04 +0000 (10:22 +0300)] 
Archetype-common depends on archetype-packaging.

Some of the tests in archetype-common depend on archetype-packaging.

2 years agoUpdate parent pom to version 27.
Petar Tahchiev [Sun, 14 Aug 2016 06:57:37 +0000 (09:57 +0300)] 
Update parent pom to version 27.

2 years agoFail main build if invoker fails.
Petar Tahchiev [Sat, 13 Aug 2016 22:35:22 +0000 (01:35 +0300)] 
Fail main build if invoker fails.

Read the invoker result and fail the main build if the invoker fails.

Related to: https://issues.apache.org/jira/browse/ARCHETYPE-496

2 years agoAdd ignoreEOLStyle to test pom.xmls
Petar Tahchiev [Sat, 13 Aug 2016 20:57:46 +0000 (23:57 +0300)] 
Add ignoreEOLStyle to test pom.xmls

Sometimes git screws up with line endings so it's better to compare
the contents of the files with ignoreEOLStyle=true set.

2 years agoARCHETYPE-501 Blank archetype properties are invalid.
Petar Tahchiev [Fri, 12 Aug 2016 14:03:56 +0000 (17:03 +0300)] 
ARCHETYPE-501 Blank archetype properties are invalid.

Checking if properties provided by user are empty is not emough,
we must also check if they are not blank.

Close: https://issues.apache.org/jira/browse/ARCHETYPE-501

2 years agoARCHETYPE-496 Add more documentation
Petar Tahchiev [Fri, 12 Aug 2016 13:59:10 +0000 (16:59 +0300)] 
ARCHETYPE-496 Add more documentation

Add some more documentation on how to add tests when creating
archetype from existing project.

Related to: https://issues.apache.org/jira/browse/ARCHETYPE-496

2 years agoFix import order in ArchetypeConfiuration
Manuel Ryan [Wed, 1 Jun 2016 11:30:28 +0000 (13:30 +0200)] 
Fix import order in ArchetypeConfiuration

This closes #10

2 years ago[ARCHETYPE-504] Property excludePatterns is not propagated into required properties
Ales Rybak [Fri, 15 Jul 2016 15:48:20 +0000 (17:48 +0200)] 
[ARCHETYPE-504] Property excludePatterns is not propagated into required properties

2 years ago[ARCHETYPE-503] Unit tests with archetype-post-generate.groovy fail on Windows
Michael Osipov [Tue, 12 Jul 2016 11:41:21 +0000 (13:41 +0200)] 
[ARCHETYPE-503] Unit tests with archetype-post-generate.groovy fail on Windows

2 years ago[ARCHETYPE-502] XMLOutputter generates files with inconsistent line ending on Windows
Michael Osipov [Tue, 12 Jul 2016 11:04:46 +0000 (13:04 +0200)] 
[ARCHETYPE-502] XMLOutputter generates files with inconsistent line ending on Windows

2 years ago[ARCHETYPE-491] Allow to run integration test with another archetype as parent project
Konrad Windszus [Sat, 3 Oct 2015 15:47:31 +0000 (17:47 +0200)] 
[ARCHETYPE-491] Allow to run integration test with another archetype as parent project

This closes #8

2 years ago[ARCHETYPE-487] Add regex input validation for required properties defined in artifac...
Manuel Ryan [Fri, 4 Sep 2015 11:47:43 +0000 (13:47 +0200)] 
[ARCHETYPE-487] Add regex input validation for required properties defined in artifact descriptor

This closes #7

2 years ago[ARCHETYPE-488] Goal integration-test of maven-archetype-plugin fails with 'Cannot...
rfscholte [Wed, 27 Apr 2016 19:09:03 +0000 (21:09 +0200)] 
[ARCHETYPE-488] Goal integration-test of maven-archetype-plugin fails with 'Cannot run additions goals." in version 3.3.1
Upgrade maven-invoker to pick up MSHARED-413

2 years agoFiles with no extension are not included in the resulting archetype.
Petar Tahchiev [Sat, 27 Feb 2016 11:04:38 +0000 (13:04 +0200)] 
Files with no extension are not included in the resulting archetype.

When an archetype is created from a given project, files with no extension are not included in the resulting
archetype. This commit adds a check whether the extension of the file to include is an empty string. A test-case
is also included. Close ARCHETYPE-499

2 years agoReplace hard-coded values in archetype-post-generate script
Petar Tahchiev [Sun, 17 Jan 2016 19:52:12 +0000 (21:52 +0200)] 
Replace hard-coded values in archetype-post-generate script

Replace hard-coded values in archetype-post-generate script with corresponding request values.

2 years agoAdd documentation
Petar Tahchiev [Sat, 16 Jan 2016 21:44:28 +0000 (23:44 +0200)] 
Add documentation

Add some documentation for the archetype test when create from project, and also for the
post-generation script.

2 years ago[ARCHETYPE-496] Copy archetype integration tests when create-from-project
Petar Tahchiev [Sat, 16 Jan 2016 21:17:57 +0000 (23:17 +0200)] 
[ARCHETYPE-496] Copy archetype integration tests when create-from-project

Copy all project integration tests from folder `src/it/projects/` into `src/test/resources/projects/` so that they can be executed
when creating an archetype from existing project.

Close https://issues.apache.org/jira/browse/ARCHETYPE-496

2 years ago[ARCHETYPE-494] don't hardcode outputDirectory
Hervé Boutemy [Sat, 16 Jan 2016 17:51:01 +0000 (18:51 +0100)] 
[ARCHETYPE-494] don't hardcode outputDirectory

2 years agoAdd ArchetypeGenerationRequest in the context of the groovy script.
Petar Tahchiev [Sat, 16 Jan 2016 15:51:54 +0000 (17:51 +0200)] 
Add ArchetypeGenerationRequest in the context of the groovy script.

Add the ArchetypeGenerationRequest in the context of the groovy script, so that we can get the outputDirectory
and other useful information when executing the groovy script during archetype generation.

Related to https://issues.apache.org/jira/browse/ARCHETYPE-494

2 years agoDo not change request content with extra properties.
Petar Tahchiev [Sun, 10 Jan 2016 22:30:07 +0000 (00:30 +0200)] 
Do not change request content with extra properties.

Avoid dirtying the request content with extra properties. Instead create a separate holder
to keep track of the request properties and the system properties.

2 years agoIterate over every resource folder when preparing archetype.
Petar Tahchiev [Sun, 10 Jan 2016 22:16:49 +0000 (00:16 +0200)] 
Iterate over every resource folder when preparing archetype.

Iterate over every resource folder to find archetype's post-generation script when preparing the archetype.

2 years agoAdd .classpath file for the test.
Petar Tahchiev [Sun, 10 Jan 2016 17:07:07 +0000 (19:07 +0200)] 
Add .classpath file for the test.

2 years agoadded documentation about post-generation script: it's UTF-8
Hervé Boutemy [Sat, 9 Jan 2016 14:03:24 +0000 (15:03 +0100)] 
added documentation about post-generation script: it's UTF-8

2 years agoAllow execution of groovy script after archetype generation.
Petar Tahchiev [Thu, 7 Jan 2016 08:04:40 +0000 (10:04 +0200)] 
Allow execution of groovy script after archetype generation.

Modify the FilesetArchetypeCreator to include a script with name META-INF/archetype-post-generate.groovy in the created archetype. Also execute this script in the DefaultFilesetArchetypeGenerator after the archetype has been created. This will allow defining of some post-generate logic (delete a file, rename a folder, etc.) after archetype generation.

Close https://issues.apache.org/jira/browse/ARCHETYPE-494

3 years agoupdated link to /archetypes/
Hervé Boutemy [Thu, 13 Aug 2015 22:11:30 +0000 (00:11 +0200)] 
updated link to /archetypes/

3 years ago[maven-release-plugin] prepare for next development iteration
Petar Tahchiev [Sun, 9 Aug 2015 20:14:10 +0000 (23:14 +0300)] 
[maven-release-plugin] prepare for next development iteration

3 years ago[maven-release-plugin] prepare release maven-archetype-2.4 maven-archetype-2.4
Petar Tahchiev [Sun, 9 Aug 2015 20:13:33 +0000 (23:13 +0300)] 
[maven-release-plugin] prepare release maven-archetype-2.4

3 years agoARCHETYPE-484 fixed missing interpolation
Hervé Boutemy [Sun, 9 Aug 2015 19:46:46 +0000 (21:46 +0200)] 
ARCHETYPE-484 fixed missing interpolation

3 years agofixed javadoc inconsistencies
Hervé Boutemy [Sun, 9 Aug 2015 19:41:50 +0000 (21:41 +0200)] 
fixed javadoc inconsistencies

3 years agoAdd a setup.bsh to create the empty directories, because git cannot hold empty direct...
Petar Tahchiev [Sun, 9 Aug 2015 19:42:17 +0000 (22:42 +0300)] 
Add a setup.bsh to create the empty directories, because git cannot hold empty directories.

3 years agoThe vote failed so I'm reverting back to 2.4-SNAPSHOT and including @hboutemy's chang...
Petar Tahchiev [Sun, 9 Aug 2015 19:26:51 +0000 (22:26 +0300)] 
The vote failed so I'm reverting back to 2.4-SNAPSHOT and including @hboutemy's changes on the maven-poject-info-report plugin

3 years agoupdated MPIR to get advantage from improved git support MPIR-290
Hervé Boutemy [Sun, 9 Aug 2015 19:18:28 +0000 (21:18 +0200)] 
updated MPIR to get advantage from improved git support MPIR-290