1<?xml version="1.0" encoding="UTF-8"?> 2<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"> 3 4 <modelVersion>4.0.0</modelVersion> 5 6 <parent> 7 <groupId>com.google.inject.extensions</groupId> 8 <artifactId>extensions-parent</artifactId> 9 <version>4.2.0</version> 10 </parent> 11 12 <artifactId>guice-multibindings</artifactId> 13 14 <name>Google Guice - Extensions - MultiBindings</name> 15 16 <build> 17 <plugins> 18 <plugin> 19 <artifactId>maven-jar-plugin</artifactId> 20 <configuration> 21 <archive> 22 <manifestEntries> 23 <Automatic-Module-Name>com.google.guice.extensions.multibindings</Automatic-Module-Name> 24 </manifestEntries> 25 </archive> 26 </configuration> 27 </plugin> 28 <plugin> 29 <!-- 30 | Re-attach empty sources jar as javadoc to satisfy Maven Central requirements 31 --> 32 <groupId>org.codehaus.mojo</groupId> 33 <artifactId>build-helper-maven-plugin</artifactId> 34 <version>1.8</version> 35 <executions> 36 <execution> 37 <id>reattach-sources-as-javadoc</id> 38 <phase>package</phase> 39 <goals> 40 <goal>attach-artifact</goal> 41 </goals> 42 <configuration> 43 <artifacts> 44 <artifact> 45 <file>${project.build.directory}/${project.build.finalName}-sources.jar</file> 46 <classifier>javadoc</classifier> 47 </artifact> 48 </artifacts> 49 </configuration> 50 </execution> 51 </executions> 52 </plugin> 53 </plugins> 54 </build> 55</project> 56