hello
All,
I am trying to build
a eclipse plugin project.
I am using
<packaging>osgi-bundle</packaging> from
My question is :
How can i disable maven from putting its own entries in a
manifest.mf
file ? I dont want Maven to add any entries because in that
case the
packaged eclipse plugin does not
work.
I am using Maven 2.0.4.
Will really appreciate all help.
Thanks,
Bala
<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <plugin>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="Sample Action Set"
visible="true"
id="MDMTPluginProject1.actionSet">
<menu
label="Sample &Menu"
id="sampleMenu">
<separator
name="sampleGroup">
</separator>
</menu>
<action
label="&Sample Action"
icon="icons/sample.gif"
class="com.gehc.ce.mdmt.actions.MDMTAction"
tooltip="Hello, Eclipse world"
menubarPath="sampleMenu/sampleGroup"
toolbarPath="sampleGroup"
id="com.gehc.ce.mdmt.actions.MDMTAction">
</action>
</actionSet>
</extension>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.gehc.ce</groupId>
<artifactId>client9</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>osgi-bundle</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix.plugins</groupId>
<artifactId>maven-osgi-plugin</artifactId>
<extensions>true</extensions>
<version>0.8.0-SNAPSHOT</version>
<!--
<osgiManifest>
<bundleName>MDMTPluginProject4</bundleName>
<bundleDescription>MDMTPluginProject4</bundleDescription>
<bundleVendor>GE Healthcare</bundleVendor>
</osgiManifest>
-->
<configuration>
<manifestFile>META-INF/MANIFEST.MF</manifestFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>org.eclipse.ui</groupId>
<artifactId>workbench</artifactId>
<version>3.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse</groupId>
<artifactId>osgi</artifactId>
<version>3.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse</groupId>
<artifactId>jface</artifactId>
<version>3.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.core</groupId>
<artifactId>runtime</artifactId>
<version>3.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.swt.win32</groupId>
<artifactId>win32.x86</artifactId>
<version>3.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
<version>0.8.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!--
<dependency>
<groupId>ecisexternalplugin</groupId>
<artifactId>ECISExternalLib</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
-->
<!--
<dependency>
<groupId>mdmtexternaljar</groupId>
<artifactId>ECISExternalLib</artifactId>
<version>1.0.0</version>
</dependency>
-->
<dependency>
<artifactId>mdmt</artifactId>
<groupId>com.gehc.ce</groupId>
<version>0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<artifactId>xpp3_min</artifactId>
<groupId>org.xmlpull</groupId>
<version>1.1.3.4.I</version>
<scope>compile</scope>
</dependency>
<dependency>
<artifactId>xstream</artifactId>
<groupId>com.thoughtworks</groupId>
<version>1.1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<artifactId>commonslogging</artifactId>
<groupId>org.apache.commons</groupId>
<version>1.0.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<artifactId>log4j</artifactId>
<groupId>org.apache.log4j</groupId>
<version>1.2.13</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
