Skip to content

Commit

Permalink
chore: use version 1.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Aug 14, 2024
1 parent c4cf07e commit 5221b9c
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions backend/controller/leases/testdata/java/leases/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>xyz.block.ftl.examples</groupId>
<artifactId>leases</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>

<properties>
<ftl.version>1.0-SNAPSHOT</ftl.version>
Expand Down Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 2 additions & 2 deletions examples/kotlin/echo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>xyz.block.ftl.examples</groupId>
<artifactId>echo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>

<properties>
<ftl.version>1.0-SNAPSHOT</ftl.version>
Expand Down Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 2 additions & 2 deletions examples/kotlin/time/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>xyz.block.ftl.examples</groupId>
<artifactId>time</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>

<properties>
<ftl.version>1.0-SNAPSHOT</ftl.version>
Expand Down Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
5 changes: 3 additions & 2 deletions integration/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ func WithEnvar(key, value string) Option {
}
}

// BuildJava is a Run* option that ensures the Java runtime is built.
// WithJavaBuild is a Run* option that ensures the Java runtime is built.
// If the test languages contain java this is not necessary, as it is implied
func BuildJava() Option {
// Note that this will not actually add Java as a language under test
func WithJavaBuild() Option {
return func(o *options) {
o.requireJava = true
}
Expand Down
2 changes: 1 addition & 1 deletion java-runtime/ftl-runtime/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>ftl-java-runtime-deployment</artifactId>
<name>Ftl Java Runtime - Deployment</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ TopicsBuildItem handleTopics(CombinedIndexBuildItem index, BuildProducer<Generat
+ " with a concrete type parameter " + iface.name() + " does not extend this interface");
}

String name = topicDefinition.value("name").asString();
String name = topicDefinition.value().asString();
if (names.contains(name)) {
throw new RuntimeException("Multiple topic definitions found for topic " + name);
}
Expand Down
2 changes: 1 addition & 1 deletion java-runtime/ftl-runtime/integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>ftl-java-runtime-integration-tests</artifactId>
<name>Ftl Java Runtime - Integration Tests</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
import xyz.block.ftl.TopicDefinition;

@Export
@TopicDefinition(name = "testTopic")
@TopicDefinition(value = "testTopic")
public interface MyTopic extends Topic<Person> {
}
2 changes: 1 addition & 1 deletion java-runtime/ftl-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Ftl Java Runtime - Parent</name>

Expand Down
2 changes: 1 addition & 1 deletion java-runtime/ftl-runtime/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>ftl-java-runtime</artifactId>
<name>Ftl Java Runtime - Runtime</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
*
* @return The name of the topic
*/
String name();
String value();

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void registerVerb(String module, String verbName, String methodName, List
//TODO: this sucks
try {
var method = verbHandlerClass.getDeclaredMethod(methodName, parameterTypes.toArray(new Class[0]));
method.setAccessible(true);
var handlerInstance = Arc.container().instance(verbHandlerClass);
Arc.container().instance(VerbRegistry.class).get().register(module, verbName, handlerInstance, method,
paramMappers, allowNullReturn);
Expand Down
2 changes: 1 addition & 1 deletion java-runtime/ftl-runtime/test-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>ftl-java-test-framework</artifactId>
<name>Ftl Java Runtime - Test Framework</name>
Expand Down
4 changes: 2 additions & 2 deletions java-runtime/testdata/java/javamodule/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>xyz.block.ftl.examples</groupId>
<artifactId>javamodule</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>

<properties>
<ftl.version>1.0-SNAPSHOT</ftl.version>
Expand Down Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>xyz.block</groupId>
<artifactId>ftl-java-runtime</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down

0 comments on commit 5221b9c

Please sign in to comment.