Commit Graph

633 Commits

Author SHA1 Message Date
Guillaume Smet
19a6cbeadd [RELEASE] - Bump version to 1.0.1.Final 2019-11-28 09:20:42 +01:00
Jaikiran Pai
ca990dea95 issue-5683 remove unused "libDir" param 2019-11-24 12:06:04 +01:00
Alexey Loubyansky
aa6ae88685 This fixes list (and also add) extensions commands in Gradle (by using the descriptor stored in a ThreadLocal) and in Maven (by properly resolving the BOM coordinates) 2019-11-22 12:47:00 +01:00
Alexey Loubyansky
7a8be23e5b Replacing quarkus.properties in projection generation templates with quarkus.platform.version and quarkus-plugin.version for Maven and quarkusVersion with quarkusPluginVersion for Gradle, also adding quarkus.platform.group-is and quarkus.platform.artifact-id to pom.xml templates and sorting of properties before persisting pom.xml. 2019-11-19 10:16:17 +01:00
Jan Martiska
1374a3ddd4 Change compile quarkus:dev to just quarkus:dev in Maven plugin's output 2019-11-18 17:19:14 +01:00
Alexey Loubyansky
32e0dacb87 Make the create project mojo resolve the latest version of the universe by default and fall back to the bundled quarkus-bom in offline mode 2019-11-18 11:03:02 +01:00
Andrew Guibert
a875360a92 Update Kotlin and Scala gradle templates to match Java template 2019-11-15 16:08:19 +01:00
Alexey Loubyansky
4d7831e308 Use ThreadLocal to store the global value only for gradle add and list extensions tasks, otherwise the default global config should use a static field 2019-11-15 15:59:00 +01:00
Manyanda Chitimbo
6c38da3fc8 fix: remove unsupported native-image flags
this remove the enableRetainedHeapReporting i.e -H:+PrintRetainedHeapHistogram and
enableCodeSizeReporting i.e -H:+PrintCodeSizeReport

fixes #5324
2019-11-15 15:47:37 +01:00
George Gastaldi
79a12aed6b Generated Gradle code should use the build/ directory
Fixes #5363
2019-11-14 16:06:46 +01:00
Timothy Power
e1fd766c79 Kotlin requires all-open plugin 2019-11-14 14:57:28 +01:00
George Gastaldi
4b6565f5c9 Replace gradle-tooling-api with gradleApi()
As reported in #5204
2019-11-14 12:55:34 +01:00
George Gastaldi
0a8b53d395 Gradle addExtension now handles comma-separated values
Fixes #5224
2019-11-14 12:21:25 +01:00
Stuart Douglas
d7aaf158c9 Include exception in pom reload failure message 2019-11-14 12:12:48 +01:00
Stuart Douglas
e609a2f7af Move port check back to correct place
Fixes #5186
2019-11-05 08:05:10 +01:00
Guillaume Smet
91919e88e2 Fix instructions in Dockerfile.native 2019-11-05 07:49:06 +01:00
Tako Schotanus
ec8dc0c6ed fix: overriding of extensions should work again
Fixes #5170
2019-11-04 16:27:12 +01:00
Max Rydahl Andersen
3f56bf4b62 Cleanup platformBomXXX and templates
Why:

 * maven and gradle uses various different spelling and casing of
   quarkusPlatformBomXXX

This change addreses the need by:

 * search and replace to consistently use `quarkusPlatformXXX` (i.e not bom)
   references as the data is intended to be used to resolve the "platform"
   rather than a specific resource.
 * Future improvements can be done in pom.xml and gradle build files to
   allow overrides but changing that this close to release I evaluated as
   being a bad idea :)
2019-11-01 16:39:02 +01:00
Guillaume Smet
a8b2a0e688 Merge pull request #5112 from gsmet/fix-5110
Properly check empty native image options for Maven and Gradle
2019-11-01 14:03:35 +01:00
Guillaume Smet
5061c0bdd5 Properly check empty native image options for Maven and Gradle
Fixes #5110
2019-11-01 11:29:28 +01:00
Max Rydahl Andersen
e3719e2dd2 Merge pull request #5084 from maxandersen/platformeverywhere
Use platform for project create
2019-11-01 09:19:53 +01:00
Guillaume Smet
9d5f3455f9 Unify the guide URLs for better consistency 2019-10-31 22:59:32 +01:00
Gwenneg Lepage
f1728b711c Merge pull request #5086 from rsvoboda/StandardCharsets.UTF_8-2019-10-31
StandardCharsets.UTF_8 usage
2019-10-31 22:40:50 +01:00
lburgazzoli
4a5b9a0020 camel: override extensions description 2019-10-31 22:04:50 +01:00
Rostislav Svoboda
734db9e86a StandardCharsets.UTF_8 usage 2019-10-31 19:27:12 +01:00
Max Rydahl Andersen
d3a0f83c22 Use platform for project create
Why:

 * instead of referring to platform as a bom go back to use platform
   as in future it is not all enforced by a bom.

This change addreses the need by:

 * rollback bomXXX change
 * change use of Throwable to Exception as if Throwable happens
   we have worse problems.
2019-10-31 15:23:49 +01:00
Alexey Loubyansky
d99f1fc659 Merge pull request #5054 from aloubyansky/platform-resolver-refactored
Fixes related to resolving Quarkus platform descriptor versions
2019-10-31 10:55:19 +01:00
Alexey Loubyansky
b03ae50996 Merge pull request #5041 from geoand/gradle-fix-again
Fix gradle quarkusBuild command
2019-10-31 08:18:45 +01:00
Alexey Loubyansky
6b19523748 Fixes related to resolving Quarkus platform descriptor versions for a project, for a BOM, for the JSON coordinates, including the version ranges 2019-10-30 23:33:51 +01:00
Georgios Andrianakis
7082950402 Fix gradle quarkusBuild command 2019-10-30 17:52:08 +02:00
Alexey Loubyansky
342fc21f90 Changed Gradle project templates to use the platform BOM properties, made Gradle list and add extensions commands to use the correct platform descriptor, enhanced JSON descriptor resolver to determine the JSON artifact corresponding to the specified BOM coords, enhanced Gradle AppModelResolver impl, fixes related to resolution of the latest platform version 2019-10-30 12:55:00 +01:00
Max Rydahl Andersen
f41c6cacaa Merge pull request #5011 from maxandersen/legacysupport
Add support for legacy .json/yaml in extensions.json generation
2019-10-30 00:19:38 +01:00
Max Rydahl Andersen
09362beb08 Add support for legacy .json/yaml in extensions.json generation
Why:

 * want to test platform with current camel that uses old .json/non-kebab
   format.

This change addreses the need by:

 * add transform step on incoming .json/.yaml that ensures any old keys gets
   converted and placed similar as how ExtensionMojo did it.
2019-10-30 00:11:00 +01:00
Guillaume Smet
785b0d5b90 Merge pull request #5007 from gwenneg/issue-4989-rename-substrate-test
Rename @SubstrateTest to @NativeImageTest
2019-10-29 23:36:54 +01:00
Gwenneg Lepage
847e0570af Rename @SubstrateTest to @NativeImageTest 2019-10-29 21:48:29 +01:00
Georgios Andrianakis
265d701032 Fix broken native build of generated projects 2019-10-29 20:24:33 +02:00
Guillaume Smet
1819ca4e39 Merge pull request #4971 from aloubyansky/4959
Platform Descriptor: load resources from a classloader instead of FileSystem
2019-10-29 15:44:44 +01:00
Guillaume Smet
10f9f5c1d5 Merge pull request #4978 from cescoffier/features/always-create-directory-during-project-creation
Adapt the Maven project creation logic to always create a sub-directory
2019-10-29 14:06:15 +01:00
Max Rydahl Andersen
306d9e0a7e Merge branch '4967' 2019-10-29 12:59:39 +01:00
Emmanuel Bernard
15d0b94b80 issue 4967 - Add pinned info as well as category description 2019-10-29 12:59:26 +01:00
Clement Escoffier
e1e639ea35 Adapt the Maven project creation logic to always create a sub-directory 2019-10-29 12:07:49 +01:00
Stuart Douglas
4e5675e6f0 Merge pull request #4896 from stuartwdouglas/4871
Restart app on pom.xml change
2019-10-29 21:53:05 +11:00
Georgios Andrianakis
0d1def3b0a Merge pull request #4962 from geoand/#4823
Ensure JDK 8 is used with Gradle
2019-10-29 12:51:43 +02:00
Max Rydahl Andersen
674185bb4c Fix missing descriptions
After refactoring a bad negation was itnroduced.
Now fixed + added description to category to be aligned with
how extension has it as first class too.
2019-10-29 10:45:35 +01:00
Alexey Loubyansky
f37ed16619 Platform Descriptor: load resources from a classloader instead of using FileSystem for a ZIP, this enables to use it in native mode 2019-10-29 10:38:36 +01:00
Georgios Andrianakis
49d1e3985d Ensure JDK 8 is used with Gradle
Fixes: #4823
2019-10-29 10:11:25 +02:00
Stuart Douglas
66d25b78f0 Restart app on pom.xml change
Unlike other hot replacement this simply watches the pom.xml files,
and reloads the complete application on change. This means there is
a short period where the app in unavailible.

Fixes #4871
2019-10-29 16:21:45 +11:00
Stuart Douglas
eb544698c4 Change to only allow a single output type 2019-10-29 13:51:04 +11:00
Max Rydahl Andersen
0bd8185cc5 Merge pull request #4935 from maxandersen/yaml_descriptor
Move from quarkus-extension.json to .yaml
2019-10-29 00:44:36 +01:00
Max Rydahl Andersen
6257c4b43f update uber jar exclusions and disable source updating in ExtensionDescriptor 2019-10-28 23:51:06 +01:00