All Downloads are FREE. Search and download functionalities are using the official Maven repository.

konig.generator.jsonSchema.pom.xml Maven / Gradle / Ivy

The newest version!
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <parent>
    <groupId>${project.groupId}</groupId>
    <artifactId>${project.parentId}</artifactId>
    <version>${project.version}</version>
    <relativePath>../${project.parentId}/pom.xml</relativePath>
  </parent>
  
  
  <modelVersion>4.0.0</modelVersion>
  <artifactId>${project.artifactId}</artifactId>
  <name>${project.name}</name>
  
   <dependencies>
  
    <dependency>
      <groupId>io.konig</groupId>
      <artifactId>konig-java</artifactId>
      <version>${konig.version}</version>
    </dependency>  
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>io.konig</groupId>
        <artifactId>konig-schemagen-maven-plugin</artifactId>
        <version>${konig.version}</version>
        <configuration>
          <defaults>
            <rootDir>${basedir}/target/generated</rootDir>
          </defaults>
          <rdfSourceDir>${project.rdfSourcePath}</rdfSourceDir>
$jsonSchema
        </configuration>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      
       <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.5.3</version>
        <configuration>
          <descriptor>src/assembly/dep.xml</descriptor>
        </configuration>
        <executions>
          <execution>
            <id>create-archive</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <id>default-jar</id>
            <phase>never</phase>
            <configuration>
              <finalName>unwanted</finalName>
              <classifier>unwanted</classifier>
            </configuration>
          </execution>
        </executions>
      </plugin> 
      
    </plugins>
  </build>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy