Hi,

And another tool in the chain: If you have the Felix Web Console
installed, the Maven Sling Plugin [1] can be used to automatically
deploy bundles.

Regards
Felix

[1] http://sling.apache.org/site/sling.html

On 02.06.2010 16:25, Jan Goyvaerts wrote:
> I've vainly been trying to use Felix' bundle plugin to install/deploy a
> bundle Maven artifact to the Felix repository in Glassfish. In the end I've
> used the Ant run plugin to copy the bundle jar to the deployment directory:
> 
>         <profile>
>             <id>install-on-local-glassfish</id>
>             <build>
>                 <plugins>
>                     <plugin>
>                         <artifactId>maven-antrun-plugin</artifactId>
>                         <executions>
>                             <execution>
>                                 <phase>install</phase>
>                                 <configuration>
>                                     <tasks>
>                                         <copy
> file="target/helloworld-1.0-SNAPSHOT.jar"
> toDir="/u01/app/glassfish-3.0.1-b19/glassfish/domains/domain1/autodeploy/bundles"/>
>                                     </tasks>
>                                 </configuration>
>                                 <goals>
>                                     <goal>run</goal>
>                                 </goals>
>                             </execution>
>                         </executions>
>                     </plugin>
>                 </plugins>
>             </build>
>         </profile>
> 
> But there's probably a much better, cleaner to do this. Or is there ?
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to