Skip to content

Commit

Permalink
Create news and license bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
TruongQuangSB committed Jan 31, 2024
1 parent 7107098 commit bbdfa2b
Show file tree
Hide file tree
Showing 12 changed files with 209 additions and 39 deletions.
17 changes: 17 additions & 0 deletions java/bundles/org.eclipse.set.feature.license/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.set.feature.license</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions java/bundles/org.eclipse.set.feature.license/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bin.includes = feature.xml
root=about
23 changes: 23 additions & 0 deletions java/bundles/org.eclipse.set.feature.license/feature.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.set.feature.license"
label="License"
version="2.2.0.qualifier"
provider-name="Eclipse Signalling Engineering Toolbox"
os="win32">

<description>
Eclipse Signalling Engineering Toolbox license feature, containing the license of the toolbox
</description>

<copyright>
Copyright (c) 2024 DB InfraGO AG and others

This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
https://www.eclipse.org/legal/epl-2.0.

SPDX-License-Identifier: EPL-2.0
</copyright>

</feature>
57 changes: 57 additions & 0 deletions java/bundles/org.eclipse.set.feature.license/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.eclipse.set</groupId>
<artifactId>org.eclipse.set.feature.license</artifactId>
<version>2.2.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>

<parent>
<relativePath>../../..</relativePath>
<groupId>org.eclipse.set</groupId>
<artifactId>org.eclipse.set.releng.parent</artifactId>
<version>2.2.0-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-about</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/about/web/about</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../../../web/about/dist</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<filesets>
<fileset>
<directory>about</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</project>
17 changes: 17 additions & 0 deletions java/bundles/org.eclipse.set.feature.news/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.set.feature.news</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions java/bundles/org.eclipse.set.feature.news/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bin.includes = feature.xml
root=news
23 changes: 23 additions & 0 deletions java/bundles/org.eclipse.set.feature.news/feature.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.set.feature.news"
label="Toolbox Release Notes"
version="2.2.0.qualifier"
provider-name="Eclipse Signalling Engineering Toolbox"
os="win32">

<description>
Eclipse Signalling Engineering Toolbox release notes feature, containing the release notes of the toolbox.
</description>

<copyright>
Copyright (c) 2024 DB InfraGO AG and others

This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
https://www.eclipse.org/legal/epl-2.0.

SPDX-License-Identifier: EPL-2.0
</copyright>

</feature>
57 changes: 57 additions & 0 deletions java/bundles/org.eclipse.set.feature.news/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.eclipse.set</groupId>
<artifactId>org.eclipse.set.feature.news</artifactId>
<version>2.2.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>

<parent>
<relativePath>../../..</relativePath>
<groupId>org.eclipse.set</groupId>
<artifactId>org.eclipse.set.releng.parent</artifactId>
<version>2.2.0-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>copy-news</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/news/web/news</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../../../web/news/public</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<filesets>
<fileset>
<directory>news</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</project>
2 changes: 1 addition & 1 deletion java/bundles/org.eclipse.set.feature/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
bin.includes = feature.xml
root=rootdir, rootdir_filtered, about, textviewer, pdfviewer, siteplan, developerhelp, news
root=rootdir, rootdir_filtered, textviewer, pdfviewer, siteplan, developerhelp
8 changes: 8 additions & 0 deletions java/bundles/org.eclipse.set.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
</copyright>

<includes
id="org.eclipse.set.feature.news"
version="0.0.0"/>

<includes
id="org.eclipse.set.feature.license"
version="0.0.0"/>

<requires>
<import feature="org.eclipse.babel.nls_eclipse_de" version="4.4.0.v20140623020002"/>
<import plugin="javax.inject" version="1.0.0" match="greaterOrEqual"/>
Expand Down
38 changes: 0 additions & 38 deletions java/bundles/org.eclipse.set.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,6 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-about</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/about/web/about</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../../../web/about/dist</directory>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-textviewer</id>
<phase>prepare-package</phase>
Expand Down Expand Up @@ -103,21 +88,6 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-news</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/news/web/news</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../../../web/news/public</directory>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-developerhelp</id>
<phase>prepare-package</phase>
Expand Down Expand Up @@ -148,10 +118,6 @@
<directory>rootdir_filtered</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>about</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>textviewer</directory>
<followSymlinks>false</followSymlinks>
Expand All @@ -168,10 +134,6 @@
<directory>developerhelp</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>news</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
<module>java/bundles/org.eclipse.set.feature</module>
<module>java/bundles/org.eclipse.set.test.feature</module>
<module>java/bundles/org.eclipse.set.i18n.nl_de.feature</module>
<module>java/bundles/org.eclipse.set.feature.news</module>
<module>java/bundles/org.eclipse.set.feature.license</module>

<!-- ############################################################### -->
<!-- Bundles -->
Expand Down

0 comments on commit bbdfa2b

Please sign in to comment.