Author: pderop
Date: Fri Mar 6 20:55:18 2015
New Revision: 1664719
URL: http://svn.apache.org/r1664719
Log:
Moved the "what's changed" section to the "migrating from earlier release" part.
Modified:
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
Modified:
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
URL:
http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext?rev=1664719&r1=1664718&r2=1664719&view=diff
==============================================================================
---
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
(original)
+++
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager-4/guides/whatsnew.mdtext
Fri Mar 6 20:55:18 2015
@@ -46,58 +46,3 @@ Use "add-require-capability=true" option
* Added a benchmark tool for dependency manager (not released, only available
from the trunk, see
dependencymanager/org.apache.felix.dependencymanager.benchmark/README
* The Annotations "Factory Sets" are deprecated and have been replaced by a
nice api exported by the runtime bundle. See FELIX-4684
-
-# What's changed in DependencyManager 4.0
-
-* The Annotations processor is not generating anymore the
Import-Service/Export Service by default (no need to specify the
"build-import-export-service=false" option in the
-annotations plugin if you don't need to generate automatically the deprecated
headers).
-
-* The Dependency Manager metatype annotations are now deprecated and it is
encouraged to use standard bnd metatypes annotation instead.
-See
org.apache.felix.dependencymanager.samples/src/org/apache/felix/dependencymanager/samples/dictionary/annot/DictionaryConfiguration.java
for an example.
-You can also check http://www.aqute.biz/Bnd/MetaType for more information
about the bnd metatypes annotations.
-
-* Dependency Manager is now fully built using bndtools, and there is no Maven
annotation plugin anymore. However, the workaround is simply the
-use a "_plugin" option in the pom, and to declare a dependency inside the
"plugin" configuration.
-Notice that in the R1 version, we are not pushing DM distribution to maven, so
you have to do manually push the DM artifacts in your own nexus server.
-We'll try to release DM artifacts to maven central in the next release (R2).
-
-For example:
-
- :::xml
- <project ...>
- <dependencies>
- ...
- <dependency>
- <groupId>org.apache.felix</groupId>
-
<artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
- <version>4.0.0</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- ...
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.5.0</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-Name>Test</Bundle-Name>
- <Bundle-SymbolicName>test</Bundle-SymbolicName>
- <Import-Package>*</Import-Package>
-
<Private-Package>test.dmannotations.withbndplugininvokedfrompom</Private-Package>
-
<_plugin>org.apache.felix.dm.annotation.plugin.bnd.AnnotationPlugin;log=debug</_plugin>
- </instructions>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.felix</groupId>
-
<artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
- <version>4.0.0</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- </project>