Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<plugin>
	      <groupId>org.apache.felix</groupId>
	      <artifactId>org.apache.felix.ipojo.<artifactId>maven-ipojo-plugin</artifactId>
              <version>0.7.35-SNAPSHOT</version>
		  <executions>
          	<execution>
            	<goals>
	              <goal>ipojo-bundle</goal>
               </goals>
            <configuration>
   		      <metadata>ipojo/meta.xml</metadata>
            </configuration>
          </execution>
        </executions>
      </plugin>

In the metadata element, you can specify your metadata files. However, the metadata file must be inside a Maven resources folder (for instance, src/main/resources/ipojo/meta.xml)

The second option allow to skip annotations processing, by using the "ignoreAnnotations" element :

Code Block
xml
xml

<plugin>
	      <groupId>org.apache.felix</groupId>
	      <artifactId>maven-ipojo-plugin</artifactId>
              <version>0.7.5-SNAPSHOT</version>
		  <executions>
          	<execution>
            	<goals>
	              <goal>ipojo-bundle</goal>
               </goals>
            <configuration>
   		      <ignoreAnnotations>true</ignoreAnnotations>
            </configuration>
          </execution>
        </executions>
      </plugin>