Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

For Maven, Just declare a dependency on the manipulator that you want to use in the maven-ipojo-plugin plugin section:

Code Block
xml
xml
titleMavenxml
<plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-ipojo-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>ipojo-bundle</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
        	<dependency>
        		<groupId>org.apache.felix</groupId>
        		<artifactId>org.apache.felix.ipojo.manipulator</artifactId>
        		<version>1.6.2</version>
        	</dependency>
        </dependencies>
      </plugin>

For Ant, just configure the classpath of the iPOJO ant task with the Manipulator that you want to use:

Code Block
xml
xml
titleAntxml
<taskdef name="ipojo"
        classname="org.apache.felix.ipojo.task.IPojoTask"
                classpath="../ipojo/manipulator/org.apache.felix.ipojo.manipulator-1.7.0-SNAPSHOT.jar; lib/org.apache.felix.ipojo.ant-1.7.0-SNAPSHOT.jar;" />
 />

...