Initial commit of fully mavenized build
[yaz4j-moved-to-github.git] / any / pom.xml
diff --git a/any/pom.xml b/any/pom.xml
new file mode 100644 (file)
index 0000000..b174c55
--- /dev/null
@@ -0,0 +1,43 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.yaz4j</groupId>
+    <artifactId>yaz4j</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>yaz4j-any</artifactId>
+  <name>yaz4j-any</name>
+  <packaging>jar</packaging>
+
+  <build>
+    <sourceDirectory>../src/main/java</sourceDirectory>
+    <plugins>
+     <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>include-generated-sources</id>
+            <phase>generate-sources</phase>
+            <goals><goal>add-source</goal></goals>
+            <configuration>
+              <sources><source>../target/generated-sources/java</source></sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <encoding>UTF-8</encoding>
+          <source>1.6</source>
+          <target>1.6</target>
+          <showDeprecation>true</showDeprecation>
+          <showWarnings>true</showWarnings>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>