o be more lenient when looking for the properties file. in my case i am debugging completely from the eclipse workspace and i don't want to have to produce the JAR everytime i want to execute maven. these properties files should be created as part of the generate resources phase and not buried in the maven archiver and performed during JAR production. bad mixing of concerns.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701663 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-10-04 16:30:55 +00:00
parent d17fd4ca86
commit fa17cae65a
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public class DefaultRuntimeInformation
if ( resourceAsStream == null )
{
throw new IllegalStateException( "Unable to find Maven properties in classpath: " + MAVEN_PROPERTIES );
return new ApplicationInformation( new DefaultArtifactVersion( version ), builtOn );
}
properties.load( resourceAsStream );