Changeset 30193

Show
Ignore:
Timestamp:
02/14/08 20:04:39 (9 months ago)
Author:
stan
Message:

http://jira.nuxeo.org/browse/NXP-1803 Optional build version in manifest

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nuxeo-ep/branches/5.1/pom.xml

    r29743 r30193  
    517517        <extensions>true</extensions> 
    518518      </plugin> 
     519      <plugin> 
     520        <groupId>org.apache.maven.plugins</groupId> 
     521        <artifactId>maven-nuxeo-plugin</artifactId> 
     522        <executions> 
     523          <execution> 
     524            <id>eclipsize-version</id> 
     525            <phase>process-sources</phase> 
     526            <goals> 
     527              <goal>eclipse-version</goal> 
     528            </goals> 
     529          </execution> 
     530        </executions> 
     531      </plugin> 
    519532    </plugins> 
    520533    <pluginManagement> 
     
    534547              <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
    535548              <manifestEntries> 
    536                 <Bundle-Version>${pom.version}</Bundle-Version> 
     549                <Bundle-Version>${eclipseVersion}</Bundle-Version> 
    537550              </manifestEntries> 
    538551            </archive> 
     
    547560              <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
    548561              <manifestEntries> 
    549                 <Bundle-Version>${pom.version}</Bundle-Version> 
     562                <Bundle-Version>${eclipseVersion}</Bundle-Version> 
    550563              </manifestEntries> 
    551564            </archive> 
     
    565578          <groupId>org.apache.maven.plugins</groupId> 
    566579          <artifactId>maven-nuxeo-plugin</artifactId> 
    567           <version>1.0.3-SNAPSHOT</version> 
     580          <version>1.0.4-SNAPSHOT</version> 
    568581        </plugin> 
    569582        <plugin> 
     
    788801      </reporting> 
    789802    </profile> 
     803    <!-- activating the build number generation in plugins manifest for apogee --> 
     804    <profile> 
     805      <id>svn-rev-in-mf</id> 
     806      <activation> 
     807        <activeByDefault>false</activeByDefault> 
     808      </activation> 
     809      <build> 
     810        <plugins> 
     811          <plugin> 
     812            <groupId>org.codehaus.mojo</groupId> 
     813            <artifactId>buildnumber-maven-plugin</artifactId> 
     814            <version>1.0-beta-1</version> 
     815            <executions> 
     816              <execution> 
     817                <phase>validate</phase> 
     818                <goals> 
     819                  <goal>create</goal> 
     820                </goals> 
     821              </execution> 
     822            </executions> 
     823            <configuration> 
     824              <doCheck>false</doCheck> 
     825              <doUpdate>false</doUpdate> 
     826            </configuration> 
     827          </plugin> 
     828        </plugins> 
     829        <pluginManagement> 
     830          <plugins> 
     831            <plugin> 
     832              <groupId>org.apache.maven.plugins</groupId> 
     833              <artifactId>maven-ejb-plugin</artifactId> 
     834              <configuration> 
     835                <ejbVersion>3.0</ejbVersion> 
     836                <archive> 
     837                  <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
     838                  <manifestEntries> 
     839                    <Bundle-Version>${eclipseVersion}-r${buildNumber}</Bundle-Version> 
     840                    <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
     841                  </manifestEntries> 
     842                </archive> 
     843              </configuration> 
     844            </plugin> 
     845            <plugin> 
     846              <groupId>org.apache.maven.plugins</groupId> 
     847              <artifactId>maven-jar-plugin</artifactId> 
     848              <configuration> 
     849                <archive> 
     850                  <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
     851                  <manifestEntries> 
     852                    <Bundle-Version>${eclipseVersion}-r${buildNumber}</Bundle-Version> 
     853                    <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
     854                  </manifestEntries> 
     855                </archive> 
     856              </configuration> 
     857            </plugin> 
     858          </plugins> 
     859        </pluginManagement> 
     860      </build> 
     861    </profile> 
    790862  </profiles> 
    791863