Blob Blame History Raw
--- pom.xml	2011-06-08 17:02:04.000000000 +0200
+++ pom.xml-gil	2012-01-14 15:58:24.533138357 +0100
@@ -81,20 +81,35 @@
 
     <dependencies>
         <dependency>
-            <groupId>javax.xml.stream</groupId>
+            <groupId>stax</groupId>
             <artifactId>stax-api</artifactId>
             <version>1.0-2</version>
         </dependency>
-        <dependency>
+        <!--dependency>
             <groupId>javax.activation</groupId>
             <artifactId>activation</artifactId>
             <version>1.1</version>
-        </dependency>
+        </dependency-->
     </dependencies>
 
+    <properties>
+        <release.spec.feedback>spec-comments@jsr222.java.net</release.spec.feedback>
+        <release.spec.date>Dec 2009</release.spec.date>
+    </properties>
+
     <build>
         <plugins>
-            <!-- fake out maven and install the binary artifact -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+        
+            <!-- fake out maven and install the binary artifact 
             <plugin>
                 <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
                 <artifactId>maven-antrun-extended-plugin</artifactId>
@@ -111,17 +126,90 @@
                         </configuration>
                     </execution>
                 </executions>
+            </plugin>-->
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.0.0</version>
+                <configuration>
+                    <instructions>
+                        <Bundle-Name>${project.artifactId}</Bundle-Name>
+                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Version>${project.version}</Bundle-Version>
+                        <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
+                        <Export-Package>javax.xml.bind.*;version="${project.version}"</Export-Package>
+                        <Import-Package>*</Import-Package>
+                        <Extension-Name>javax.xml.bind</Extension-Name>
+                    </instructions>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                            <goal>manifest</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                    <archive>
+                        <!-- add the generated manifest to the archive -->
+                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+                    </archive>
+                </configuration>
+            </plugin>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.8</version>
+                <configuration>
+                    <nodeprecated>false</nodeprecated>
+                    <use>false</use>
+                    <author>true</author>
+                    <version>true</version>
+                    <doctitle><![CDATA[<br>
+JAXB ${project.version} Runtime Library</h2>
+${project.name} specification, ${release.spec.date}<br>
+Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br>
+More information at: <i><a target='_top'
+href='http://jaxb.java.net'>http://jaxb.java.net</a></i><br>
+&nbsp;<br>&nbsp;<br><hr width='65%'><h1>${project.name}</h1><hr width='75%'>
+<br>&nbsp;<br>]]>
+                    </doctitle>
+                    <header><![CDATA[JAXB<br>v${project.version}]]>
+                    </header>
+                    <bottom><![CDATA[<font size=-1>
+<br>Comments to: <a href='mailto:${release.spec.feedback}'><i>${release.spec.feedback}</i></a>
+<br>More information at: <a target='_top'
+href='http://jaxb.java.net'><i>http://jaxb.java.net</i></a>
+<p>Copyright &copy; 2004-2011 Oracle </font>]]>
+                    </bottom>
+                    <detectJavaApiLink>false</detectJavaApiLink>
+                    <offlineLinks>
+                        <offlineLink>
+                            <url>http://download.oracle.com/javase/6/docs/api/</url>
+                            <location>${basedir}/offline-javadoc</location>
+                        </offlineLink>
+                    </offlineLinks>
+                </configuration>  
             </plugin>
+      
         </plugins>
-        <extensions>
+        <!--extensions>
             <extension>
                 <groupId>org.jvnet.wagon-svn</groupId>
                 <artifactId>wagon-svn</artifactId>
                 <version>1.8</version>
             </extension>
-        </extensions>
+        </extensions-->
     </build>
-
     <repositories>
         <repository>
             <id>m2.dev.java.net</id>