Hi, Btw, you'll have noticed this is the less Maven-like solution. One would say the least recommended.
Cheers Le 20 juil. 2013 13:53, "Manuel Dahmen" <[email protected]> a écrit : > Thank you. > > I have read those docs. > > <plugin> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.7</version> > <executions> > <execution> > <phase>generate-resources</phase> > <goals> > <goal>run</goal> > </goals> > <configuration> > <target> > <mkdir dir="${project.build.outputDirectory}"/> > <unzip src="${basedir}/lib/jai_core.jar" > dest="${project.build.outputDirectory}"/> > <unzip src="${basedir}/lib/jmf.jar" > dest="${project.build.outputDirectory}"/> > </target> > </configuration> > </execution> > </executions> > </plugin> > > -----Message d'origine----- > De : Robert Scholte [mailto:[email protected]] > Envoyé : samedi 20 juillet 2013 13:09 > À : Maven Users List > Objet : Re: POM.XML questions > > Hi, > > if it's only for yourself, a "install-file"[1] (which is actually a copy to > your local repository) should be good enough. > Otherwise read Stephens blog about the other options, their pros and cons. > > Robert > > [1] http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html > [2] > > http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.ht > ml > > > Op Sat, 20 Jul 2013 12:58:58 +0200 schreef Manuel Dahmen > <[email protected]>: > > > Thank you, > > > > I write it like this: > > > > > > <dependency> > > <groupId>org.xeustechnologies</groupId> > > <artifactId>jcl-core</artifactId> > > <version>2.4</version> > > <type>jar</type> > > <scope>compile</scope> > > </dependency> > > > > I have another question: > > > > If the jar file (i.e. montemedia multimedia class library) is not on > > maven repository, should I upload it? (I don't want to continue using > > SystemPath > > property) And how do I do for my own projects? > > > > > > -----Message d'origine----- > > De : Robert Scholte [mailto:[email protected]] Envoyé : samedi 20 > > juillet 2013 12:46 À : Maven Users List Objet : Re: POM.XML questions > > > > Hi, > > > > See > > http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.xeustechnologies > > %22 > > > > there's only a pom available for jcl, because it is the project parent. > > you probably need to use jcl-core instead > > > > Robert > > > > > > Op Sat, 20 Jul 2013 12:37:58 +0200 schreef Manuel Dahmen > > <[email protected]>: > > > >> Hello, > >> > >> > >> I have one question or two. > >> > >> > >> I have found a project "jar class loader" which I want to use in my > >> own project. > >> > >> > >> I referenced it as below: > >> > >> > >> """ > >> > >> <dependency> > >> > >> <groupId>org.xeustechnologies</groupId> > >> > >> <artifactId>jcl</artifactId> > >> > >> <version>2.2.2</version> > >> > >> </dependency> > >> > >> """ > >> > >> I got the following error: > >> > >> """ > >> > >> Failed to execute goal on project EmptyCanvasSystem: Could not > >> resolve dependencies for project > >> be.ibiiztera:EmptyCanvasSystem:jar:1.0-SNAPSHOT: > >> Failure to find org.xeustechnologies:jcl:jar:2.2.2 in > >> http://repo.maven.apache.org/maven2 was cached in the local > >> repository, resolution will not be reattempted until the update > >> interval of central has elapsed or updates are forced -> [Help 1] > >> > >> """ > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
