You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2006/08/31 07:19:38 UTC
svn commit: r438800 - in /incubator/tuscany/java/spec/commonj: NOTICE.txt
pom.xml src/main/resources/
Author: jboynes
Date: Wed Aug 30 22:19:38 2006
New Revision: 438800
URL: http://svn.apache.org/viewvc?rev=438800&view=rev
Log:
update commonj spec jar to use osgi plugin
Removed:
incubator/tuscany/java/spec/commonj/src/main/resources/
Modified:
incubator/tuscany/java/spec/commonj/NOTICE.txt
incubator/tuscany/java/spec/commonj/pom.xml
Modified: incubator/tuscany/java/spec/commonj/NOTICE.txt
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/commonj/NOTICE.txt?rev=438800&r1=438799&r2=438800&view=diff
==============================================================================
--- incubator/tuscany/java/spec/commonj/NOTICE.txt (original)
+++ incubator/tuscany/java/spec/commonj/NOTICE.txt Wed Aug 30 22:19:38 2006
@@ -1,3 +1,14 @@
+${pom.name}
+Copyright (c) 2005 - 2006 The Apache Software Foundation
+
+Apache Tuscany is an effort undergoing incubation at The Apache Software
+Foundation (ASF), sponsored by the Apache Web Services PMC. Incubation is
+required of all newly accepted projects until a further review indicates that
+the infrastructure, communications, and decision making process have stabilized
+in a manner consistent with other successful ASF projects. While incubation
+status is not necessarily a reflection of the completeness or stability of the
+code, it does indicate that the project has yet to be fully endorsed by the ASF.
+
This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
Modified: incubator/tuscany/java/spec/commonj/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/commonj/pom.xml?rev=438800&r1=438799&r2=438800&view=diff
==============================================================================
--- incubator/tuscany/java/spec/commonj/pom.xml (original)
+++ incubator/tuscany/java/spec/commonj/pom.xml Wed Aug 30 22:19:38 2006
@@ -19,36 +19,26 @@
-->
<project>
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>3</version>
+ </parent>
<groupId>org.apache.tuscany</groupId>
- <artifactId>commonj-api_1.1</artifactId>
- <name>Commonj</name>
+ <artifactId>commonj-api_${specVersion}</artifactId>
<version>1.0-SNAPSHOT</version>
+ <packaging>osgi-bundle</packaging>
+ <name>Commonj API for Timer and Work Manager</name>
+ <description>Commonj API for Timer and Work Manager</description>
+
+ <properties>
+ <specVersion>1.1</specVersion>
+ </properties>
<prerequisites>
<maven>2.0.4</maven>
</prerequisites>
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <distributionManagement>
- <repository>
- <id>apache-incubator-repository</id>
- <name>Apache Incubator Repository</name>
- <url>scp:///www/people.apache.org/repo/m2-snapshot-repository</url>
- </repository>
- <snapshotRepository>
- <id>apache-snapshot-repository</id>
- <name>Apache SNAPSHOT Repository</name>
- <url>scp:///www/people.apache.org/repo/m2-snapshot-repository</url>
- </snapshotRepository>
- </distributionManagement>
-
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/tuscany/java/spec</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/tuscany/java/spec</developerConnection>
@@ -64,6 +54,28 @@
</dependency>
</dependencies>
+ <!-- needed for OSGi plugin -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache-snapshot-repository</id>
+ <name>Apache SNAPSHOT Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <distributionManagement>
+ <repository>
+ <id>apache.incubator</id>
+ <name>Apache Incubator Repository</name>
+ <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
+ </repository>
+ <snapshotRepository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
+ </snapshotRepository>
+ </distributionManagement>
+
<build>
<plugins>
<plugin>
@@ -75,16 +87,35 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
+ <groupId>org.apache.felix.plugins</groupId>
+ <artifactId>maven-osgi-plugin</artifactId>
+ <extensions>true</extensions>
<configuration>
- <archive>
- <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
- </archive>
+ <osgiManifest>
+ <bundleName>${pom.name}</bundleName>
+ <bundleDescription>${pom.description}</bundleDescription>
+ <bundleVendor>${pom.organization.name}</bundleVendor>
+ <bundleLocalization>plugin</bundleLocalization>
+ <bundleSymbolicName>commonj.twm</bundleSymbolicName>
+ <exportPackage>commonj.timers;version="${specVersion}", commonj.work;version="${specVersion}</exportPackage>
+ </osgiManifest>
</configuration>
</plugin>
</plugins>
<defaultGoal>install</defaultGoal>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <filtering>true</filtering>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ </includes>
+ </resource>
+ </resources>
</build>
-
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org