mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Merge pull request #1004 from nosqlbench/cleanup-includes
restore included examples to download artifact
This commit is contained in:
commit
564a0c5f26
@ -122,7 +122,8 @@ public class NBCLIScenarioParser {
|
||||
if (nameparts.length==1) {
|
||||
Map<String, String> namedScenario = scenarios.getNamedScenario(scenarioName);
|
||||
if (namedScenario==null) {
|
||||
throw new BasicError("Named step '" + scenarioName + "' was not found.");
|
||||
throw new BasicError("Unable to find named scenario '" + scenarioName + "' in workload '" + workloadName
|
||||
+ "', but you can pick from one of: " + String.join(", ", scenarios.getScenarioNames()));
|
||||
}
|
||||
namedSteps.putAll(namedScenario);
|
||||
} else {
|
||||
|
@ -465,6 +465,14 @@
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<excludes>
|
||||
<exclude>log4j2.xml</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<testResources>
|
||||
<testResource>
|
||||
<directory>src/test/resources</directory>
|
||||
@ -473,7 +481,7 @@
|
||||
</excludes>
|
||||
<filtering>true</filtering>
|
||||
</testResource>
|
||||
<testResource>
|
||||
<testResource> <!-- Not sure why the complementary configs are here.. -->
|
||||
<directory>src/test/resources</directory>
|
||||
<includes>
|
||||
<include>log4j2-test.xml</include>
|
||||
|
10
nbr/pom.xml
10
nbr/pom.xml
@ -82,9 +82,19 @@
|
||||
<includes>
|
||||
<include>version.properties</include>
|
||||
<include>nb_version_info.md</include>
|
||||
<include>log4j2.xml</include>
|
||||
</includes>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>examples/**</include>
|
||||
<include>scripts/**</include>
|
||||
<include>**/*.md</include>
|
||||
</includes>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
|
Loading…
Reference in New Issue
Block a user