API Keys

Manage your API keys for Maven plugin and CI/CD integration.

Your API Keys

API keys allow you to authenticate with the Bozar Maven plugin for automated builds.
Loading...

Maven Plugin Integration

Automate code protection in your build process. Once configured, this plugin automatically obfuscates your application every time you generate a JAR file, handling all dependencies seamlessly with no manual steps needed.
<pluginRepositories>
  <pluginRepository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </pluginRepository>
</pluginRepositories>

<plugin>
  <groupId>com.github.vimasig</groupId>
  <artifactId>bozar-maven-plugin</artifactId>
  <version>1.0.1</version>
  <configuration>
    <apiKey>${env.BOZAR_API_KEY}</apiKey>
  </configuration>
  <executions>
    <execution>
      <goals>
        <goal>obfuscate</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Set the BOZAR_API_KEY environment variable with your API key value.

View documentation