Apache Maven core
Go to file
Kenney Westerhof e54695ddba Move osgi bundle manifest generation to osgi profile.
The generated manifests are incorrect, for instance, maven-project's manifest
misses the package-import org.apache.maven.artifact.transform which should come from 
maven-artifact CacheAware*.java.

Further, this doesn't work in an osgi environment, since if each artifact
is a bundle, then maven-embedder must have access to all component.xml files
in all maven core artifacts, and in all dependencies (which aren't bundles
but that can be fixed).
Osgi import/exports for packages work for resources too, but META-INF/ isn't
a package so this doesn't work. This may work with 'Require-Bundle'
(it does in my implementation although i don't think i follow the spec entirely ;)).
The next problem you get is classcasts for wagon (httplightweightwagon). This
has to be included in a bundle too and get proper exports. The same goes
for all other dependencies (plexus-*).
Maven and plexus are not suited for osgi yet - too much changing is required
in both the metadata structure, the code, and all dependencies and/or
packaging and binary inclusion of dependencies to make this work.
The best bet is to use the one-artifact embedder.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@549982 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 23:54:45 +00:00
maven-artifact Merged r549509 from 2.0.x: 2007-06-21 15:21:49 +00:00
maven-build-context Merging revIds: 515814:520600 from 2.1-lifecycle-refactor branch to trunk. 2007-03-20 21:40:59 +00:00
maven-core Adding a small comment about managed artifact versions in here. 2007-06-22 22:09:22 +00:00
maven-embedder [MNG-3039] mvn.bat fails 2007-06-19 16:32:57 +00:00
maven-error-diagnostics updating license headers 2007-02-28 22:50:38 +00:00
maven-lifecycle Try to assume that a plugin bound in the POM but not resolved during build-plan-building will be resolvable later. 2007-06-08 16:46:20 +00:00
maven-model MNG-1849 Fix Extension.hashCode() throwing NPE if groupId or artifactId is null 2007-06-01 03:47:31 +00:00
maven-monitor updating license headers 2007-02-28 22:50:59 +00:00
maven-plugin-api Remove svn:executable from pom and java files 2007-03-02 10:55:05 +00:00
maven-plugin-descriptor Remove svn:executable from pom and java files 2007-03-02 10:55:05 +00:00
maven-plugin-parameter-documenter updating license headers 2007-02-28 22:51:47 +00:00
maven-profile updating license headers 2007-02-28 22:52:16 +00:00
maven-project PR: MNG-2339 - ${project.*} evaluated badly 2007-06-22 11:34:53 +00:00
maven-reporting updating license headers 2007-02-28 22:54:36 +00:00
maven-script Upgrade snapshots 2007-05-27 05:45:18 +00:00
maven-settings Forgot a requirement in the component descriptor. 2007-06-08 16:19:58 +00:00
src/main/assembly produce a source assembly as part of the release 2007-06-15 03:10:55 +00:00
README.txt o point people at the website 2006-11-23 20:46:24 +00:00
ant-contrib-1.0b2.jar Merge maven.new for latest plexus classworlds and container APIs 2006-12-07 00:17:53 +00:00
build.properties Fixing plexus-utils version. 2007-06-08 16:20:54 +00:00
build.sh o the joys of using ant to bootstrap :-) It's staring to look like a real ant build! 2006-12-11 01:33:39 +00:00
build.xml o we simply can't survive right now without inserting plexus utils, we just have too many builds without 2007-05-03 19:50:08 +00:00
ci.sh o updating plexus and classworlds with latest releases 2006-12-30 06:34:51 +00:00
doap_Maven.rdf license header update 2007-02-28 22:57:03 +00:00
make-embedder.sh Reverting the package changes 2007-06-02 15:35:57 +00:00
pom.xml Move osgi bundle manifest generation to osgi profile. 2007-06-22 23:54:45 +00:00

README.txt

See: 

http://maven.apache.org/guides/development/guide-building-m2.html