Skip to content

Spotless plugin activation issue #2697

Open
@csviri

Description

@csviri

Now the spotless plugin does not activates on main.
It was moved recently under a profile that should activate for the rood dir only:

 <profile>
      <id>spotless</id>
      <activation>
        <file>
          <exists>contributing</exists>
        </file>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>com.diffplug.spotless</groupId>
            <artifactId>spotless-maven-plugin</artifactId>
            <configuration>
              <pom>

 ...rest omitted  

But even if I run explicitly mvn spotless:apply it does not reformat code. Check is not working either
that is why PRs are not catching this issue (./mvnw ${MAVEN_ARGS} spotless:check --file pom.xml )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions