I am trying to determine how to bundle my SWT application to release
on windows, linux, linux-amd64 and macosx.

I already have 4 profiles that have the correct dependencies for each platform.

What I want to do is tie this into the assembly plugin and the release plugin.

This is how I can have one platform:

mvn release:prepare
mvn -DnoNative -Pwindows package
mvn release:perform

That releases just my main jar file and creates the assembly. But I am
wondering how to be able to deploy the built assembly to a server for
each platform

Sample profile:
    <profile>
      <id>windows</id>
      <activation>
        <os>
          <family>windows</family>
        </os>
        <property>
          <name>!noNative</name>
        </property>
      </activation>
      <dependencies>
        <dependency>
          <groupId>org.eclipse</groupId>
          <artifactId>swt-win32</artifactId>
          <version>${eclipse.version}</version>
        </dependency>
      </dependencies>
    </profile>

So my questions are:
1) Do I have to run package for each platform profile I have, or is
there a way to zip them all up in one mvn execution?
2) How can I release the assembly (not just the main jar output) to a
server folder?
2a) Would this be supported by the maven release plugin?
2b) or is this the domain of the wagon or similar plugin?

Thank you,
Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to