|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>no.nav.k9</groupId> |
| 8 | + <artifactId>k9-format</artifactId> |
| 9 | + <version>${revision}${sha1}${changelist}</version> |
| 10 | + </parent> |
| 11 | + <artifactId>inntektsmelding-v1</artifactId> |
| 12 | + <packaging>jar</packaging> |
| 13 | + |
| 14 | + <properties> |
| 15 | + <xsd.packagename></xsd.packagename> |
| 16 | + <jaxb.version>3.0.1</jaxb.version> |
| 17 | + </properties> |
| 18 | + |
| 19 | + <dependencies> |
| 20 | + <dependency> |
| 21 | + <groupId>org.glassfish.jaxb</groupId> |
| 22 | + <artifactId>jaxb-runtime</artifactId> |
| 23 | + <version>${jaxb.version}</version> |
| 24 | + <scope>provided</scope> |
| 25 | + </dependency> |
| 26 | + </dependencies> |
| 27 | + |
| 28 | + <build> |
| 29 | + <plugins> |
| 30 | + <plugin> |
| 31 | + <groupId>org.codehaus.mojo</groupId> |
| 32 | + <artifactId>jaxb2-maven-plugin</artifactId> |
| 33 | + <version>2.5.0</version> |
| 34 | + <executions> |
| 35 | + <execution> |
| 36 | + <configuration> |
| 37 | + <schemaDirectory>src/main/resources</schemaDirectory> |
| 38 | + <sources> |
| 39 | + <source>src/main/resources/xsd/</source> |
| 40 | + </sources> |
| 41 | + <xjbSources> |
| 42 | + <xjbSource>src/main/resources/xjb/</xjbSource> |
| 43 | + </xjbSources> |
| 44 | + <packageName>${xsd.packagename}</packageName> |
| 45 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 46 | + </configuration> |
| 47 | + <goals> |
| 48 | + <goal>xjc</goal> |
| 49 | + </goals> |
| 50 | + </execution> |
| 51 | + </executions> |
| 52 | + <dependencies> |
| 53 | + <dependency> |
| 54 | + <groupId>org.glassfish.jaxb</groupId> |
| 55 | + <artifactId>jaxb-xjc</artifactId> |
| 56 | + <version>${jaxb.version}</version> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>jakarta.xml.bind</groupId> |
| 60 | + <artifactId>jakarta.xml.bind-api</artifactId> |
| 61 | + <version>${jaxb.version}</version> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>com.sun.xml.bind</groupId> |
| 65 | + <artifactId>jaxb-impl</artifactId> |
| 66 | + <version>${jaxb.version}</version> |
| 67 | + </dependency> |
| 68 | + </dependencies> |
| 69 | + </plugin> |
| 70 | + |
| 71 | + <plugin> |
| 72 | + <groupId>org.apache.maven.plugins</groupId> |
| 73 | + <artifactId>maven-jar-plugin</artifactId> |
| 74 | + </plugin> |
| 75 | + </plugins> |
| 76 | + </build> |
| 77 | + |
| 78 | +</project> |
0 commit comments