Hi everybody, I'm trying to use the deploy goal of maven-bundle-plugin, in order to deploy a remote OBR. However, I must have made a mistake somewhere, because I end with an empty repository. Here is what I do :
I'm using the attached pom.xml file, trying to create a very simple bundle that just uses org.osgi.framework . First I install locally the bundle using "mvn install" . This creates a repository.xml file in my local repository, as expected. This local repository.xml contains the description of the newly cerated bundle and its dependencies. Then I try to remotally deploy the repository, using "remoteOBR". So I type : mvn -X -DremoteOBR -org.apache.felix:maven-bundle-plugin:deploy The build is "successfull", but what I get on my remote deployment site is an empty repository.xml : <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <repository lastmodified="20080404183502.145" name="MyRepository"/> Moreover, the "lastmodified" information does not correspond to the real modification date. I must have done something wrong, but what ? I have tried with both 1.4.0 and 1.4.1-SNAPSHOT versions of the plugin.
<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/maven-v4_0_0.xsd"> <parent> <groupId>fr.francetelecom.rd</groupId> <artifactId>ft-maven</artifactId> <version>1.4</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>bugs</groupId> <artifactId>bug</artifactId> <version>0.0.1</version> <name>bug</name> <packaging>bundle</packaging> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <version>1.4.1-SNAPSHOT</version> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <remoteOBR> </remoteOBR> <altDeploymentRepository> obr-acse::default::scp://yourdev.rd.francetelecom.fr/home/groups/acse/htdocs/obr-test </altDeploymentRepository> <instructions> <Private-Package>bug</Private-Package> <Bundle-Activator>bug.BugActivator</Bundle-Activator> </instructions> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi_R4_core</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi_R4_compendium</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

