#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2010
    Location
    Leuven (Belgium)
    Posts
    168
    Rep Power
    268

    [maven] dependencies in webstart-maven-plugin


    hi, i'm having issues pulling in my dependencies for creating a webstart app with maven using the webstart-maven-plugin .

    they are defined like this inside the plugin configuration:
    Code:
    <dependencies>
    <!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter -->
          <includes>
                 <include>groupId:artifactId</include>
    <!-- example --> <include>hibernate.org:hibernate</include>
          </includes>
    </dependencies>
    and then as dependencies in the project definition as well (as per normal).

    now whenever i try to execute the jnlp profile it gives me this
    Code:
    [ERROR] pattern: groupId:artifactId doesn't match any artifact.
    <!-- example -->[ERROR] pattern: org.hibernate:hibernate doesn't match any artifact.
    for every dependency i included (they are all present in my maven repository)

    anybody that has an idea how I should be getting these dependencies properly configured?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Nov 2004
    Location
    Washington DC
    Posts
    2,756
    Rep Power
    1572
    What's the rest of your pom look like? If i had to guess i'd say that the <include>groupId:artifactId</include>
    is just an example of the syntax, and not something you're actually supposed to put in there.
    Open for extension, closed for modification
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2010
    Location
    Leuven (Belgium)
    Posts
    168
    Rep Power
    268
    well.. I didn't put the pattern as such inside the pom offcourse, but the example I gave is in it (as a specific implementation of the pattern)

    so the part of the code I marked with <!-- example --> is what I actually put in.

    Do I make sense here?

    Anyway.. I managed to 'fix' the problem by using a different execution goal of the plugin. Still wondering why it works in that goal (jnlp-inline) and not in the one I had originally (jnlp) though
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    1
    Rep Power
    0

    Setting up Maven


    Hi guys! We have a related article about Maven. You can check it out Ideyatech's blog, it might help you. Just search IDEYATECH thru google.

IMN logo majestic logo threadwatch logo seochat tools logo