Skip to content

Commit

Permalink
Fix some packaging issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Apr 29, 2022
1 parent 307dfaf commit a94be63
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 15 deletions.
41 changes: 28 additions & 13 deletions weasis-distributions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -480,19 +480,6 @@
</artifactItems>
</configuration>
</execution>

<execution>
<id>purge-local-dependencies</id>
<phase>process-sources</phase>
<goals>
<goal>purge-local-repository</goal>
</goals>
<configuration>
<includes>
<include>org.weasis:weasis-i18n-dist</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>

Expand Down Expand Up @@ -583,6 +570,34 @@
</plugins>
</build>
</profile>
<profile>
<id>purgeI18nPackage</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>purge-local-dependencies</id>
<phase>process-sources</phase>
<goals>
<goal>purge-local-repository</goal>
</goals>
<configuration>
<includes>
<include>org.weasis:weasis-i18n-dist</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jar.signer</id>
<activation>
Expand Down
6 changes: 6 additions & 0 deletions weasis-distributions/script/package-weasis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ echo " --jdk -j
Path of the jdk with the jpackage module (>= jdk-16+12)"
echo " --temp
Path of the temporary directory during build"
echo " --no-installer
Build only the native binaries not the final installer"
echo " --mac-signing-key-user-name
Key user name of the certificate to sign the bundle"
exit 0
Expand All @@ -75,6 +77,10 @@ TEMP_PATH="$2"
shift # past argument
shift # past value
;;
--no-installer)
PACKAGE="NO"
shift # past argument
;;
--mac-signing-key-user-name)
CERTIFICATE="$2"
shift # past argument
Expand Down
4 changes: 2 additions & 2 deletions weasis-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<properties>
<!-- force command line arguments settings to set version -->
<!-- $ mvn clean install -Drevision=3.6.2 -Dchangelist=-SNAPSHOT -->
<revision>4.0.1</revision>
<changelist>-SNAPSHOT</changelist> <!-- Remove "-SNAPSHOT" for release -->
<revision>4.0.0</revision>
<changelist>-RC</changelist> <!-- Remove "-SNAPSHOT" for release -->

<java-version>17</java-version>
<jdk-version>17</jdk-version>
Expand Down

0 comments on commit a94be63

Please sign in to comment.