maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: POM.XML questions
Date Sat, 20 Jul 2013 11:09:12 GMT
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.html


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


Mime
View raw message