We need to handle updates for 3 different versions:
- helidon
- build-tools maven plugin
- cli
metadata.properties
:
helidon.version=2.0.0-RC2
/** | |
* Reactive HTML entities "encoder". | |
*/ | |
class HtmlEntityEncoder extends BaseProcessor<DataChunk, DataChunk> { | |
private static final ByteBufferCache BBCACHE = new ByteBufferCache( | |
(int index) -> ByteBuffer.wrap(HtmlEscape.ENTITIES[index][1].getBytes()), HtmlEscape.ENTITIES.length); | |
protected final VirtualBuffer vbuf = new VirtualBuffer(); | |
private boolean started; |
<archetype-descriptor name="test"> | |
<properties> | |
<property id="gradle" description="Gradle based project" /> | |
<property id="maven" description="Maven based project" /> | |
<property id="groupId" description="Project groupId" /> | |
<property id="artifactId" description="Project artifactId" /> | |
<property id="version" description="Project version" /> | |
<property id="name" description="Project name" /> | |
<property id="package" description="Java package name" /> | |
</properties> |
/* | |
* Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
package io.helidon.build.maven; | |
import java.io.PrintStream; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import org.apache.maven.plugin.AbstractMojo; | |
import org.apache.maven.plugin.MojoFailureException; | |
import org.apache.maven.plugins.annotations.Mojo; | |
import org.apache.maven.plugins.annotations.Parameter; |