Deploying weld-osgi to jcoderz.org repository

For deploying weld-osgi to the jcoderz.org repository the following modifications to the pom.xml files are necessary (after applying the wagon-ssh extensions to the your Maven installation, see previous post): Deploy the WELD API packages git clone -b WELD-963 http://github.com/mathieuancelin/api.git WELD-963 cd WELD-963 vi pom.xml Add the following XMl fragment to the maven-deploy-plugin <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> <skip>true</skip> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>2.2</version> </dependency> </dependencies> </plugin> </plugins> </build> mvn -e clean install -Dmaven.test.skip=true mvn -e deploy -DaltDeploymentRepository=jcoderz-snapshots::default::scp://jcoderz.org/var/www/repos/maven2-snapshot/ -Dmaven.test.skip=true cd .. 2. Deploy the WELD OSGi packages ...

December 31, 2011 · 1 min · Michael Rumpf

Building weld-osgi

In case you want to use Weld inside your OSGi application you first need to compile a few branches on your own: WELD-963 branch of the weld/api project weld-osgi branch from the weld/core project Those branches will soon be merged into the official Weld codebase. But in the meantime you need to follow the steps below in order to get the packages compiled. A prerequisite is that git and Maven 3 is available ...

December 6, 2011 · 2 min · Michael Rumpf