Changes between Version 31 and Version 32 of PluginDevelopmentGuide


Ignore:
Timestamp:
18.02.2015 11:46:35 (9 years ago)
Author:
Malte
Comment:

Changed two things: 1) mandatory Bundle-SymbolicName?, 2) new fileinstall dir context and syntax to register plugins

Legend:

Unmodified
Added
Removed
Modified
  • PluginDevelopmentGuide

    v31 v32  
    8484        <version>4.1.1-SNAPSHOT</version> 
    8585    </parent> 
     86 
     87    <build> 
     88        <plugins> 
     89            <plugin> 
     90                <groupId>org.apache.felix</groupId> 
     91                <artifactId>maven-bundle-plugin</artifactId> 
     92                <configuration> 
     93                    <instructions> 
     94                        <Bundle-SymbolicName> 
     95                            org.mydomain.dm4-tagging 
     96                        </Bundle-SymbolicName> 
     97                    </instructions> 
     98                </configuration> 
     99            </plugin> 
     100        </plugins> 
     101    </build> 
     102 
    86103</project> 
    87104}}} 
     
    127144{{{ 
    128145#!xml 
    129 <project> 
     146<profiles> 
    130147    ... 
    131     <felix.fileinstall.dir> 
    132         <![CDATA[ 
     148    <felix.fileinstall.dir>, 
    133149            ${project.basedir}/modules/dm4-core/target, 
    134150            ${project.basedir}/modules/dm4-webservice/target, 
     
    136152            ... 
    137153            ${project.basedir}/modules/dm4-storage-neo4j/target, 
    138             /home/myhome/deepamehta-dev/dm4-tagging/target 
    139         ]]> 
     154            /home/myhome/deepamehta-dev/dm4-tagging/target, 
     155            <!-- Note: Although the dm4-storage-neo4j module can not be hot-REdeployed it must be          --> 
     156            ... 
    140157    </felix.fileinstall.dir> 
    141158    ... 
    142 </project> 
     159</profiles> 
    143160}}} 
    144161 
     
    661678                <configuration> 
    662679                    <instructions> 
     680                        <Bundle-SymbolicName> 
     681                            org.mydomain.dm4-tagging 
     682                        </Bundle-SymbolicName> 
    663683                        <Bundle-Activator> 
    664684                            org.mydomain.deepamehta4.mycoolplugin.MyCoolPlugin