pax-provision without gogo shell

92 Views Asked by At

I recently started with osgi. I'm using pax tools to generate and deploy my bundles. I'm trying to create a console application, but everytime I launch pax-provision command gogo shell is fired. I also want to know what is the difference between pax-provision and pax-run ( I don't use pax-run ).

1

There are 1 best solutions below

0
user1828433 On BEST ANSWER

I turned off the gogo shell by editing the pom.xml in the base directory of the projec, by adding --noConsole to configuration :

<plugin>
    <groupId>org.ops4j</groupId>
    <artifactId>maven-pax-plugin</artifactId>
    <version>1.5</version>
    <configuration>

      <provision>
        <param>--platform=felix</param>
         <param>--noConsole</param> 
      </provision>
    </configuration>
    <executions>

      <execution>
        <id>ide-support</id>
        <goals>
          <goal>eclipse</goal>
        </goals>
      </execution>

    </executions>
  </plugin>