Skip to content

Commit eca264f

Browse files
committed
remove 'basic' archetype
in an effort to reduce publishing usage at sonatype
1 parent 1a05f8f commit eca264f

19 files changed

Lines changed: 21 additions & 370 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

88
[Full changelog](https://github.com/LearnLib/learnlib/compare/learnlib-19.0.0...HEAD)
99

10+
### Removed
11+
12+
* The archetype `de.learnlib.archtypes:basic` has been removed.
13+
1014

1115
## [19.0.0] - 2026-08-12
1216

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,22 @@ limitations under the License.
2626
</parent>
2727

2828
<groupId>de.learnlib.archetypes</groupId>
29-
<artifactId>learnlib-archetypes-parent</artifactId>
30-
<packaging>pom</packaging>
29+
<artifactId>complete</artifactId>
30+
<packaging>maven-archetype</packaging>
3131

32-
<name>LearnLib :: Archetypes</name>
33-
<description>Parent metaproject for archetypes that facilitate getting started with LearnLib.</description>
32+
<name>LearnLib :: Archetype</name>
33+
<description>Archetype which includes all LearnLib dependencies</description>
3434

35-
<modules>
36-
<module>basic</module>
37-
<module>complete</module>
38-
</modules>
35+
<!-- The distribution dependency ensures that archetypes are build last, so that all required artifacts for their
36+
integration tests are built before -->
37+
<dependencies>
38+
<dependency>
39+
<groupId>de.learnlib.distribution</groupId>
40+
<artifactId>learnlib-distribution</artifactId>
41+
<type>pom</type>
42+
<scope>test</scope>
43+
</dependency>
44+
</dependencies>
3945

4046
<build><!-- Custom resource rules: We use the ${project.version} property in
4147
- src/main/resources/META-INF/maven/archetype-metadata.xml

archetypes/complete/src/main/resources-template/META-INF/maven/archetype-metadata.xml renamed to archetype/src/main/resources-template/META-INF/maven/archetype-metadata.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ limitations under the License.
4141
</fileSet>
4242
</fileSets>
4343
</archetype-descriptor>
44-

archetypes/complete/src/main/resources/archetype-resources/pom.xml renamed to archetype/src/main/resources/archetype-resources/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@
4848
</dependencies>
4949

5050
</project>
51-

archetypes/complete/src/main/resources/archetype-resources/src/main/java/Example.java renamed to archetype/src/main/resources/archetype-resources/src/main/java/Example.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package ${package};
22

3-
import java.io.IOException;
4-
53
import de.learnlib.algorithm.lstar.dfa.ClassicLStarDFA;
64
import de.learnlib.algorithm.lstar.dfa.ClassicLStarDFABuilder;
75
import de.learnlib.datastructure.observationtable.writer.ObservationTableASCIIWriter;
@@ -30,7 +28,7 @@ private Example() {
3028
// prevent instantiation
3129
}
3230

33-
public static void main(String[] args) throws IOException {
31+
public static void main(String[] args) {
3432

3533
// load DFA and alphabet
3634
CompactDFA<Character> target = constructSUL();

archetypes/basic/src/main/resources/archetype-resources/src/main/resources/automatalib.properties renamed to archetype/src/main/resources/archetype-resources/src/main/resources/automatalib.properties

File renamed without changes.

archetypes/basic/src/main/resources/archetype-resources/src/main/resources/logback.xml renamed to archetype/src/main/resources/archetype-resources/src/main/resources/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
<root level="INFO">
99
<appender-ref ref="STDOUT"/>
1010
</root>
11-
</configuration>
11+
</configuration>

archetypes/complete/src/test/resources-template/projects/complete/archetype.properties renamed to archetype/src/test/resources-template/projects/complete/archetype.properties

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@ groupId=archetype.it
33
learnlibVersion=${project.version}
44
package=it.pkg
55
version=0.1-SNAPSHOT
6-
7-
8-
9-

archetypes/basic/src/test/resources/projects/basic/goal.txt renamed to archetype/src/test/resources/projects/complete/goal.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
package
2-

archetypes/basic/pom.xml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)