Hi Timo,
have you tried using the configuration option
cssFiles? To make it work, you also have to set the correct
workingMode!
See
https://github.com/CoreMedia/smartsprites-maven-plugin/blob/71fda40abd9d95d111893fc4960a179f9b3ca1da/src/main/java/net/jangaroo/smartsprites/maven/SmartSpritesMojo.java#L187
<plugin>
<groupId>net.jangaroo</groupId>
<artifactId>smartsprites-maven-plugin</artifactId>
<version>1.8</version>
<configuration>
<rootDirPath>src/main/sprites</rootDirPath>
<logLevel>INFO</logLevel>
<outputDirPath>target/generated-resources/META-INF/resources/coremedia-ext-theme/css/cm-sprites</outputDirPath>
</configuration>
<executions>
<execution>
<id>createSprites</id>
<phase>generate-resources</phase>
<goals>
<goal>createSprites</goal>
</goals>
<configuration>
<workingMode>cssFilesWithOutputDirMode</workingMode>
<cssFiles>
<file>src/main/sprites/actions-toolbar-icons-24px.css</file>
</cssFiles>
</configuration>
</execution>
</executions>
</plugin>
As you can see, this configuration can be local for an "execution", so you could specify two executions (with distinct IDs), on to process all *.css files and one to process all given additional files.
Unfortunately it is currently not possible to use wildcard expressions for
cssFiles. SmartSprites itself does not support it, and our Maven would have to be adapted slightly to resolve wildcards before handing the file list to SmartSprites.
Greetings
-Frank-