<commit_before><project>

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.codehaus.mojo.natives.it.jni</groupId>
    <artifactId>native</artifactId>
    <version>1.0-SNAPSHOT</version>
  </parent>

  <groupId>org.codehaus.mojo.natives.it.jni.macosx</groupId>
  <artifactId>libhello</artifactId>
  
  <name>JNI - MacOSX  </name>
  
  <packaging>dylib</packaging>
  
  <dependencies>
    <dependency>
      <groupId>org.codehaus.mojo.natives.it.jni</groupId>
      <artifactId>hello</artifactId>
      <version>1.0-SNAPSHOT</version>
    </dependency>
    
    
  </dependencies>
  
  
  <build>
    <finalName>${artifactId}</finalName>
    
    <testSourceDirectory>../src/test/java</testSourceDirectory>
    
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>native-maven-plugin</artifactId>
        <extensions>true</extensions>       
        <configuration>
          <compilerProvider>generic</compilerProvider>
          <compilerStartOptions>
            <compilerStartOption>-fPIC -O</compilerStartOption>
          </compilerStartOptions>
          
          <jdkIncludePath>${java.home}/include</jdkIncludePath>
          <javahOS>macosx</javahOS>
          
          <sources>
            <source>
	      <directory>../src/main/native</directory>
	      <fileNames>
                <fileName>HelloWorld.c</fileName>
	      </fileNames>
            </source>

          </sources>
            
          <linkerStartOptions>
            <linkerStartOption>-prebind -dynamiclib -lc -ldl</linkerStartOption>
          </linkerStartOptions>
          
          
        </configuration>
        
        <executions>
          <execution>
            <id>javah</id>
            <phase>generate-sources</phase>
            <configuration>
              <implementation>macos</implementation>
              <classNames>
                <className>HelloWorld</className>
              </classNames>
            </configuration>
            <goals>
              <goal>javah</goal> 
            </goals>
          </execution>
          
                    
        </executions>
           
      </plugin>


      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>once</forkMode>
          <environments>
            <DYLD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
          </environments>
        </configuration>
      </plugin>
<commit_msg>set appropriate library path for mac<commit_after><project>

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.codehaus.mojo.natives.it.jni</groupId>
    <artifactId>native</artifactId>
    <version>1.0-SNAPSHOT</version>
  </parent>

  <groupId>org.codehaus.mojo.natives.it.jni.macosx</groupId>
  <artifactId>libhello</artifactId>
  
  <name>JNI - MacOSX  </name>
  
  <packaging>dylib</packaging>
  
  <dependencies>
    <dependency>
      <groupId>org.codehaus.mojo.natives.it.jni</groupId>
      <artifactId>hello</artifactId>
      <version>1.0-SNAPSHOT</version>
    </dependency>
    
    
  </dependencies>
  
  
  <build>
    <finalName>${artifactId}</finalName>
    
    <testSourceDirectory>../src/test/java</testSourceDirectory>
    
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>native-maven-plugin</artifactId>
        <extensions>true</extensions>       
        <configuration>
          <compilerProvider>generic</compilerProvider>
          <compilerStartOptions>
            <compilerStartOption>-fPIC -O</compilerStartOption>
          </compilerStartOptions>
          
          <jdkIncludePath>${java.home}/include</jdkIncludePath>
          <javahOS>macosx</javahOS>
          
          <sources>
            <source>
	      <directory>../src/main/native</directory>
	      <fileNames>
                <fileName>HelloWorld.c</fileName>
	      </fileNames>
            </source>

          </sources>
            
          <linkerStartOptions>
            <linkerStartOption>-prebind -dynamiclib -lc -ldl</linkerStartOption>
          </linkerStartOptions>
          
          
        </configuration>
        
        <executions>
          <execution>
            <id>javah</id>
            <phase>generate-sources</phase>
            <configuration>
              <implementation>macos</implementation>
              <classNames>
                <className>HelloWorld</className>
              </classNames>
            </configuration>
            <goals>
              <goal>javah</goal> 
            </goals>
          </execution>
          
                    
        </executions>
           
      </plugin>


      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>once</forkMode>
          <environments>
            <DYLD_LIBRARY_PATH>${project.build.directory}</DYLD_LIBRARY_PATH>
          </environments>
        </configuration>
      </plugin>

{'fraction_non_alphanumeric': 0.1255748850229954, 'fraction_numerical': 0.0027994401119776045, 'mean_word_length': 1.794413407821229, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 205, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7315692', 'n_tokens_mistral': 1562, 'n_tokens_neox': 1444, 'n_words': 157}