Don't be alarmed, this is intended behavior with the language packs.
Likewise, until you run "ant update" nothing you do in maven will have
been pushed into your installation.
Language packs are version ranged [1.5.0,1.6.0) so that as they are
improved (new language/locales added) and corrected your installation
will get those improvements just by running package.
In fact, this is the real purpose/behavior of using Maven, that you
can get the changes the dspace commiters intend to distribute to the
community with little to no effort.
The language packs are intended to be backward compatible (i.e. no
files/properties should ever be removed in a maintenance branch)
If you want to force your build back to a specific version of the
language packs change the version allowed add it to your
[dspace-source]/pom.xml in the dependencyManagement section. Likewise
this applies for any other other dependency in maven, you can mediate
which version is used by adjusting it in this section or in the poms
themselves.
Mark
On Thu, Apr 23, 2009 at 6:35 PM, Gary Browne
wrote:
> But wait!!! We are on 1.5.0!!!
>
> I started a "mvn clean package" on our production instance of DSpace. As
> it ran, I noticed that it was downloading certain pieces of information
> relating to DSpace 1.5.2. Naturally, I panicked and killed the job.
>
> There was a dspace-api-lang-1.5.2.1.pom and dspace-api-lang-1.5.2.1.jar.
> See screenshot below:
>
> :$ mvn clean package
> .
> .
> .
>
> [INFO]
>
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /home/dspace/dspace-1.5.0-src-release/dspace-api/target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 254 source files to
> /home/dspace/dspace-1.5.0-src-release/dspace-api/target/classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar:
> /home/dspace/dspace-1.5.0-src-release/dspace-api/target/dspace-api-1.5.0
> .jar
> [INFO]
>
> [INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
> [INFO] task-segment: [clean, package]
> [INFO]
>
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /home/dspace/dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-api/targ
> et
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> central
> Downloading:
> http://repo1.maven.org/maven2/org/dspace/dspace-api-lang/1.5.2.1/dspace-
> api-lang-1.5.2.1.pom
> 10K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/dspace/dspace-api-lang/1.5.2.1/dspace-
> api-lang-1.5.2.1.jar
> 590K downloaded
> [INFO] [compiler:compile]
> [INFO] Compiling 160 source files to
> /home/dspace/dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-api/targ
> et/classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar:
> /home/dspace/dspace-1.5.0-src-release/dspace-xmlui/dspace-xmlui-api/targ
> et/dspace-xmlui-api-1.5.0.jar
> [INFO]
>
>
> Can anyone explain what's going on here (are we forced to automatically
> upgrade to 1.5.2??) and advise whether it is safe to continue?
>
> Thanks
> Gary
>
>
> Gary Browne
> Development Programmer
> Library IT Services
> University of Sydney
> ph: 9351-5946
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
Mark R. Diggory
http://purl.org/net/mdiggory/homepage - Bio
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/