Is http://github.com/ieb/open-experiments/tree/master/slingtests/osgikernel/
the
source tree for k2?

If so, please add:

<includeDefaultBundles>false</includeDefaultBundles>

around line 45 in
http://github.com/ieb/open-experiments/blob/master/slingtests/osgikernel/app/pom.xml

But this isn't the ideal way of dealing with this now. What you should do,
if possible, is to use the default bundle list and add/remove from it as
needed. You can add bundles either through the
<additionalBundles> configuration element or by providing a
src/main/bundles/list.xml file.

The process of generating the bundle list is now documented at
http://cwiki.apache.org/SLINGxSITE/maven-launchpad-plugin.html

Sorry for any inconvenience. Please let me know if I can help improve the k2
pom and bundle list file. This (a custom bundle of Sling components) is
exactly the type of use case I'm trying to get the launchpad plugin
to accommodate.

Justin

On Wed, Feb 3, 2010 at 5:36 PM, Carl Hall <[email protected]> wrote:

> This was intended for the sakai-kernel list but now the surprise has been
> spoiled.  Any hints are still welcome.
>
> On Wed, Feb 3, 2010 at 17:36, Carl Hall <[email protected]> wrote:
>
> > I get the following log trying to build the trunk of k2.  I've traced
> this
> > down to a failure occurring in AbstractBundleListMojo.initBundleList()
> but
> > don't know the specifics past that.  Any hints?  I'm planning to post
> this
> > to sling-dev but didn't want to be too jumpy if someone is working on
> this.
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Unable to load dependency information from properties file.
> >
> > Embedded error: Unable to find artifact.
> > Unable to determine the release version
> >
> > Try downloading the file manually from the project website.
> >
> > Then, install it using the command:
> >     mvn install:install-file -DgroupId=org.apache.sling
> > -DartifactId=org.apache.sling.launchpad -Dversion=RELEASE
> > -Dclassifier=bundlelist -Dpackaging=xml -Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the file
> > there:
> >     mvn deploy:deploy-file -DgroupId=org.apache.sling
> > -DartifactId=org.apache.sling.launchpad -Dversion=RELEASE
> > -Dclassifier=bundlelist -Dpackaging=xml -Dfile=/path/to/file -Durl=[url]
> > -DrepositoryId=[id]
> >
> >
> >   org.apache.sling:org.apache.sling.launchpad:xml:RELEASE
> >
>

Reply via email to