maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject RE: POM.XML questions
Date Sat, 20 Jul 2013 20:31:07 GMT
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" <ibiiztera.it@gmail.com> 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:rfscholte@apache.org]
> 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
> <ibiiztera.it@gmail.com>:
>
> > 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:rfscholte@apache.org] 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
> > <ibiiztera.it@gmail.com>:
> >
> >> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message