Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Nov 4, 2024
1 parent d7837e0 commit b2385f6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
18 changes: 17 additions & 1 deletion slf4j-mock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,23 @@
</artifactItems>
<includes>org/slf4j/impl/*.java</includes>
<excludes>**/Static*,**/SimpleLoggerFactory*</excludes>
<outputDirectory>${project.build.directory}/generated-sources/annotations</outputDirectory>
<outputDirectory>${project.build.directory}/generated-sources/slf4j</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/slf4j</source>
</sources>
</configuration>
</execution>
</executions>
Expand Down
20 changes: 18 additions & 2 deletions slf4j2-mock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,24 @@
</artifactItem>
</artifactItems>
<includes>org/slf4j/simple/*.java</includes>
<excludes>**/Static*,**/SimpleLoggerFactory*</excludes>
<outputDirectory>${project.build.directory}/generated-sources/annotations</outputDirectory>
<excludes>**/Static*,**/SimpleLoggerFactory*,**/SimpleServiceProvider*</excludes>
<outputDirectory>${project.build.directory}/generated-sources/slf4j</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/slf4j</source>
</sources>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit b2385f6

Please sign in to comment.