Hi JC,
yes, you are right. mvn install really overwrites the jar files in ./m2
I was under the assumption, that the non snapshot versions were fixed 
locally as well. On a Maven repo you cannot overwrite jars once deployed.

Then it must be some Scala/IDE compiler lag or similar problem...
Thanks for helping me exclude this, I will keep on trying other stuff.
Sebastian


┌─(sebastian@sl:pts/8)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~/svn/NLP2RDF/ontologies)─┐
└─(19:18:%)── ls -la 
/home/sebastian/.m2/repository/org/nlp2rdf/ontologies/persistence.uni-leipzig.org/2.0.0/
insgesamt 72
drwxrwxr-x 2 sebastian sebastian 4096 Aug 19 19:18 .
drwxrwxr-x 5 sebastian sebastian 4096 Aug 19 19:16 ..
-rw-rw-r-- 1 sebastian sebastian 40547 Aug 19 19:18 
persistence.uni-leipzig.org-2.0.0.jar
-rw-rw-r-- 1 sebastian sebastian 4271 Aug 19 19:18 
persistence.uni-leipzig.org-2.0.0.pom
-rw-rw-r-- 1 sebastian sebastian 13572 Aug 19 19:18 
persistence.uni-leipzig.org-2.0.0-sources.jar

┌─(sebastian@sl:pts/8)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~/svn/NLP2RDF/ontologies)─┐
└─(19:19:%)── ls -la 
/home/sebastian/.m2/repository/org/nlp2rdf/ontologies/persistence.uni-leipzig.org/2.0.0/
insgesamt 244
drwxrwxr-x 2 sebastian sebastian 4096 Aug 19 19:18 .
drwxrwxr-x 5 sebastian sebastian 4096 Aug 19 19:16 ..
-rw-rw-r-- 1 sebastian sebastian 219948 Aug 19 19:21 
persistence.uni-leipzig.org-2.0.0.jar
-rw-rw-r-- 1 sebastian sebastian 4003 Aug 19 19:21 
persistence.uni-leipzig.org-2.0.0.pom
-rw-rw-r-- 1 sebastian sebastian 13572 Aug 19 19:21 
persistence.uni-leipzig.org-2.0.0-sources.jar


Am 19.08.2013 19:01, schrieb Jona Christopher Sahnwaldt:
> On 19 August 2013 18:37, Sebastian Hellmann
> <[email protected]> wrote:
>> Well the technical difference is that running mvn install while having a
>> -SNAPSHOT version makes Maven overwrite the files in ~/.m2/repository ...
>> Otherwise Maven can not touch versioned files.
> Every time I run mvn install, Maven overwrites the DBpedia files in
> ~/.m2/repository. No problem.
>
> Also works with other modules. To check this, I downloaded the sources
> of a module I had already installed (commons-logging 1.1.1) and ran
> mvn clean install. Maven created several new JARs and overwrote the
> old files in ~/.m2/repository that had been downloaded from the repo.
>
> I guess the problem you have is not really caused by the SNAPSHOT
> version. Maybe it's just that the file permissions are wrong? Did you
> copy the repository files from another user?
>
> Cheers,
> JC
>
>> So I guess moving to 3.10-SNAPHOT is fine.
>>
>> All the best,
>> Sebastian
>>
>> Am 19.08.2013 16:47, schrieb Jona Christopher Sahnwaldt:
>>
>>> Hi Sebastian,
>>>
>>> I think there's no particular reason. Just lazyness. :-) I guess it
>>> doesn't matter much because DBpedia is not (yet) in the central Maven
>>> repo.
>>>
>>> Anyway, we can change it, and we probably should. I think the version
>>> should be 3.10-SNAPSHOT now because 3.9 is done and the SNAPSHOT
>>> version is supposed to be a pre-release version, if I'm not mistaken.
>>>
>>> Cheers,
>>> JC
>>>
>>>
>>> On 19 August 2013 16:33, Sebastian Hellmann
>>> <[email protected]> wrote:
>>>> Hi all,
>>>> was there a particular reason to have
>>>>
>>>>     <version>3.8</version>
>>>>
>>>> in Maven? Why not "3.8-SNAPSHOT"?
>>>>
>>>> All the best,
>>>> Sebastian
>>>>
>>>> --
>>>> Dipl. Inf. Sebastian Hellmann
>>>> Department of Computer Science, University of Leipzig
>>>> Events:
>>>> * NLP & DBpedia 2013 (http://nlp-dbpedia2013.blogs.aksw.org, Extended
>>>> Deadline: *July 18th*)
>>>> * LSWT 23/24 Sept, 2013 in Leipzig (http://aksw.org/lswt)
>>>> Venha para a Alemanha como PhD: http://bis.informatik.uni-leipzig.de/csf
>>>> Projects: http://nlp2rdf.org , http://linguistics.okfn.org ,
>>>> http://dbpedia.org/Wiktionary , http://dbpedia.org
>>>> Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
>>>> Research Group: http://aksw.org
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>>>> It's a free troubleshooting tool designed for production.
>>>> Get down to code-level detail for bottlenecks, with <2% overhead.
>>>> Download for free and get started troubleshooting in minutes.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Dbpedia-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>
>>
>> --
>> Dipl. Inf. Sebastian Hellmann
>> Department of Computer Science, University of Leipzig
>> Events:
>> * NLP & DBpedia 2013 (http://nlp-dbpedia2013.blogs.aksw.org, Extended
>> Deadline: *July 18th*)
>> * LSWT 23/24 Sept, 2013 in Leipzig (http://aksw.org/lswt)
>> Venha para a Alemanha como PhD: http://bis.informatik.uni-leipzig.de/csf
>> Projects: http://nlp2rdf.org , http://linguistics.okfn.org ,
>> http://dbpedia.org/Wiktionary , http://dbpedia.org
>> Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
>> Research Group: http://aksw.org


-- 
Dipl. Inf. Sebastian Hellmann
Department of Computer Science, University of Leipzig
Events:
* NLP & DBpedia 2013 (http://nlp-dbpedia2013.blogs.aksw.org, Extended 
Deadline: *July 18th*)
* LSWT 23/24 Sept, 2013 in Leipzig (http://aksw.org/lswt)
Venha para a Alemanha como PhD: http://bis.informatik.uni-leipzig.de/csf
Projects: http://nlp2rdf.org , http://linguistics.okfn.org , 
http://dbpedia.org/Wiktionary , http://dbpedia.org
Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
Research Group: http://aksw.org

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to