Skip to content

Commit

Permalink
Merge pull request #1713 from officefloor/cloud-maven-plugin
Browse files Browse the repository at this point in the history
Cloud maven plugin
  • Loading branch information
sagenschneider authored Jul 9, 2024
2 parents 97a0fcd + 019202d commit 7800345
Show file tree
Hide file tree
Showing 34 changed files with 989 additions and 142 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
**/*.jar
**/*.zip
**/*.log
/.java-version
5 changes: 5 additions & 0 deletions officefloor/bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,11 @@
<artifactId>woof-archetype</artifactId>
<version>${revision}</version>
</plugin>
<plugin>
<groupId>net.officefloor.maven</groupId>
<artifactId>officefloor-cloud-maven-plugin</artifactId>
<version>${revision}</version>
</plugin>
<plugin>
<groupId>net.officefloor.maven</groupId>
<artifactId>officefloor-googlefunction-maven-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name=AWS
classifier=aws
8 changes: 8 additions & 0 deletions officefloor/cloud/officecloud_aws_test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,12 @@
<artifactId>officenosql_dynamodb_test</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
groupId=net.officefloor.cloud
artifactId=officecloud_aws
version=${project.version}
classifier=
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name=Google
classifier=google
8 changes: 8 additions & 0 deletions officefloor/cloud/officecloud_google_test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,12 @@
<artifactId>officenosql_firestore_test</artifactId>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
groupId=net.officefloor.cloud
artifactId=officecloud_google
version=${project.version}
classifier=
39 changes: 8 additions & 31 deletions officefloor/editor/eclipse/net.officefloor.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<import plugin="org.eclipse.gef.mvc.fx"/>
<import plugin="com.google.guava"/>
<import plugin="com.google.inject"/>
<import plugin="javax.inject"/>
<import plugin="org.eclipse.core.commands"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.gef.common"/>
Expand All @@ -55,61 +54,39 @@
<import plugin="org.eclipse.debug.ui"/>
<import plugin="org.eclipse.jdt.debug.ui"/>
<import feature="org.eclipse.fx.runtime.min.feature"/>
<import plugin="jakarta.inject.jakarta.inject-api"/>
</requires>

<plugin
id="net.officefloor.core"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="net.officefloor.gef.bridge"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.officefloor.gef.common"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.officefloor.gef.configurer"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.officefloor.gef.editor"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.officefloor.gef.ide"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.officefloor.eclipse.ide"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

<plugin
id="net.officefloor.eclipse.launch"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
version="0.0.0"/>

</feature>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Import-Package: com.google.common.collect,
com.google.inject,
com.google.inject.binder;version="1.3.0",
com.google.inject.multibindings,
javax.inject,
jakarta.inject;version="[2.0.0,3.0.0)",
org.eclipse.core.commands,
org.eclipse.core.commands.operations,
org.eclipse.core.runtime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import java.util.function.Consumer;
import java.util.function.Function;

import javax.inject.Singleton;
import jakarta.inject.Singleton;

import org.eclipse.gef.geometry.planar.Point;
import org.eclipse.gef.mvc.fx.models.GridModel;
Expand Down
16 changes: 0 additions & 16 deletions officefloor/editor/net.officefloor.gef.target/2020-12.target

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<target includeMode="feature" name="2023-06" sequenceNumber="17">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="http://download.eclipse.org/releases/2023-06"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.23.800.v20230523-2142"/>
<repository location="http://download.eclipse.org/releases/2024-06"/>
<unit id="org.eclipse.equinox.sdk.feature.group" version="3.23.1200.v20240524-2033"/>
<unit id="org.eclipse.fx.runtime.min.feature.feature.group" version="3.9.0.202210162353"/>
<unit id="org.eclipse.gef.common.sdk.feature.group" version="5.0.1.202209120200"/>
<unit id="org.eclipse.gef.fx.sdk.feature.group" version="5.0.5.202209120200"/>
<unit id="org.eclipse.gef.mvc.sdk.feature.group" version="5.2.3.202209120200"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="2.3.0.20230523-2033"/>
<unit id="org.eclipse.sdk.feature.group" version="4.28.0.v20230605-0440"/>
<unit id="org.eclipse.gef.common.sdk.feature.group" version="5.0.1.202311221639"/>
<unit id="org.eclipse.gef.fx.sdk.feature.group" version="5.0.5.202311221639"/>
<unit id="org.eclipse.gef.mvc.sdk.feature.group" version="5.2.3.202311221639"/>
<unit id="org.eclipse.m2e.feature.feature.group" version="2.6.1.20240602-2342"/>
<unit id="org.eclipse.sdk.feature.group" version="4.32.0.v20240601-0610"/>
</location>
</locations>
</target>
37 changes: 3 additions & 34 deletions officefloor/editor/net.officefloor.gef.target/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<packaging>pom</packaging>
<profiles>
<profile>
<id>2023-06.target</id>
<id>2024-06.target</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
Expand All @@ -36,40 +36,9 @@
<artifacts>
<artifact>
<!-- note: the file name must be ${classifier}.target -->
<file>2023-06.target</file>
<file>2024-06.target</file>
<type>target</type>
<classifier>2023-06</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>2020-12.target</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<!-- make target file available for incremental builds -->
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<!-- note: the file name must be ${classifier}.target -->
<file>2020-12.target</file>
<type>target</type>
<classifier>2020-12</classifier>
<classifier>2024-06</classifier>
</artifact>
</artifacts>
</configuration>
Expand Down
59 changes: 9 additions & 50 deletions officefloor/editor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<?m2e ignore?>
<id>Provide linked dependencies for eclipse PDE projects</id>
<?m2e ignore?>
<id>Provide linked dependencies for eclipse PDE projects</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
Expand Down Expand Up @@ -135,7 +135,7 @@
</build>
<profiles>
<profile>
<id>2023-06.target</id>
<id>2024-06.target</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
Expand All @@ -150,7 +150,7 @@
<groupId>net.officefloor.editor</groupId>
<artifactId>net.officefloor.gef.target</artifactId>
<version>${project.version}</version>
<classifier>2023-06</classifier>
<classifier>2024-06</classifier>
</artifact>
</target>
<dependency-resolution>
Expand All @@ -162,66 +162,25 @@
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>2020-12.target</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<target>
<artifact>
<groupId>net.officefloor.editor</groupId>
<artifactId>net.officefloor.gef.target</artifactId>
<version>${project.version}</version>
<classifier>2020-12</classifier>
</artifact>
</target>
<dependency-resolution>
<optionalDependencies>require</optionalDependencies>
</dependency-resolution>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
<arch>aarch64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
<arch>aarch64</arch>
</environment>
</environments>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Loading

0 comments on commit 7800345

Please sign in to comment.