You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by maggu2810 <gi...@git.apache.org> on 2015/11/24 17:47:04 UTC

[GitHub] karaf pull request: KAR Mojo: fix metadata generation of artifacts

GitHub user maggu2810 opened a pull request:

    https://github.com/apache/karaf/pull/102

    KAR Mojo: fix metadata generation of artifacts

    Problem description:
    * use the kmp to generate a kar that contains snapshot version
    * use the kmp to generate a custom distribution that fills the local
      repository of the distribution with the content of that kar
    * try to install the snapshot artifact (not using any other repository
      then the system directory
    * if your snapshots has been timestamped and a maven metadata XML does
      not exist on KAR creation the installation of the artifact will fail
    
    The KAR Mojo contains a workaround to use the base version of a snapshot
    instead of a timestamped one because it does not work in
    startup.properties.
    The metadata that is used for a snapshot artifact is generated (if not
    present) using the timestamped version. Also if there exists already a
    metadata, we can not use them without further checking for the
    version...
    Let's move the version fix in front of the metadata generation and
    generate the metadata for every snapshot.
    
    Signed-off-by: Markus Rathgeb <ma...@gmail.com>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maggu2810/karaf kmp-kar-snapshots

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/102.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #102
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] karaf pull request: KAR Mojo: fix metadata generation of artifacts

Posted by maggu2810 <gi...@git.apache.org>.
GitHub user maggu2810 reopened a pull request:

    https://github.com/apache/karaf/pull/102

    KAR Mojo: fix metadata generation of artifacts

    Problem description:
    * use the kmp to generate a kar that contains snapshot version
    * use the kmp to generate a custom distribution that fills the local
      repository of the distribution with the content of that kar
    * try to install the snapshot artifact (not using any other repository
      then the system directory
    * if your snapshots has been timestamped and a maven metadata XML does
      not exist on KAR creation the installation of the artifact will fail
    
    The KAR Mojo contains a workaround to use the base version of a snapshot
    instead of a timestamped one because it does not work in
    startup.properties.
    The metadata that is used for a snapshot artifact is generated (if not
    present) using the timestamped version. Also if there exists already a
    metadata, we can not use them without further checking for the
    version...
    Let's move the version fix in front of the metadata generation and
    generate the metadata for every snapshot.
    
    Signed-off-by: Markus Rathgeb <ma...@gmail.com>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maggu2810/karaf kmp-kar-snapshots

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/102.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #102
    
----
commit ed512fc72181f3ab3a9437dc1bb727c1465940c1
Author: Markus Rathgeb <ma...@gmail.com>
Date:   2015-11-24T16:28:14Z

    KAR Mojo: fix metadata generation of artifacts
    
    Problem description:
    * use the kmp to generate a kar that contains snapshot version
    * use the kmp to generate a custom distribution that fills the local
      repository of the distribution with the content of that kar
    * try to install the snapshot artifact (not using any other repository
      then the system directory
    * if your snapshots has been timestamped and a maven metadata XML does
      not exist on KAR creation the installation of the artifact will fail
    
    The KAR Mojo contains a workaround to use the base version of a snapshot
    instead of a timestamped one because it does not work in
    startup.properties.
    The metadata that is used for a snapshot artifact is generated (if not
    present) using the timestamped version. Also if there exists already a
    metadata, we can not use them without further checking for the
    version...
    Let's move the version fix in front of the metadata generation and
    generate the metadata for every snapshot.
    
    Signed-off-by: Markus Rathgeb <ma...@gmail.com>

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] karaf pull request: [KARAF-4145] KAR Mojo: fix metadata generation...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/karaf/pull/102


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] karaf pull request: KAR Mojo: fix metadata generation of artifacts

Posted by maggu2810 <gi...@git.apache.org>.
Github user maggu2810 closed the pull request at:

    https://github.com/apache/karaf/pull/102


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---