[FLINK-22023] Remove outdated StateFun quickstart archetype
diff --git a/pom.xml b/pom.xml
index 608894b..188ff9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,7 +56,6 @@
<module>statefun-kafka-io</module>
<module>statefun-kinesis-io</module>
<module>statefun-flink</module>
- <module>statefun-quickstart</module>
<module>statefun-shaded</module>
<module>statefun-testutil</module>
diff --git a/statefun-quickstart/pom.xml b/statefun-quickstart/pom.xml
deleted file mode 100644
index 54f1594..0000000
--- a/statefun-quickstart/pom.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you 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 distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>statefun-parent</artifactId>
- <groupId>org.apache.flink</groupId>
- <version>3.1-SNAPSHOT</version>
- <relativePath>..</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>statefun-quickstart</artifactId>
- <packaging>maven-archetype</packaging>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.archetype</groupId>
- <artifactId>archetype-packaging</artifactId>
- <version>3.1.2</version>
- </extension>
- </extensions>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-archetype-plugin</artifactId>
- <version>3.1.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <!-- use alternative delimiter for filtering resources -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <useDefaultDelimiters>false</useDefaultDelimiters>
- <delimiters>
- <delimiter>@</delimiter>
- </delimiters>
- </configuration>
- </plugin>
- </plugins>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </build>
-</project>
\ No newline at end of file
diff --git a/statefun-quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml b/statefun-quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index 261ce14..0000000
--- a/statefun-quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you 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 distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<archetype-descriptor
- xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"
- name="statefun-quickstart">
- <fileSets>
- <fileSet filtered="true" packaged="true" encoding="UTF-8">
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.java</include>
- </includes>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory>src/main/resources</directory>
- </fileSet>
- <fileSet filtered="true" encoding="UTF-8">
- <directory></directory>
- <includes>
- <include>Dockerfile</include>
- </includes>
- </fileSet>
- </fileSets>
-</archetype-descriptor>
diff --git a/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile b/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile
deleted file mode 100644
index 966c302..0000000
--- a/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You 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
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-FROM flink-statefun:@project.version@
-
-RUN mkdir -p /opt/statefun/modules/${artifactId}
-COPY target/${artifactId}*jar /opt/statefun/modules/${artifactId}/
diff --git a/statefun-quickstart/src/main/resources/archetype-resources/pom.xml b/statefun-quickstart/src/main/resources/archetype-resources/pom.xml
deleted file mode 100644
index c169e84..0000000
--- a/statefun-quickstart/src/main/resources/archetype-resources/pom.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you 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 distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <version>${version}</version>
- <packaging>jar</packaging>
-
- <name>Stateful Functions Quickstart</name>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <statefun.version>@project.version@</statefun.version>
- <java.version>1.8</java.version>
- <scala.binary.version>2.12</scala.binary.version>
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
- </properties>
-
- <dependencies>
- <!-- Stateful Functions SDK -->
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>statefun-sdk-embedded</artifactId>
- <version>${statefun.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- Add IO dependencies here -->
- <!-- Example
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>statefun-kafka-io</artifactId>
- <version>${statefun.version}</version>
- <scope>provided</scope>
- </dependency>
- -->
- </dependencies>
-
-</project>
diff --git a/statefun-quickstart/src/main/resources/archetype-resources/src/main/java/Module.java b/statefun-quickstart/src/main/resources/archetype-resources/src/main/java/Module.java
deleted file mode 100644
index e70047d..0000000
--- a/statefun-quickstart/src/main/resources/archetype-resources/src/main/java/Module.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package ${package};
-
-import org.apache.flink.statefun.sdk.spi.StatefulFunctionModule;
-
-import java.util.Map;
-
-public final class Module implements StatefulFunctionModule {
-
- @Override
- public void configure(Map<String, String> globalConfiguration, Binder binder) {
-
- }
-}
diff --git a/statefun-quickstart/src/main/resources/archetype-resources/src/main/resources/META-INF/services/org.apache.flink.statefun.sdk.spi.StatefulFunctionModule b/statefun-quickstart/src/main/resources/archetype-resources/src/main/resources/META-INF/services/org.apache.flink.statefun.sdk.spi.StatefulFunctionModule
deleted file mode 100644
index 02384ba..0000000
--- a/statefun-quickstart/src/main/resources/archetype-resources/src/main/resources/META-INF/services/org.apache.flink.statefun.sdk.spi.StatefulFunctionModule
+++ /dev/null
@@ -1,16 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You 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
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-${package}.Module
diff --git a/statefun-quickstart/src/test/resources/projects/testArtifact/archetype.properties b/statefun-quickstart/src/test/resources/projects/testArtifact/archetype.properties
deleted file mode 100644
index 52855ac..0000000
--- a/statefun-quickstart/src/test/resources/projects/testArtifact/archetype.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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 distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-groupId=org.apache.flink.statefun.archetypetest
-artifactId=testArtifact
-version=1.0-SNAPSHOT
-package=org.apache.flink.statefun.archetypetest
diff --git a/statefun-quickstart/src/test/resources/projects/testArtifact/goal.txt b/statefun-quickstart/src/test/resources/projects/testArtifact/goal.txt
deleted file mode 100644
index f8808ba..0000000
--- a/statefun-quickstart/src/test/resources/projects/testArtifact/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
-compile
\ No newline at end of file