You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Erez Nahir <er...@gmail.com> on 2007/01/22 19:51:24 UTC

Dynamic links in Maven2 site - how to provide runtime properties to site.xml

Hi,

I would like to create "Download" link from my site, the issue I'm 
having is that the link is generated during the build and contains a 
timestamp.
In my project's site.xml I have something like:
<menu name="Downloads">
      <item name="RPM" href="<url>/${timestamp}/rpm/"/>
      <item name="Zip" href="<url>/${timestamp}/xip/"/>
</menu>

I'm not sure if that's the proper way and have not found any 
document/example.

Is it possible to pass properties to the site.xml?
Any other way to support dynamic links?

Thanks,
Erez.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: M2, Junit 4.1 - Test names

Posted by Dennis Lundberg <de...@apache.org>.
Lageson,Thomas M wrote:
> I have Maven 2 working with Junit 4.1 using the surefire 2.3-SNAPSHOT.
> The only thing that isn't working as expected is that the test classes
> need to have a name that ends in Test (e.g. MyAppTest.java).  Having
> names like MyAppTest1.java or MyApp.java means that Maven can't seem to
> recognize that as a test class.  Junit 4.1 doesn't have this requirement
> or expectation for the test name.
> 
> Are other people seeing this behavior?
> 
> - Tom

This is the default behavior of the surefire-plugin. Read more about 
inclusion and exclusions here:

 
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


M2, Junit 4.1 - Test names

Posted by "Lageson,Thomas M" <TL...@travelers.com>.
I have Maven 2 working with Junit 4.1 using the surefire 2.3-SNAPSHOT.
The only thing that isn't working as expected is that the test classes
need to have a name that ends in Test (e.g. MyAppTest.java).  Having
names like MyAppTest1.java or MyApp.java means that Maven can't seem to
recognize that as a test class.  Junit 4.1 doesn't have this requirement
or expectation for the test name.

Are other people seeing this behavior?

- Tom



==============================================================================
This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED.  If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system.

==============================================================================
The St. Paul Travelers e-mail system made this annotation on 01/22/07, 14:14:45.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org