Skip to content

Commit

Permalink
Add Automatic-Module-Name entry to XStream's manifests. Close #120.
Browse files Browse the repository at this point in the history
  • Loading branch information
joehni committed May 13, 2019
1 parent feb738a commit 9069fcb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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">
<!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2017, 2018 XStream committers.
Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2016, 2017, 2018, 2019 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -646,6 +646,7 @@
</manifest>
<manifestEntries>
<Specification-Version>${project.info.majorVersion}.${project.info.minorVersion}</Specification-Version>
<Automatic-Module-Name>${jar.module.name}</Automatic-Module-Name>
<X-Compile-Source>${version.java.source}</X-Compile-Source>
<X-Compile-Target>${version.java.target}</X-Compile-Target>
<X-Builder>Maven ${maven.version}</X-Builder>
Expand Down Expand Up @@ -985,6 +986,7 @@
<version.xom>1.3.2</version.xom>
<version.xpp3>1.1.4c</version.xpp3>

<jar.module.name>${project.artifactId}</jar.module.name>
<javadoc.link.javase>http://docs.oracle.com/javase/8/docs/api/</javadoc.link.javase>
<surefire.illegal.access>permit</surefire.illegal.access>

Expand Down
3 changes: 2 additions & 1 deletion xstream-benchmark/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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">
<!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013, 2015, 2017, 2018 XStream committers.
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013, 2015, 2017, 2018, 2019 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -50,5 +50,6 @@

<properties>
<bundle.export.package>!com.thoughtworks.xstream.tools.benchmark.model,com.thoughtworks.xstream.tools.benchmark.*;-noimport:=true</bundle.export.package>
<jar.module.name>xstream.benchmark</jar.module.name>
</properties>
</project>
1 change: 1 addition & 0 deletions xstream-distribution/src/content/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ <h2>Major changes</h2>
<li>Usage of Java generic types. Most code bases will still compile without change.</li>
<li>Support for fail-safe deserialization unless the parser is not directly involved (I/O or syntax error) as
combination of new method getLevel() of HierarchicalStreamReader and GHPR:#91.</li>
<li>GHI:#120: Add <em>Automatic-Module-Name</em> entry to XStream's manifests.</li>
</ul>

<h2>Minor changes</h2>
Expand Down
3 changes: 2 additions & 1 deletion xstream-hibernate/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?><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">
<!--
Copyright (C) 2011, 2012, 2013, 2015, 2017, 2018 XStream committers.
Copyright (C) 2011, 2012, 2013, 2015, 2017, 2018, 2019 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -141,5 +141,6 @@

<properties>
<bundle.export.package>!com.thoughtworks.xstream.hibernate.util,com.thoughtworks.xstream.hibernate.*;-noimport:=true</bundle.export.package>
<jar.module.name>xstream.hibernate</jar.module.name>
</properties>
</project>
5 changes: 4 additions & 1 deletion xstream-jmh/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<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">
<!--
Copyright (C) 2015, 2017, 2018 XStream committers.
Copyright (C) 2015, 2017, 2018, 2019 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand Down Expand Up @@ -212,4 +212,7 @@
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
</dependencies>
<properties>
<jar.module.name>xstream.jmh</jar.module.name>
</properties>
</project>
2 changes: 1 addition & 1 deletion xstream/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<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">
<!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2017, 2018 XStream committers.
Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019 XStream committers.
All rights reserved.
The software in this package is published under the terms of the BSD
Expand Down

0 comments on commit 9069fcb

Please sign in to comment.