mirror of https://github.com/apache/maven.git
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:
parent
d17fd4ca86
commit
fa17cae65a
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue