Hi,
I set up the DVSL site. First thing: Claude, can you please make sure
that your umask is set to "002"? I had to change the permissions on the
trees under ~velocity because I could not update the tree as a regular
user? Thanks.
I removed the junit 4.3.1 stuff from the mirror directory. This mirror
is not actually intended to contain sources but is a maven quirk to make
sure that "central" is never accessed.
If dependencies are missing, here is how I update the
~velocity/.m2/repository:
I enter the deploy/<site> directory and run "mvn site". Maven now
downloads all the required dependencies but not into this repository but
into my local (~henning/.m2/repository).
Afterwards I run the build scripts and copy all missing dependencies out
of my local repo into the ~velocity repo. By copying the whole
directories, I also copy all of the required POMs etc:
cp -r /home/henning/.m2/repository/junit/junit/4.3.1
~velocity/.m2/repository/junit/junit/
etc...
I also updated the basic site structure (src/site) and the pom of DVSL
to be similar to Anakia and Texen. It now produces all the nice reports.
=:-)
A final question about junit 4.3.1: Is that intentional? Junit 4 is Java
1.5 only; did you just "take the latest" or do you actually plan on
using Java 5 only and Junit 4 for DVSL?
Best regards
Henning
On Mon, 2007-05-21 at 01:53 +0200, Claude Brisson wrote:
> I tried to setup a build_velocity_dvsl_site.sh script on velocity.zones,
> but maven isn't happy koz it tries to download dependencies from a local
> mirror which is and remains empty (log copy pasted at the end of the
> mail).
>
> Not being a maven expert, I don't really know what to do from here,
> except putting the site online manually.
>
> Btw, I'm not sure I'll ever be a maven fan - a bunch of perl or python
> scripts would seems more appropriate to me for a good inter-project
> glue. Gump is pretty cool as is. And the so-called object oriented
> approach looks rather wicked when it comes to something so opaque that
> all projects using it prefer to use standard maven templates rather than
> diving into internals of the pom.xml to try to customize them. I never
> thought normalization could be a side-effect... Isn't this project
> suffering of some kind of Babel syndrom? Well, only a personnal point of
> view...
>
> Claude
>
>
> [...]
> Downloading:
> file:///export/home/velocity/mirror/junit/junit/4.3.1/junit-4.3.1.pom
> Downloading:
> file:///export/home/velocity/mirror/commons-lang/commons-lang/2.3/commons-lang-2.3.pom
> Downloading:
> file:///export/home/velocity/mirror/jaxen/jaxen/1.1.1/jaxen-1.1.1.pom
> Downloading: file:///export/home/velocity/mirror/dom4j/dom4j/1.6/dom4j-1.6.pom
> Downloading:
> file:///export/home/velocity/mirror/crimson/crimson/1.1.3/crimson-1.1.3.pom
> Downloading:
> file:///export/home/velocity/mirror/crimson/crimson/1.1.3/crimson-1.1.3.jar
> Downloading: file:///export/home/velocity/mirror/dom4j/dom4j/1.6/dom4j-1.6.jar
> Downloading:
> file:///export/home/velocity/mirror/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar
> Downloading:
> file:///export/home/velocity/mirror/junit/junit/4.3.1/junit-4.3.1.jar
> Downloading:
> file:///export/home/velocity/mirror/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) crimson:crimson:jar:1.1.3
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=crimson -DartifactId=crimson \
> -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.dvsl:dvsl:pom:1.0-SNAPSHOT
> 2) crimson:crimson:jar:1.1.3
>
> 2) dom4j:dom4j:jar:1.6
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=dom4j -DartifactId=dom4j \
> -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.dvsl:dvsl:pom:1.0-SNAPSHOT
> 2) dom4j:dom4j:jar:1.6
>
> 3) jaxen:jaxen:jar:1.1.1
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=jaxen -DartifactId=jaxen \
> -Dversion=1.1.1 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.dvsl:dvsl:pom:1.0-SNAPSHOT
> 2) jaxen:jaxen:jar:1.1.1
>
> 4) junit:junit:jar:4.3.1
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=junit -DartifactId=junit \
> -Dversion=4.3.1 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.dvsl:dvsl:pom:1.0-SNAPSHOT
> 2) junit:junit:jar:4.3.1
>
> 5) commons-lang:commons-lang:jar:2.3
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=commons-lang
> -DartifactId=commons-lang \
> -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.dvsl:dvsl:pom:1.0-SNAPSHOT
> 2) commons-lang:commons-lang:jar:2.3
>
> ----------
> 5 required artifacts are missing.
>
> for artifact:
> org.apache.dvsl:dvsl:pom:1.0-SNAPSHOT
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Henning P. Schmiedehausen -- [EMAIL PROTECTED] | J2EE, Linux,
|gls
91054 Buckenhof, Germany -- +49 9131 506540 | Apache person |eau
Open Source Consulting, Development, Design | Velocity - Turbine guy |rwc
|m k
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH - RG Fuerth, HRB 7350 |a s
Sitz der Gesellschaft: Buckenhof. Geschaeftsfuehrer: Henning Schmiedehausen |n
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]