Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ini4j for openSUSE:Factory checked 
in at 2022-03-04 00:17:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ini4j (Old)
 and      /work/SRC/openSUSE:Factory/.ini4j.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ini4j"

Fri Mar  4 00:17:33 2022 rev:17 rq:958689 version:0.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ini4j/ini4j.changes      2017-09-20 
17:08:50.730034610 +0200
+++ /work/SRC/openSUSE:Factory/.ini4j.new.1958/ini4j.changes    2022-03-04 
00:18:05.812290992 +0100
@@ -1,0 +2,5 @@
+Wed Mar  2 12:20:19 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Install as maven artifact
+
+-------------------------------------------------------------------

New:
----
  ini4j-0.5.1.pom

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ini4j.spec ++++++
--- /var/tmp/diff_new_pack.sO8tJ4/_old  2022-03-04 00:18:06.344291104 +0100
+++ /var/tmp/diff_new_pack.sO8tJ4/_new  2022-03-04 00:18:06.344291104 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ini4j
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,7 +22,7 @@
 Summary:        Java API for handling Windows ini file format
 License:        Apache-2.0
 Group:          Development/Libraries/Java
-Url:            http://www.ini4j.org/
+URL:            http://www.ini4j.org/
 # wget 
http://switch.dl.sourceforge.net/sourceforge/ini4j/%{name}-%{version}-all.zip
 # unzip -q *zip
 # cd ini4j-0.5.1/
@@ -30,14 +30,15 @@
 # mkdir src; mv META-INF org src/
 # tar -cjf ../ini4j-0.5.1-sources.tar.bz2 src/ LICENSE.txt NOTICE.txt
 Source0:        %{name}-%{version}-sources.tar.bz2
-Source1:        %{name}-%{version}.build.xml
-Source2:        %{name}-%{version}.buildinfo.properties
+Source1:        
https://repo1.maven.org/maven2/org/%{name}/%{name}/%{version}/%{name}-%{version}.pom
+Source2:        %{name}-%{version}.build.xml
+Source3:        %{name}-%{version}.buildinfo.properties
 Patch0:         ini4j-java8-compat.patch
 BuildRequires:  ant
 BuildRequires:  ant-junit
 BuildRequires:  fdupes
 BuildRequires:  java-devel
-BuildRequires:  javapackages-tools
+BuildRequires:  javapackages-local
 BuildRequires:  unzip
 Requires:       java
 BuildArch:      noarch
@@ -52,7 +53,7 @@
 Group:          Development/Libraries/Java
 Requires(post): /bin/ln
 Requires(post): /bin/rm
-Requires(postun): /bin/rm
+Requires(postun):/bin/rm
 
 %description javadoc
 The [ini4j] is a simple Java API for handling configuration files in
@@ -65,9 +66,9 @@
 find . -type f \( -iname "*.jar" -o -iname "*.class" -o -iname "*.exe" -o 
-iname "*.so" \) | \
   xargs -t rm -f
 
-cp %{SOURCE1} build.xml
-mkdir -p src/etc
-cp %{SOURCE2} src%{_sysconfdir}/buildinfo.properties
+cp %{SOURCE2} build.xml
+mkdir -p src%{_sysconfdir}
+cp %{SOURCE3} src%{_sysconfdir}/buildinfo.properties
 
 %patch0 -p1
 
@@ -78,21 +79,23 @@
 %install
 # jar
 install -d -m 755 %{buildroot}%{_javadir}
-install -m 644 dist/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
-ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+install -m 644 dist/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar
+
 # javadoc
-install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
-cp -pr build/doc/* %{buildroot}%{_javadocdir}/%{name}-%{version}
-(cd %{buildroot}%{_javadocdir} && ln -sf %{name}-%{version} %{name})
-%fdupes -s %{buildroot}/%{_javadocdir}/%{name}-%{version}
-
-%files
-%doc LICENSE.txt NOTICE.txt
-%{_javadir}/*
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr build/doc/* %{buildroot}%{_javadocdir}/%{name}
+%fdupes -s %{buildroot}/%{_javadocdir}
+
+%files -f .mfiles
+%license LICENSE.txt
+%doc NOTICE.txt
 
 %files javadoc
-%dir %{_javadocdir}/%{name}-%{version}
-%{_javadocdir}/%{name}-%{version}/*
 %{_javadocdir}/%{name}
 
 %changelog

++++++ ini4j-0.5.1.pom ++++++
<?xml version="1.0" encoding="UTF-8"?>
<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>
    <groupId>org.ini4j</groupId>
    <artifactId>ini4j</artifactId>
    <version>0.5.1</version>
    <name>ini4j</name>
    <description>Java API for handling configuration files in Windows .ini 
format. The library includes its own Map based API, Java Preferences API and 
Java Beans API for handling .ini files. Additionally, the library includes a 
feature rich (variable/macro substitution, multiply property values, etc) 
java.util.Properties replacement.</description>
    <packaging>jar</packaging>
    <url>http://www.ini4j.org</url>
    <scm>
        
<connection>scm:svn:https://ini4j.svn.sourceforge.net/svnroot/ini4j/tags/ini4j-0.5.1</connection>
        
<developerConnection>scm:svn:https://ini4j.svn.sourceforge.net/svnroot/ini4j/tags/ini4j-0.5.1</developerConnection>
    </scm>
    <distributionManagement>
        <repository>
            <id>ini4j-release</id>
            <name>[ini4j] releases on SourceForge</name>
            
<url>scp://shell.sourceforge.net/home/groups/i/in/ini4j/repository/release</url>
        </repository>
        <snapshotRepository>
            <id>ini4j-snapshot</id>
            <name>[ini4j] snapshots on SourceForge</name>
            
<url>scp://shell.sourceforge.net/home/groups/i/in/ini4j/repository/snapshot</url>
        </snapshotRepository>
        <site>
            <id>ini4j-site</id>
            <name>[ini4j] site on SourceForge</name>
            <url>scp://shell.sourceforge.net/home/groups/i/in/ini4j/htdocs</url>
        </site>
    </distributionManagement>
    <issueManagement>
        <system>sourceforge</system>
        <url>http://sourceforge.net/tracker2/?group_id=129580</url>
    </issueManagement>
    <licenses>
        <license>
            <name>Apache 2</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <developers>
        <developer>
            <id>ivan</id>
            <name>Ivan Szkiba</name>
            <email>szkiba at SourceForge</email>
            <roles>
                <role>architect</role>
                <role>developer</role>
            </roles>
            <timezone>-1</timezone>
        </developer>
    </developers>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>jetty</groupId>
            <artifactId>jetty</artifactId>
            <version>4.2.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>2.3</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymockclassextension</artifactId>
            <version>2.3</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.beanshell</groupId>
            <artifactId>bsh</artifactId>
            <version>2.0b4</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <properties>
        
<upload.url>scp://shell.sourceforge.net/incoming/s/sz/szkiba/uploads</upload.url>
    </properties>
    <profiles>
        <profile>
            <id>windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <configuration>
                            <systemProperties>
                                <property>
                                    <name>os.family</name>
                                    <value>windows</value>
                                </property>
                            </systemProperties>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>release-candidate</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-checkstyle-plugin</artifactId>
                        <configuration>
                            
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
                            <failOnViolation>true</failOnViolation>
                            <consoleOutput>true</consoleOutput>
                            <encoding>UTF-8</encoding>
                            <skip>${check.skip}</skip>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>verify</phase>
                                <goals>
                                    <goal>check</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-pmd-plugin</artifactId>
                        <dependencies>
                            <dependency>
                                <groupId>pmd</groupId>
                                <artifactId>pmd-jdk14</artifactId>
                                <version>4.2.5</version>
                            </dependency>
                        </dependencies>
                        <configuration>
                            <failOnViolation>true</failOnViolation>
                            <rulesets>
                                <ruleset>${basedir}/src/conf/pmd.xml</ruleset>
                            </rulesets>
                            <skip>${check.skip}</skip>
                            <verbose>true</verbose>
                            <sourceEncoding>UTF-8</sourceEncoding>
                            <targetJdk>1.5</targetJdk>
                        </configuration>
                        <executions>
                            <execution>
                                <phase>verify</phase>
                                <goals>
                                    <goal>check</goal>
<!--                                    <goal>cpd-check</goal> -->
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>retrotranslator-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <goals>
                                    <goal>translate-project</goal>
                                </goals>
                                <configuration>
                                    <classifier>jdk14</classifier>
                                    <attach>true</attach>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-javadoc</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>

                </plugins>
            </build>
        </profile>
    </profiles>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <inherited>false</inherited>
                <configuration>
                    <templateDirectory>src/changes</templateDirectory>
                    <templateEncoding>UTF-8</templateEncoding>
                    
<outputDirectory>${project.build.directory}</outputDirectory>
                </configuration>
                <executions>
                    <execution>
                        <id>releasenotes</id>
                        <goals>
                            <goal>announcement-generate</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <template>ReleaseNotes.vm</template>
                        </configuration>
                    </execution>
                    <execution>
                        <id>changelog</id>
                        <goals>
                            <goal>announcement-generate</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <template>ChangeLog.vm</template>
                        </configuration>
                    </execution>
                    <execution>
                        <id>sitemap-create</id>
                        <goals>
                            <goal>announcement-generate</goal>
                        </goals>
                        <phase>pre-site</phase>
                        <configuration>
                            <template>sitemap.vm</template>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>sitemap-copy</id>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <phase>pre-site</phase>
                        <configuration>
                            <tasks>
                                <property name="dir" 
value="${basedir}/target/generated-site/resources" />
                                <mkdir dir="${dir}" />
                                <copy file="target/sitemap.vm" 
tofile="${dir}/sitemap.xml" />
                                <gzip src="${dir}/sitemap.xml" 
destfile="${dir}/sitemap.xml.gz" />
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                    <encoding>UTF-8</encoding>
                    <compilerArgument>-Xlint</compilerArgument>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <property>
                            <name>java.util.prefs.PreferencesFactory</name>
                            <value>org.ini4j.IniPreferencesFactory</value>
                        </property>
                        <property>
                            <name>org.ini4j.prefs.user</name>
                            <value>org/ini4j/sample/dwarfs.ini</value>
                        </property>
                        <property>
                            <name>org.ini4j.prefs.system</name>
                            <value>org/ini4j/sample/dwarfs.ini</value>
                        </property>
                    </systemProperties>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>zip</id>
                        <phase>deploy</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                
<descriptor>src/main/assembly/src.xml</descriptor>
                                
<descriptor>src/main/assembly/bin.xml</descriptor>
                                
<descriptor>src/main/assembly/all.xml</descriptor>
                            </descriptors>
                            <attach>false</attach>
                        </configuration>
                    </execution>
                    <execution>
                        <id>demo</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            
<outputDirectory>target/generated-site/resources</outputDirectory>
                            <finalName>ini4j-demo</finalName>
                            <appendAssemblyId>false</appendAssemblyId>
                            <descriptors>
                                
<descriptor>src/main/assembly/demo.xml</descriptor>
                            </descriptors>
                            <attach>false</attach>
                            <archive>
                                <manifest>
                                    
<mainClass>org.ini4j.demo.DemoMain</mainClass>
                                </manifest>
                            </archive>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>wagon-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>upload</id>
                        <goals>
                            <goal>upload</goal>
                        </goals>
                        <phase>deploy</phase>
                        <configuration>
                            <serverId>ini4j-upload</serverId>
                            <fromDir>${project.build.directory}</fromDir>
                            
<includes>${project.build.finalName}-src*,${project.build.finalName}-bin*,${project.build.finalName}-all*</includes>
                            <url>${upload.url}</url>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                    
<generatedSiteDirectory>${basedir}/target/generated-site</generatedSiteDirectory>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.google.code.maven-license-plugin</groupId>
                <artifactId>maven-license-plugin</artifactId>
                <version>1.4.0</version>
                <inherited>true</inherited>
                <configuration>
                    <aggregate>true</aggregate>
                    <encoding>UTF-8</encoding>
                    <useDefaultExcludes>true</useDefaultExcludes>
                    <header>NOTICE.txt</header>
                    <excludes>
                        <exclude>**/META-INF/services/**</exclude>
                        <exclude>**/*.txt</exclude>
                        <exclude>**/*.apt</exclude>
                        <exclude>**/*.reg</exclude>
                        <exclude>**/.htaccess</exclude>
                    </excludes>
                    <mapping>
                        <java>SLASHSTAR_STYLE</java>
                        <css>SLASHSTAR_STYLE</css>
                        <js>SLASHSTAR_STYLE</js>
                        <ini>SEMICOLON_STYLE</ini>
                        <opt>SCRIPT_STYLE</opt>
                    </mapping>
                    <useDefaultMapping>true</useDefaultMapping>
                </configuration>
                <executions>
                    <execution>
                        <phase>initialize</phase>
                        <goals>
                            <goal>format</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.beanshell</groupId>
                                    <artifactId>bsh</artifactId>
                                    <type>jar</type>
                                    <overWrite>false</overWrite>
                                    
<outputDirectory>${project.build.directory}/test-classes</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>


        </plugins>
        <testResources>
            <testResource>
                <directory>src/test/java</directory>
                <includes>
                    <include>**/*.ini</include>
                    <include>**/*.opt</include>
                    <include>**/*.reg</include>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                    <include>**/*.txt</include>
                </includes>
            </testResource>
            <testResource>
                <directory>src/test/resources</directory>
            </testResource>
        </testResources>
    </build>
    
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jxr-plugin</artifactId>
                <configuration>
                    <inputEncoding>UTF-8</inputEncoding>
                    <linkJavadoc>true</linkJavadoc>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <charset>UTF-8</charset>
                    <encoding>ISO-8859-1</encoding>
                    <quiet>true</quiet>
                    <noqualifier>java.*</noqualifier>
                    <links>
                        <link>http://java.sun.com/javase/6/docs/api/</link>
                    </links>
                    <keywords>true</keywords>
                </configuration>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>javadoc</report>
                        </reports>
                    </reportSet>
                </reportSets>

            </plugin>
            
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>taglist-maven-plugin</artifactId>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <tags>
                        <tag>TODO</tag>
                        <tag>FIXME</tag>
                        <tag>XXX</tag>
                    </tags>
                </configuration>
            </plugin>
            
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
            </plugin>
            
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <configuration>
                    <templateEncoding>UTF-8</templateEncoding>
                    
<issueLinkTemplate>http://sourceforge.net/tracker2/?func=detail&amp;atid=715133&amp;group_id=129580&amp;aid=%ISSUE%</issueLinkTemplate>
                </configuration>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>changes-report</report>
                        </reports>
                    </reportSet>
                </reportSets>

            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>index</report>
                            <report>summary</report>
                            <report>issue-tracking</report>
                            <report>license</report>
                            <report>project-team</report>
                            <report>dependencies</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
            
        </plugins>
    </reporting>
    
</project>
(No newline at EOF)

Reply via email to