Skip to content

Commit

Permalink
🔧 Add property for CSB Example repository
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarlett committed Nov 2, 2022
1 parent bf91e6b commit 9291301
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class SpringBootConfiguration extends CamelConfiguration {
public static final String CAMEL_SPRINGBOOT_ARCHETYPE_ARTIFACT_ID = "camel.springboot.archetype.artifact.id";
public static final String CAMEL_SPRINGBOOT_ARCHETYPE_VERSION = "camel.springboot.archetype.version";

public static final String CAMEL_SPRINGBOOT_EXAMPLES_REPO = "camel.springboot.examples.repo";
public static final String CAMEL_SPRINGBOOT_EXAMPLES_BRANCH = "camel.springboot.examples.branch";

public static final String OPENSHIFT_MAVEN_PLUGIN_GROUP_ID = "openshift-maven-plugin-group-id";
Expand All @@ -36,6 +37,10 @@ public static String camelSpringBootVersion() {
return getProperty(CAMEL_SPRINGBOOT_VERSION, "3.14.0");
}

public static String getCamelSpringbootExamplesRepo() {
return getProperty(CAMEL_SPRINGBOOT_EXAMPLES_REPO, "https://github.com/apache/camel-spring-boot-examples");
}

public static String camelSpringBootExamplesBranch() {
return getProperty(CAMEL_SPRINGBOOT_EXAMPLES_BRANCH, camelSpringBootVersion());
}
Expand Down

0 comments on commit 9291301

Please sign in to comment.