Coder Social home page Coder Social logo

Comments (4)

tombujok avatar tombujok commented on July 23, 2024

Hi

Please read the section "Reporting bugs" - I need a sample pom.xml file that enables reproducing the bug.

BTW, Thanks for using p2-maven-plugin. If you like it star it on github plz.

Tom

from p2-maven-plugin.

amasse76 avatar amasse76 commented on July 23, 2024

Here there is my pom.xml, but you need two bundles with the right groupId/artifactId/version

<modelVersion>4.0.0</modelVersion>

<groupId>com.company.p2</groupId>
<artifactId>test</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>

<build>
    <plugins>
        <plugin>
            <groupId>org.reficio</groupId>
            <artifactId>p2-maven-plugin</artifactId>
            <!--version>1.0.1-SNAPSHOT</version-->
            <version>1.1.0</version>
            <executions>
                <execution>
                    <id>default-cli</id>                       

                    <configuration>
                        <artifacts>

                            <artifact><id>com.company.resources.xxXX:dictionary:0.0.2</id></artifact>
                            <artifact><id>com.company.resources.yyYY:dictionary:0.0.2</id></artifact>

                        </artifacts>
                        <categoryFileURL>${basedir}/category.xml</categoryFileURL>
                    </configuration>

                </execution>
            </executions>
        </plugin>

        <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>jetty-maven-plugin</artifactId>
            <version>8.1.5.v20120716</version>
            <configuration>
                <scanIntervalSeconds>10</scanIntervalSeconds>
                <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
                <webApp>
                    <contextPath>/site</contextPath>
                </webApp>
            </configuration>
        </plugin>

    </plugins>
</build>

<pluginRepositories>
    <pluginRepository>
        <id>reficio</id>
        <url>http://repo.reficio.org/maven/</url>
    </pluginRepository>
</pluginRepositories>

from p2-maven-plugin.

lukejackson avatar lukejackson commented on July 23, 2024

See #73

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Fixed! Thanks to @lukejackson
Will be included in the next release (1.2.0)

from p2-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.