Changeset 30207

Show
Ignore:
Timestamp:
02/15/08 16:50:38 (9 months ago)
Author:
jcarsique
Message:

forward r30200 add local-deployment profile

Files:

Legend:

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

    r30064 r30207  
    518518        <extensions>true</extensions> 
    519519      </plugin> 
     520      <!-- 
    520521      <plugin> 
    521522        <groupId>org.codehaus.mojo</groupId> 
     
    535536        </configuration> 
    536537      </plugin> 
     538       --> 
    537539      <plugin> 
    538540        <groupId>org.apache.maven.plugins</groupId> 
     
    563565            <ejbVersion>3.0</ejbVersion> 
    564566            <archive> 
    565               <manifestFile>${project.build.directory}/classes/META-INF/MANIFEST.MF</manifestFile> 
     567              <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
     568              <manifestEntries> 
     569                <Bundle-Version>${eclipseVersion}</Bundle-Version> 
     570                <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
     571              </manifestEntries> 
    566572            </archive> 
    567573          </configuration> 
     
    572578          <configuration> 
    573579            <archive> 
    574               <manifestFile>${project.build.directory}/classes/META-INF/MANIFEST.MF</manifestFile> 
     580              <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
     581              <manifestEntries> 
     582                <Bundle-Version>${eclipseVersion}</Bundle-Version> 
     583                <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
     584              </manifestEntries> 
    575585            </archive> 
    576586          </configuration> 
     
    589599          <groupId>org.apache.maven.plugins</groupId> 
    590600          <artifactId>maven-nuxeo-plugin</artifactId> 
    591           <version>1.0.3-SNAPSHOT</version> 
     601          <version>1.0.3</version> 
    592602        </plugin> 
    593603        <plugin> 
     
    836846      </build> 
    837847    </profile> 
     848    <profile> 
     849      <id>local-deployment</id> 
     850      <activation> 
     851        <activeByDefault>false</activeByDefault> 
     852      </activation> 
     853      <distributionManagement> 
     854        <site> 
     855          <id>maven_website</id> 
     856          <url>scpexe://gironde.nuxeo.com/home/mavenweb/site/</url> 
     857        </site> 
     858        <repository> 
     859          <id>nuxeo_release</id> 
     860          <url> 
     861            file:///home/archiva/repositories/nuxeo_release 
     862          </url> 
     863        </repository> 
     864        <snapshotRepository> 
     865          <id>nuxeo_snapshot</id> 
     866          <url> 
     867            file:///home/archiva/repositories/nuxeo_snapshot 
     868          </url> 
     869        </snapshotRepository> 
     870      </distributionManagement> 
     871    </profile> 
     872    <!-- activating the build number generation in plugins manifest for apogee --> 
     873    <profile> 
     874      <id>svn-rev-in-mf</id> 
     875      <activation> 
     876        <activeByDefault>false</activeByDefault> 
     877      </activation> 
     878      <build> 
     879        <plugins> 
     880          <plugin> 
     881            <groupId>org.codehaus.mojo</groupId> 
     882            <artifactId>buildnumber-maven-plugin</artifactId> 
     883            <version>1.0-beta-1</version> 
     884            <executions> 
     885              <execution> 
     886                <phase>validate</phase> 
     887                <goals> 
     888                  <goal>create</goal> 
     889                </goals> 
     890              </execution> 
     891            </executions> 
     892            <configuration> 
     893              <doCheck>false</doCheck> 
     894              <doUpdate>false</doUpdate> 
     895            </configuration> 
     896          </plugin> 
     897        </plugins> 
     898        <pluginManagement> 
     899          <plugins> 
     900            <plugin> 
     901              <groupId>org.apache.maven.plugins</groupId> 
     902              <artifactId>maven-ejb-plugin</artifactId> 
     903              <version>2.1</version> 
     904              <configuration> 
     905                <ejbVersion>3.0</ejbVersion> 
     906                <archive> 
     907                  <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
     908                  <manifestEntries> 
     909                    <Bundle-Version>${eclipseVersion}-r${buildNumber}</Bundle-Version> 
     910                    <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
     911                  </manifestEntries> 
     912                </archive> 
     913              </configuration> 
     914            </plugin> 
     915            <plugin> 
     916              <groupId>org.apache.maven.plugins</groupId> 
     917              <artifactId>maven-jar-plugin</artifactId> 
     918              <version>2.2</version> 
     919              <configuration> 
     920                <archive> 
     921                  <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> 
     922                  <manifestEntries> 
     923                    <Bundle-Version>${eclipseVersion}-r${buildNumber}</Bundle-Version> 
     924                    <Bundle-ManifestVersion>2</Bundle-ManifestVersion> 
     925                  </manifestEntries> 
     926                </archive> 
     927              </configuration> 
     928            </plugin> 
     929          </plugins> 
     930        </pluginManagement> 
     931      </build> 
     932    </profile> 
    838933  </profiles> 
    839934