January 20th, 2010, 05:12 AM
[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:
and then as dependencies in the project definition as well (as per normal).
<!-- Note that only groupId and artifactId must be specified here. because of a limitation of the Include/ExcludesArtifactFilter -->
<!-- example --> <include>hibernate.org:hibernate</include>
now whenever i try to execute the jnlp profile it gives me this
for every dependency i included (they are all present in my maven repository)
[ERROR] pattern: groupId:artifactId doesn't match any artifact.
<!-- example -->[ERROR] pattern: org.hibernate:hibernate doesn't match any artifact.
anybody that has an idea how I should be getting these dependencies properly configured?
January 21st, 2010, 10:44 PM
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
January 22nd, 2010, 02:12 AM
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
September 16th, 2013, 04:15 AM
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.