<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<artifactId>sdi-fatturapa</artifactId>
	<name>SdI Fatturapa</name>
	<version>1.0.2</version>
	<parent>
		<artifactId>archetype</artifactId>
		<groupId>it.cnr.si</groupId>
		<version>1.2.0</version>
	</parent>
	<properties>
		<java.version>17</java.version>
	</properties>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
						<source>${java.version}</source>
						<target>${java.version}</target>
					</configuration>
				</plugin>
	            <!--This plugin's configuration is used to store Eclipse
	                m2e settings only. It has no influence on the Maven build itself. -->
	            <plugin>
	                <groupId>org.eclipse.m2e</groupId>
	                <artifactId>lifecycle-mapping</artifactId>
	                <version>1.0.0</version>
	                <configuration>
	                    <lifecycleMappingMetadata>
	                        <pluginExecutions>
	                            <pluginExecution>
	                                <pluginExecutionFilter>
	                                    <groupId>org.codehaus.mojo</groupId>
	                                    <artifactId>jaxws-maven-plugin</artifactId>
	                                    <versionRange>[1.0,)</versionRange>
	                                    <goals>
	                                        <goal>wsimport</goal>
	                                    </goals>
	                                </pluginExecutionFilter>
	                                <action>
	                                    <execute />
	                                </action>
	                            </pluginExecution>
	                        </pluginExecutions>
	                    </lifecycleMappingMetadata>
	                </configuration>
	            </plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>com.sun.xml.ws</groupId>
				<artifactId>jaxws-maven-plugin</artifactId>
				<version>4.0.2</version>
				<executions>
					<execution>
						<id>WSDL-FATTURAPA</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>wsimport</goal>
						</goals>
						<configuration>
							<args>
								<arg>-B-XautoNameResolution</arg>
							</args>
							<wsdlFiles>
								<wsdlFile>${project.basedir}/src/main/resources/wsdl/RicezioneFatture_v1.0.wsdl</wsdlFile>
								<wsdlFile>${project.basedir}/src/main/resources/wsdl/SdIRiceviFile_v1.0.wsdl</wsdlFile>
								<wsdlFile>${project.basedir}/src/main/resources/wsdl/SdIRiceviNotifica_v1.0.wsdl</wsdlFile>
								<wsdlFile>${project.basedir}/src/main/resources/wsdl/TrasmissioneFatture_v1.1.wsdl</wsdlFile>
							</wsdlFiles>
							<packageName>it.gov.fatturapa</packageName>
						</configuration>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>com.sun.xml.ws</groupId>
						<artifactId>jaxws-rt</artifactId>
						<version>4.0.2</version>
					</dependency>
				</dependencies>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<additionalparam>-Xdoclint:none</additionalparam>
					<additionalJOption>-Xdoclint:none</additionalJOption>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>jakarta.xml.ws</groupId>
			<artifactId>jakarta.xml.ws-api</artifactId>
			<version>4.0.0</version>
		</dependency>
	</dependencies>
	<licenses>
		<license>
			<name>GNU AFFERO GENERAL PUBLIC LICENSE</name>
			<url>https://www.gnu.org/licenses/agpl-3.0.html</url>
			<comments>
				Copyright (C) 2019 Consiglio Nazionale delle Ricerche

				This program is free software: you can redistribute it and/or modify
				it under the terms of the GNU Affero General Public License as
				published by the Free Software Foundation, either version 3 of the
				License, or (at your option) any later version.

				This program is distributed in the hope that it will be useful,
				but WITHOUT ANY WARRANTY; without even the implied warranty of
				MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
				GNU Affero General Public License for more details.

				You should have received a copy of the GNU Affero General Public License
				along with this program. If not, see https://www.gnu.org/licenses/
			</comments>
		</license>
	</licenses>
	<developers>
		<developer>
			<id>marco.spasiano</id>
			<name>Marco Spasiano</name>
			<email>marco.spasiano@cnr.it</email>
			<organization>Consiglio Nazionale delle Ricerche</organization>
			<organizationUrl>http://www.cnr.it</organizationUrl>
			<roles>
				<role>project lead</role>
				<role>architet</role>
				<role>developer</role>
			</roles>
		</developer>
	</developers>
	<scm>
		<connection>scm:git:ssh://git@git.si.cnr.it/dev/sdi-fatturapa.git</connection>
		<developerConnection>scm:git:ssh://git@git.si.cnr.it/dev/sdi-fatturapa.git</developerConnection>
		<tag>1.0.2</tag>
	</scm>
</project>
