Coder Social home page Coder Social logo

Unable to parse configuration of mojo org.reficio:p2-maven-plugin:1.0.3-SNAPSHOT:site: Error loading class 'org.reficio.p2.Artifact' about p2-maven-plugin HOT 3 CLOSED

reficio avatar reficio commented on July 23, 2024
Unable to parse configuration of mojo org.reficio:p2-maven-plugin:1.0.3-SNAPSHOT:site: Error loading class 'org.reficio.p2.Artifact'

from p2-maven-plugin.

Comments (3)

Raccoonwao avatar Raccoonwao commented on July 23, 2024 1

This test case draws in platform dependent dependency ( org.eclipse.swt.gtk.linux.x86_64_3.3.0.v3346.jar) which might not be working if run on other platforms such as Windows.

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Hi,

I am happy you like it ;)

The config looks fine. There's a bug that the plugin does not work with maven 3.1.x.
Could you try with 3.0.x?

Tom Bujok
Reficio™ - Reestablish your software!
http://www.reficio.org

On Wednesday, October 9, 2013 at 12:03 AM, sstlaurent wrote:

Hi,
First, thank you for this great project.
Second,
I tried the quickstart pom that i modified to fit my needs. I all went fine on my local computer. But it fail if i run it inside bamboo on another computer. It maybe my maven version or something else.
Fai
Caused by: org.apache.maven.plugin.PluginConfigurationException: Unable to parse configuration of mojo org.reficio:p2-maven-plugin:1.0.3-SNAPSHOT:site: Error loading class 'org.reficio.p2.Artifact'
Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Error loading class 'org.reficio.p2.Artifact'
Caused by: java.lang.ClassNotFoundException: org.reficio.p2.Artifact
with this configuration
org.reficio p2-maven-plugin 1.0.3-SNAPSHOT default-cli ca.infodata:util1.restful:1.0.0 ca.infodata:util1.common:1.0.0 ca.infodata:util1.group:1.0.0 ca.infodata:util1.encryption:1.0.0 ca.infodata:apple.finder.search:1.0.0 ca.infodata:ofys.data.middle.dataobjects_client:0.0.1-SNAPSHOT com.sun.jersey:jersey-client:1.17.1 true net.java.dev.jna:jna:3.3.0 net.java.dev.jna:jna::platform:3.3.0 org.mb.listeners:listeners:1.0.0 ca.infodata:stats2.minimalog.client:1.0.0 jfree:jfreechart:1.0.13 jfree:jfreechart-swt:1.0.9 org.glassfish:javax.jms:3.1.1 com.miglayout:miglayout-swt:4.2 commons-collections:commons-collections:3.2.1 commons-codec:commons-codec:1.6 commons-io:commons-io:2.3 commons-lang:commons-lang:2.5 org.apache.commons:commons-lang3:3.1 ca.infodata:readhl7:1.0.0 com.google.code.gson:gson:2.2.4 javassist:javassist:3.12.1.GA org.bouncycastle:bcmail-jdk16:1.46 org.bouncycastle:bcprov-jdk16:1.46 log4j:log4j:1.2.17 org.swinglabs:pdf-renderer:1.0.5 com.googlecode.jatl:jatl:0.2.2 xmlrpc:xmlrpc:2.0.1 com.lowagie:itext:2.1.7 org.apache.pdfbox:pdfbox:1.8.2
Is this configuration ok ?
Is the problem elsewhere ?
Is is a bug ?


Reply to this email directly or view it on GitHub (#39).

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

I added a test case with your config (I had to comment out your internal artifacts) and everything works like a charm.
Maybe you used Maven 2.x?
Anyway, here's the test case:
https://github.com/reficio/p2-maven-plugin/blob/master/src/it/bug-39-parse-error-it/pom.xml

I am closing the issue. If you can still reproduce it, plz, let me know.

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.