Hi,
I try it, but the result is not my expected.My Directory like this:
---------------------------------------------------------------------------
-src
  -main
     -java
        -‘sources’
     -resources
        -‘other resource files’
-META-INF
  -MANIFEST.MF
  -spring
      -‘some configuration files’
-target
-pom.xml
---------------------------------------------------------------------------
My MANIFEST.MF is :
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Runtime
Bundle-SymbolicName: ${user.project.symbolicName}
Bundle-Version: 1.0.0.qualifier
Import-Package: org.eclipse.osgi.framework.console;version="1.1.0",
 org.osgi.framework;version="1.3.0",
 org.slf4j
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.springframework.osgi.core;bundle-version="1.2.1"

Now i want to modify the 'Bundle-Version' use <manifestEntries>.
My POM fragment like this :
<build>
        <plugins>
                <plugin>
                        <artifactId>maven-jar-plugin</artifactId>
                        <version>2.3</version>
                        <configuration>
                                <archive>
                                        
<manifestFile>META-INF/MANIFEST.MF</manifestFile>
                                        
<addMavenDescriptor>false</addMavenDescriptor>
                                </archive>
                        </configuration>
                </plugin>
        </plugins>
        <resources>
                <resource>
                        <directory>./</directory>
                        <includes>
                                <include>META-INF/**/*</include>
                        </includes>
                        <excludes>
                                <exclude>**/*/.svn</exclude>
                        </excludes>
                </resource>
        </resources>
  </build>
Can you tell me the JIRA's url?


--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-merge-the-manifest-mf-tp5058051p5060921.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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

Reply via email to