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 Sun, 21 Jul 2013 15:24:50 GMT
The link above describes it all.
If your project is open source or at least its binaries publicly
distributable, then upload them to central.
If not, then install a maven repository manager in between and upload it
here with the coordinates you want.

Cheers
Le 21 juil. 2013 15:46, "Manuel Dahmen" <ibiiztera.it@gmail.com> a écrit :

> Ok but the solution i want to use does not work:
>
> <dependency>
>        <groupId>javax.media</groupId>
>         <artifactId>jmf</artifactId>
>         <version>2.1.1e</version>
>         <type>pom</type>
>     </dependency>
>
> I found the references by searching Maven repository.
>
> And how could I upload the own projects to a public repository for
> distribution?
>
> -----Message d'origine-----
> De : bmathus@gmail.com [mailto:bmathus@gmail.com] De la part de Baptiste
> MATHUS
> Envoyé : samedi 20 juillet 2013 22:31
> À : Maven Users List
> Objet : RE: POM.XML questions
>
> 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-ma
> > ven.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.xeustechnologi
> > > es
> > > %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
> >
> >
>
>
> ---------------------------------------------------------------------
> 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