On 7/11/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
It's (somehow) related to the <distributionManagement>/<site>/<url> in
the pom.  It took me a few tries to get the links on the Tiles 2 site
to work.  If the directory name on the site matches the artifactId in
the pom, it works as designed.  If not, you have to add <url> elements
to force values at different levels.

The links in the assembly I'm generating locally are different than
the links in the 4 July SNAPSHOT.

In my snapshots, links that begin with "http://struts.apache.org/"; are
being forced to relative links. (The "www.apache.org" link is okay.)
In the 4 Jul snapshot, all the absolute references stayed absolute. It
feels like a feature that I need to turn off.

If I change the struts1/pom.xml

-   <url>http://struts.apache.org</url>
+  <url>http://struts.apache.org/index.html</url>

Then, we're OK. It leaves the other "http://struts.apache.org"; alone.

BUT, for the 4 Jul snapshot we didn't need to do this, so why do I
have to do it now?

(I actually like doing it, since it's our URI, so we can afford to be
specific, and being specific saves a redirect. But why is my snapshot
different?)

For now, I will mop up whatever else I can and spend the rest of the
day boning up on Maven 2. I'd like to spend the rest of the week
working on Struts 2, but I can get back to this on Sunday.

In the meantime, I'll post updated snapshots later today, including
separate downloads for docs, src, and webapps (along with the "all"
and lib, that we already had).

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to