<commit_before># Depot Maven Plugin

A simple Mojo for running [Depot]'s code generation phase in a Maven build.

To add this to your build, add the following to your `pom.xml`:

```xml
  <build>
    <plugins>
      <plugin>
        <groupId>com.samskivert</groupId>
        <artifactId>depot-maven-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>genrecord</id>
            <phase>process-classes</phase>
            <goals>
              <goal>genrecord</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
```

By default, it searches your source directory for all files matching `*Record.java`. You can change
this behavior like so:

```xml
        <!-- ... -->
          <execution>
            <!-- ... -->
            <configuration>
              <!-- include something instead of *Record.java -->
              <includes>
                <include>**/*Barzle.java</include>
              </includes>
              <!-- or exclude one or more files -->
              <excludes>
                <exclude>**/NotActuallyARecord.java</exclude>
              </excludes>
            </configuration>
          </execution>
        <!-- ... -->
```

## Discuss

Questions and comments can be directed to the [OOO Google Group].

## License

Nexus is released under the BSD License. See the [LICENSE] file for details.<commit_msg>Added a note on phases and blah blah.<commit_after># Depot Maven Plugin

A simple Mojo for running [Depot]'s code generation phase in a Maven build.

To add this to your build, add the following to your `pom.xml`:

```xml
  <build>
    <plugins>
      <plugin>
        <groupId>com.samskivert</groupId>
        <artifactId>depot-maven-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>genrecord</id>
            <phase>process-classes</phase>
            <goals>
              <goal>genrecord</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
```

By default, it searches your source directory for all files matching `*Record.java`. You can change
this behavior like so:

```xml
        <!-- ... -->
          <execution>
            <!-- ... -->
            <configuration>
              <!-- include something instead of *Record.java -->
              <includes>
                <include>**/*Barzle.java</include>
              </includes>
              <!-- or exclude one or more files -->
              <excludes>
                <exclude>**/NotActuallyARecord.java</exclude>
              </excludes>
            </configuration>
          </execution>
        <!-- ... -->
```

The plugin has to run after the `compile` phase because it operates on the compiled `*Record.class`
files. The above configuration runs it during the `process-classes` phase (which immediately
follows `compile`). Thus to trigger it, you need to invoke either `mvn package` (which includes the
process-classes phase), or `mvn process-classes` directly (which is not a phase one normally runs
on the command line).

## Discuss

Questions and comments can be directed to the [OOO Google Group].

## License

Nexus is released under the BSD License. See the [LICENSE] file for details.
{'fraction_non_alphanumeric': 0.12410287081339713, 'fraction_numerical': 0.0011961722488038277, 'mean_word_length': 1.896103896103896, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1385041', 'n_tokens_mistral': 941, 'n_tokens_neox': 882, 'n_words': 298}