Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 5c2b855

Browse files
authored
Merge pull request #2 from DataFlowAnalysis/updatesite
Updatesite - Remove Product
2 parents 71e3b0b + 7637e80 commit 5c2b855

File tree

12 files changed

+115
-80
lines changed

12 files changed

+115
-80
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@01Parzival10

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "sunday"
8+
time: "04:04"
9+
10+
- package-ecosystem: "maven"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"
14+
day: "sunday"
15+
time: "04:04"

.github/workflows/main.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build Updatesite
2+
3+
on:
4+
push:
5+
branches: [main]
6+
release:
7+
types: [created]
8+
pull_request:
9+
workflow_dispatch:
10+
schedule:
11+
- cron: '0 2 * * *' # run nightly at 2:00 am
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Set up JDK
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: 17
24+
- name: Setup Maven
25+
uses: stCarolas/setup-maven@v5
26+
with:
27+
maven-version: 3.9.6
28+
- name: Build and Verify
29+
run: mvn clean verify
30+
- name: Publish Nightly Update Site
31+
if: github.event_name != 'release' && github.ref == 'refs/heads/main' && github.repository_owner == 'DataFlowAnalysis'
32+
uses: peaceiris/actions-gh-pages@v4
33+
with:
34+
deploy_key: ${{ secrets.UPDATE_SITE_DEPLOY_KEY }}
35+
external_repository: DataFlowAnalysis/updatesite
36+
destination_dir: nightly/analysis-backend-server/
37+
publish_dir: releng/org.dataflowanalysis.standalone.updatesite/target/repository
38+
publish_branch: main
39+
- name: Publish Release Update Site
40+
if: github.event_name == 'release' && github.repository_owner == 'DataFlowAnalysis'
41+
uses: peaceiris/actions-gh-pages@v4
42+
with:
43+
deploy_key: ${{ secrets.UPDATE_SITE_DEPLOY_KEY }}
44+
external_repository: DataFlowAnalysis/updatesite
45+
destination_dir: release/analysis-backend-server/${{ github.event.release.tag_name }}
46+
publish_dir: releng/org.dataflowanalysis.standalone.updatesite/target/repository
47+
publish_branch: main
48+

.mvn/extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<extension>
44
<groupId>org.eclipse.tycho</groupId>
55
<artifactId>tycho-build</artifactId>
6-
<version>2.7.5</version>
6+
<version>4.0.9</version>
77
</extension>
88
</extensions>
99

bundles/org.dataflowanalysis.standalone/Standalone.product

Lines changed: 0 additions & 20 deletions
This file was deleted.

features/org.dataflowanalysis.standalone.feature/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>org.dataflowanalysis.converter.feature</name>
3+
<name>org.dataflowanalysis.standalone.feature</name>
44
<comment></comment>
55
<projects>
66
</projects>

features/org.dataflowanalysis.standalone.feature/feature.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<feature
33
id="org.dataflowanalysis.standalone.feature"
4-
label="standalone Feature"
4+
label="Standalone DFA Feature"
55
version="1.0.0.qualifier"
66
plugin="org.palladiosimulator.branding">
77

pom.xml

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,9 @@
77
<packaging>pom</packaging>
88

99
<properties>
10-
<tycho.version>2.7.5</tycho.version>
10+
<tycho.version>4.0.9</tycho.version>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1212
</properties>
13-
14-
<dependencies>
15-
<dependency>
16-
<groupId>org.eclipse.jetty.ee10.websocket</groupId>
17-
<artifactId>jetty-ee10-websocket-jakarta-server</artifactId>
18-
<version>12.0.13</version>
19-
</dependency>
20-
<dependency>
21-
<groupId>jakarta.websocket</groupId>
22-
<artifactId>jakarta.websocket-api</artifactId>
23-
<version>2.1.0</version>
24-
</dependency>
25-
26-
</dependencies>
2713

2814
<build>
2915
<pluginManagement>
@@ -36,6 +22,25 @@
3622
</plugins>
3723
</pluginManagement>
3824
<plugins>
25+
<plugin>
26+
<groupId>org.eclipse.tycho</groupId>
27+
<artifactId>tycho-source-plugin</artifactId>
28+
<version>${tycho.version}</version>
29+
<executions>
30+
<execution>
31+
<id>plugin-source</id>
32+
<goals>
33+
<goal>plugin-source</goal>
34+
</goals>
35+
</execution>
36+
<execution>
37+
<id>feature-source</id>
38+
<goals>
39+
<goal>feature-source</goal>
40+
</goals>
41+
</execution>
42+
</executions>
43+
</plugin>
3944
<plugin>
4045
<groupId>org.eclipse.tycho</groupId>
4146
<artifactId>tycho-maven-plugin</artifactId>
@@ -86,6 +91,20 @@
8691
</environments>
8792
</configuration>
8893
</plugin>
94+
<plugin>
95+
<groupId>org.eclipse.tycho</groupId>
96+
<artifactId>tycho-p2-plugin</artifactId>
97+
<version>${tycho.version}</version>
98+
<executions>
99+
<execution>
100+
<id>attached-p2-metadata</id>
101+
<phase>package</phase>
102+
<goals>
103+
<goal>p2-metadata</goal>
104+
</goals>
105+
</execution>
106+
</executions>
107+
</plugin>
89108
<plugin>
90109
<groupId>org.eclipse.xtend</groupId>
91110
<artifactId>xtend-maven-plugin</artifactId>

product/org.datadlownalysis.standalone.product/org.dataflowanalysis.standalone.product

Lines changed: 0 additions & 40 deletions
This file was deleted.

releng/org.dataflowanalysis.standalone.targetplatform/org.dataflowanalysis.standalone.targetplatform.targetplatform.target

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,5 @@
155155
<unit id="org.dataflowanalysis.dfd.datadictionary.feature.feature.group" version="0.0.0"/>
156156
<unit id="org.dataflowanalysis.dfd.dataflowdiagram.feature.feature.group" version="0.0.0"/>
157157
</location>
158-
<location path="C:\Users\Huell\Desktop\AnalysisNew\workspace\plugins" type="Directory"/>
159158
</locations>
160159
</target>

0 commit comments

Comments
 (0)