Changeset 3026


Ignore:
Timestamp:
01/14/12 00:37:49 (4 months ago)
Author:
kasper
Message:

Ticket #730: Added first draft .app builder

Location:
DataCleaner/trunk/packaging
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • DataCleaner/trunk/packaging/pom.xml

    r3009 r3026  
    1 <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"> 
     1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     2        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 
    23        <modelVersion>4.0.0</modelVersion> 
    34        <parent> 
     
    233234                                                        <chunkedOutput>false</chunkedOutput> 
    234235                                                        <postProcess> 
    235                                                                 <move file="${project.basedir}/target/docbkx/html/index.html" tofile="${project.basedir}/target/site/reference/html_single/index.html" failonerror="false" /> 
     236                                                                <move file="${project.basedir}/target/docbkx/html/index.html" 
     237                                                                        tofile="${project.basedir}/target/site/reference/html_single/index.html" 
     238                                                                        failonerror="false" /> 
    236239                                                                <copy todir="${project.basedir}/target/site/reference/html_single"> 
    237240                                                                        <fileset dir="${project.basedir}/src/docbkx/resources"> 
     
    261264                                                                        </fileset> 
    262265                                                                </copy> 
    263                                                                 <move file="${project.basedir}/target/site/reference/pdf/index.pdf" tofile="${project.basedir}/target/site/reference/pdf/datacleaner-reference.pdf" failonerror="false" /> 
     266                                                                <move file="${project.basedir}/target/site/reference/pdf/index.pdf" 
     267                                                                        tofile="${project.basedir}/target/site/reference/pdf/datacleaner-reference.pdf" 
     268                                                                        failonerror="false" /> 
    264269                                                        </postProcess> 
    265270                                                </configuration> 
     
    279284                                        <htmlStylesheet>style.css</htmlStylesheet> 
    280285                                </configuration> 
     286                        </plugin> 
     287                        <plugin> 
     288                                <!-- build mac os x bundle --> 
     289                                <groupId>org.codehaus.mojo</groupId> 
     290                                <artifactId>osxappbundle-maven-plugin</artifactId> 
     291                                <version>1.0-alpha-2</version> 
     292                                <configuration> 
     293                                        <mainClass>${mainClass}</mainClass> 
     294                                        <jvmVersion>1.6+</jvmVersion> 
     295                                        <iconFile>${basedir}/src/main/macosx/app-icon.icns</iconFile> 
     296                                        <bundleName>DataCleaner</bundleName> 
     297                                        <vmOptions>-Dcom.apple.macos.useScreenMenuBar=true</vmOptions> 
     298                                </configuration> 
     299                                <executions> 
     300                                        <execution> 
     301                                                <id>build-mac-osx-bundle-32-bit</id> 
     302                                                <phase>verify</phase> 
     303                                                <goals> 
     304                                                        <goal>bundle</goal> 
     305                                                </goals> 
     306                                                <configuration> 
     307                                                        <javaApplicationStub>${basedir}/src/main/macosx/JavaApplicationStub_32bit</javaApplicationStub> 
     308                                                        <buildDirectory>${project.build.directory}/DataCleaner/macos-32bit/DataCleaner</buildDirectory> 
     309                                                        <diskImageFile>${project.build.directory}/DataCleaner-32bit.dmg</diskImageFile> 
     310                                                </configuration> 
     311                                        </execution> 
     312                                        <execution> 
     313                                                <id>build-mac-osx-bundle-64-bit</id> 
     314                                                <phase>verify</phase> 
     315                                                <goals> 
     316                                                        <goal>bundle</goal> 
     317                                                </goals> 
     318                                                <configuration> 
     319                                                        <javaApplicationStub>${basedir}/src/main/macosx/JavaApplicationStub_64bit</javaApplicationStub> 
     320                                                        <buildDirectory>${project.build.directory}/DataCleaner/macos-64bit/DataCleaner</buildDirectory> 
     321                                                        <diskImageFile>${project.build.directory}/DataCleaner-64bit.dmg</diskImageFile> 
     322                                                </configuration> 
     323                                        </execution> 
     324                                </executions> 
    281325                        </plugin> 
    282326                </plugins> 
Note: See TracChangeset for help on using the changeset viewer.