diff --git a/.cvsignore b/.cvsignore
index e69de29..065e5ab 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+maven-bundle-plugin-2.0.0-project.tar.gz
diff --git a/felix-1.0.2.pom b/felix-1.0.2.pom
new file mode 100644
index 0000000..1d5198f
--- /dev/null
+++ b/felix-1.0.2.pom
@@ -0,0 +1,432 @@
+
+
+ 4.0.0
+
+
+ org.apache
+ apache
+ 4
+
+
+ org.apache.felix
+ felix
+ pom
+ Apache Felix
+ 1.0.2
+ http://felix.apache.org/
+ 2006
+ Apache felix is an OSGi implementation.
+
+
+ Jira
+ http://issues.apache.org/jira/browse/FELIX
+
+
+
+
+ Felix Dev
+ dev-subscribe@felix.apache.org
+ dev-unsubscribe@felix.apache.org
+ -
+ http://www.mail-archive.com/dev%40felix.apache.org/
+
+
+ Felix Commits
+ commits-subscribe@felix.apache.org
+ commits-unsubscribe@felix.apache.org
+ -
+ http://www.mail-archive.com/commits%40felix.apache.org/
+
+
+
+
+ scm:svn:https://svn.apache.org/repos/asf/felix/releases/felix-1.0.2
+ scm:svn:https://svn.apache.org/repos/asf/felix/releases/felix-1.0.2
+ scm:svn:https://svn.apache.org/repos/asf/felix/releases/felix-1.0.2
+
+
+
+
+
+
+
+ packaging-plugins
+
+
+ packaging
+ plugins
+
+
+
+ ../org.osgi.service.obr
+ ../maven-obr-plugin
+ ../bundleplugin
+ ../scrplugin
+ ../tools/maven2/maven-osgi-plugin
+
+
+
+
+ packaging-ipojo-bundle
+
+
+ packaging
+ ipojo-bundle
+
+
+
+
+
+
+
+
+ packaging-bundle
+
+
+ packaging
+ bundle
+
+
+
+ ../org.osgi.foundation
+ ../javax.servlet
+ ../org.osgi.core
+ ../org.osgi.compendium
+ ../framework
+ ../main
+ ../shell
+ ../shell.tui
+ ../shell.gui
+ ../shell.gui.plugin
+ ../org.osgi.service.obr
+ ../bundlerepository
+ ../log
+ ../eventadmin
+ ../http.jetty
+ ../upnp
+ ../scr
+ ../configadmin
+ ../metatype
+ ../dependencymanager
+ ../servicebinder
+ ../wireadmin
+ ../prefs
+
+ ../ipojo
+
+ ../mosgi
+ ../jmood
+
+ ../examples
+
+
+
+
+ packaging-osgi-bundle
+
+
+ packaging
+ osgi-bundle
+
+
+
+ ../org.apache.felix.daemon
+
+
+
+
+
+
+
+ release
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ bin
+ project
+
+
+
+
+ make-assembly
+ package
+
+ attached
+
+
+
+
+
+
+
+
+
+
+
+ felix website
+ file:///${user.dir}/target/site-deployed/
+
+
+ apache.releases
+ Apache Release Distribution Repository
+ scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
+
+
+
+
+
+ apache.snapshots
+ snapshot plugins
+
+ http://people.apache.org/repo/m2-snapshot-repository
+
+
+ false
+
+
+ true
+
+
+
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+ easymock
+ easymock
+ 1.2_Java1.3
+ test
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.0.2
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.3
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.1
+
+
+ org.apache.maven.plugins
+ maven-plugin-plugin
+ 2.3
+
+
+ org.apache.maven.plugins
+ maven-install-plugin
+ 2.2
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.3
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ 2.0-beta-6
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ 2.0.1
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+ 2.1
+
+
+ org.apache.maven.plugins
+ maven-surefire-report-plugin
+ 2.3
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.3
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.0-alpha-4
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 2.2-beta-1
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 1.3
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+
+
+
+
+ src/main/resources
+
+
+ .
+ META-INF
+
+ LICENSE*
+ NOTICE*
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+
+ ${user.dir}/src/site/
+ maven-site.vm
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-report-plugin
+
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+
+
+
+ index
+ dependencies
+ project-team
+ mailing-list
+ issue-tracking
+ license
+ scm
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/felix-settings.xml b/felix-settings.xml
new file mode 100644
index 0000000..efe7bd7
--- /dev/null
+++ b/felix-settings.xml
@@ -0,0 +1,47 @@
+
+
+
+ JPP
+
+
+ internal
+ jpp
+ __JPP_URL_PLACEHOLDER__
+
+
+ external
+ jpp
+ __JAVADIR_PLACEHOLDER__
+
+
+ local
+ jpp
+ __MAVENREPO_DIR_PLACEHOLDER__
+
+
+
+
+ plugins-internal
+ plugins-internal
+ jpp
+ __JPP_URL_PLACEHOLDER__
+
+
+ plugins-external
+ plugins-external
+ jpp
+ __JAVADIR_PLACEHOLDER__
+
+
+ plugins-maven
+ plugins-maven
+ jpp
+ __MAVENDIR_PLUGIN_PLACEHOLDER__
+
+
+
+
+
+ JPP
+
+
diff --git a/maven-plugin-bundle.spec b/maven-plugin-bundle.spec
new file mode 100644
index 0000000..a8e7c71
--- /dev/null
+++ b/maven-plugin-bundle.spec
@@ -0,0 +1,126 @@
+Name: maven-plugin-bundle
+Version: 2.0.0
+Release: 2%{?dist}
+Summary: Maven Bundle Plugin
+
+Group: Development/Tools
+License: ASL 2.0
+URL: http://felix.apache.org
+Source0: http://www.apache.org/dist/felix/maven-bundle-plugin-2.0.0-project.tar.gz
+Source1: http://repo1.maven.org/maven2/org/apache/felix/felix/1.0.2/felix-1.0.2.pom
+Source2: felix-settings.xml
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: aqute-bndlib >= 0.0.363
+BuildRequires: plexus-utils >= 1.4.5
+BuildRequires: felix-osgi-obr
+BuildRequires: kxml
+BuildRequires: maven-shared-dependency-tree >= 1.1-3
+BuildRequires: maven-wagon >= 1.0-0.2.b2
+BuildRequires: maven2-plugin-compiler >= 2.0.8
+BuildRequires: maven2-plugin-install >= 2.0.8
+BuildRequires: maven2-plugin-jar >= 2.0.8
+BuildRequires: maven2-plugin-javadoc >= 2.0.8
+BuildRequires: maven2-plugin-plugin >= 2.0.8
+BuildRequires: maven2-plugin-resources >= 2.0.8
+BuildRequires: maven-surefire-maven-plugin >= 2.3
+BuildRequires: maven-surefire-provider-junit >= 2.3
+Requires: aqute-bndlib >= 0.0.363
+Requires: plexus-utils >= 1.4.5
+Requires: felix-osgi-obr
+Requires: kxml
+Requires: maven2
+
+BuildArch: noarch
+
+
+%description
+Provides a maven plugin that supports creating an OSGi bundle
+from the contents of the compilation classpath along with its
+resources and dependencies. Plus a zillion other features.
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+
+%description javadoc
+API documentation for %{name}.
+
+%prep
+%setup -q -n maven-bundle-plugin-%{version}
+cp %{SOURCE2} settings.xml
+mkdir -p .m2/repository/JPP/maven2/default_poms
+cp %{SOURCE1} .m2/repository/JPP/maven2/default_poms/org.apache.felix-felix.pom
+
+%build
+sed -i -e \
+ "s|__JPP_URL_PLACEHOLDER__|file://`pwd`/.m2/repository|g" \
+ settings.xml
+sed -i -e \
+ "s|__JAVADIR_PLACEHOLDER__|file://`pwd`/external_repo|g" \
+ settings.xml
+sed -i -e \
+ "s|__MAVENREPO_DIR_PLACEHOLDER__|file://`pwd`/.m2/repository|g" \
+ settings.xml
+sed -i -e \
+ "s|__MAVENDIR_PLUGIN_PLACEHOLDER__|file:///usr/share/maven2/plugins|g" \
+ settings.xml
+sed -i -e \
+ "s|__ECLIPSEDIR_PLUGIN_PLACEHOLDER__|file:///usr/share/eclipse/plugins|g" \
+ settings.xml
+
+export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
+mvn-jpp \
+ -e \
+ -s $(pwd)/settings.xml \
+ -Dmaven2.jpp.mode=true \
+ -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
+ install javadoc:javadoc
+
+%install
+rm -rf %{buildroot}
+
+# jars
+install -d -m 0755 %{buildroot}%{_javadir}
+install -m 644 target/maven-bundle-plugin-%{version}.jar \
+ $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+
+%add_to_maven_depmap org.apache.felix maven-bundle-plugin %{version} JPP %{name}
+
+# poms
+install -d -m 755 %{buildroot}%{_datadir}/maven2/poms
+install -pm 644 pom.xml \
+ %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
+
+# javadoc
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
+ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
+rm -rf target/site/api*
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_javadir}/*
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
+
+%files javadoc
+%defattr(-,root,root,-)
+%{_javadocdir}/%{name}-%{version}
+%{_javadocdir}/%{name}
+
+%changelog
+* Mon Sep 7 2009 Alexander Kurtakov 2.0.0-2
+- Fix BR/Rs.
+
+* Thu Sep 3 2009 Alexander Kurtakov 2.0.0-1
+- Initial import.
diff --git a/sources b/sources
index e69de29..dfd42cf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+de97b6f6b92b7ebef33000f4ed31ebb1 maven-bundle-plugin-2.0.0-project.tar.gz