Commit Graph

336 Commits

Author SHA1 Message Date
Stephane Nicoll
bcc70551bb Support version format
This commit clarifies that Version now handles two different formats,
the original one (flagged V1) and a SemVer compliant format (flagged
V2). Both Version and VersionRange can switch from one format to the
other to produce backward compatible content.

See gh-1092
2020-06-02 16:52:29 +02:00
Stephane Nicoll
0b7614c4f0 Add support for SemVer and CalVer versions
This commit improves the version parser to handle qualifiers that are
separated by either a `.` or a `-`. This makes the parsing of
`1.2.0-RC1` or `2020.0.0-M1` possible.

Closes gh-1083
2020-05-26 11:25:32 +02:00
Stephane Nicoll
07b6912535 Polish 2020-03-24 07:38:24 +01:00
Stephane Nicoll
f7ef31d6f4 Polish "Add support for Maven's finalName"
See gh-1052
2020-03-17 08:10:01 +01:00
Joachim Pasquali
0f7196ae02 Add support for Maven's finalName
See gh-1052
2020-03-17 07:57:09 +01:00
Stephane Nicoll
95c306cc9b Polish "Add support for Maven <scm>"
See gh-1051
2020-03-17 06:20:51 +01:00
Joachim Pasquali
4151be0a64 Add support for Maven <scm>
See gh-1051
2020-03-17 05:59:48 +01:00
Stephane Nicoll
835f69986c Polish "Add dependency classifier support"
See gh-1049
2020-03-17 05:57:43 +01:00
Joachim Pasquali
a81e4ef77b Add dependency classifier support
See gh-1049
2020-03-17 05:11:23 +01:00
Stephane Nicoll
945b118b0c Polish 2020-01-01 08:41:11 +01:00
Stephane Nicoll
6c261fd8f1 Make sure ProjectDescriptionDiff is created eagerly
This commit makes sure that the diff instance is created immediately,
taking a snapshot of the ProjectDescription before the customizers are
applied on it.

Previously, the instance was created as part of the supplier and
therefore created only once a component was requiring it.

See gh-1023
2019-12-27 17:40:33 +01:00
Stephane Nicoll
591f6885cb Polish 2019-12-27 17:18:42 +01:00
Stephane Nicoll
7d2f175956 Remove unused method 2019-12-27 16:15:15 +01:00
Stephane Nicoll
d190e6860e Polish "Add distributionManagement support for Maven pom"
See gh-1038
2019-12-27 16:07:27 +01:00
Joachim Pasquali
10deca608d Add distributionManagement support for Maven pom
See gh-1038
2019-12-27 14:35:30 +01:00
Stephane Nicoll
39960b1cdd Polish 2019-12-27 14:32:53 +01:00
Stephane Nicoll
2d0ef11693 Polish "Add support for writing license and developer in Maven pom"
See gh-1029
2019-12-27 11:58:00 +01:00
Jafer Khan
f50af605fe Add support for writing license and developer in Maven pom
See gh-1029
2019-12-27 11:57:30 +01:00
Stephane Nicoll
5325e679e2 Polish "Keep track of original ProjectDescription"
See gh-1023
2019-12-27 11:09:00 +01:00
bono007
161fccbc75 Keep track of original ProjectDescription
See gh-1023
2019-12-27 09:28:21 +01:00
Stephane Nicoll
cddd4c7b5b Polish "Fix Groovy array declaration"
See gh-1016
2019-10-21 14:07:39 +02:00
markstrecker
4a2b3edcc8 Fix Groovy array declaration
See gh-1016
2019-10-21 14:07:27 +02:00
Stephane Nicoll
a729fae5d3 Upgrade to Spring Boot 2.2.0 2019-10-17 09:00:10 +02:00
Stephane Nicoll
d812ca8c38 Harmonize SCM information 2019-10-05 18:32:42 +01:00
Stephane Nicoll
4c05e7c29f Polish 2019-10-05 18:16:35 +01:00
Stephane Nicoll
9eacf3030d Polish Javadoc 2019-10-05 18:01:13 +01:00
Stephane Nicoll
bb159f3c7d Remove conceptual tangle 2019-10-04 18:37:16 +01:00
Stephane Nicoll
3712a51da1 Polish Javadoc 2019-10-04 17:51:46 +01:00
Stephane Nicoll
1ea7cdac29 Review Maven build Javadoc 2019-10-04 17:24:14 +01:00
Stephane Nicoll
69d7e6170a Polish 2019-10-04 17:22:31 +01:00
Stephane Nicoll
664dd6c4eb Use a Builder for MavenRepository
Closes gh-1013
2019-10-03 15:33:39 +02:00
Stephane Nicoll
285fec21a7 Use a Builder for BillOfMaterials
Closes gh-1012
2019-10-03 15:33:39 +02:00
Stephane Nicoll
42c106b6e9 Review build abstraction Javadoc 2019-10-03 15:33:39 +02:00
Stephane Nicoll
e0b274c383 Review Gradle build Javadoc 2019-10-03 15:33:05 +02:00
Stephane Nicoll
796b439dcc Polish 2019-09-27 13:42:40 +02:00
Stephane Nicoll
252ee887f7 Polish 2019-09-27 12:52:25 +02:00
Stephane Nicoll
c89b399956 Disable @ProjectGenerationContext bean overriding by default
This commit extends ProjectGenerator so that the configuration of the
ProjectGenerationContext can be externalized if necessary. By default,
a context that does not allow bean overriding is provided.

Closes gh-999
2019-09-27 12:31:11 +02:00
Stephane Nicoll
26d44f26b9 Polish 2019-09-25 10:17:04 +02:00
Stephane Nicoll
88f986b7c1 Harmonize Maven build to use containers
Closes gh-996
2019-09-04 16:39:38 +02:00
Stephane Nicoll
04a78a94d6 Harmonize Gradle build to use containers
See gh-996
2019-09-04 15:47:45 +02:00
Stephane Nicoll
59f9092e2f Move build properties to dedicated container
See gh-996
2019-09-04 15:47:10 +02:00
Stephane Nicoll
3f6c98173b Move general build settings to immutable class
This commit moves the global build settings to an immutable
BuildSettings abstraction.

See gh-996
2019-09-03 10:10:22 +02:00
Stephane Nicoll
7d47786a8b Improve SourceStructure to handle source and resource assets 2019-09-02 10:19:09 +02:00
Stephane Nicoll
595050258c Move source file extension to Language abstraction
Closes gh-995
2019-08-31 09:07:06 +02:00
Stephane Nicoll
0b37199b3e Polish 2019-08-25 04:41:44 +02:00
Stephane Nicoll
c36ae847fb Harmonize ProjectDescription name 2019-08-25 03:17:25 +02:00
Stephane Nicoll
286e38888c Migrate ProjectDescription to an interface
This commit migrates ProjectDescription to an interface with read-only
accessors and create a MutableProjectDescription implementation that can
be used for both purposes.

As a result, the type separation between ResolvedProjectDescription and
ProjectDescription is no longer necessary.

Closes gh-993
2019-08-25 03:03:57 +02:00
Stephane Nicoll
91656ba0f8 Polish 2019-08-23 15:06:36 +02:00
Stephane Nicoll
b711ac73c9 Polish "Add support for Maven resources"
See gh-967
2019-08-23 15:03:05 +02:00
Leonardo Ramos
df62424c0e Add support for Maven resources
See gh-967
2019-08-23 13:58:11 +02:00