You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/04/16 17:15:46 UTC
cvs commit: maven-new/src/java/org/apache/maven DefaultMaven.java
jvanzyl 2003/04/16 08:15:46
Modified: src/java/org/apache/maven DefaultMaven.java
Log:
o Added an empty constructor. We will need to find another way to get the
ClassWorld into the model.
Revision Changes Path
1.3 +10 -5 maven-new/src/java/org/apache/maven/DefaultMaven.java
Index: DefaultMaven.java
===================================================================
RCS file: /home/cvs/maven-new/src/java/org/apache/maven/DefaultMaven.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DefaultMaven.java 16 Apr 2003 12:39:28 -0000 1.2
+++ DefaultMaven.java 16 Apr 2003 15:15:46 -0000 1.3
@@ -189,6 +189,11 @@
// Constructors
// ----------------------------------------------------------------------
+ /** Default Constructor . */
+ public DefaultMaven()
+ {
+ }
+
/** Default Constructor. */
public DefaultMaven( ClassWorld classWorld, Map messages )
{
@@ -215,10 +220,10 @@
public void service( ServiceManager serviceManager )
throws ServiceException
{
- projectBuilder = (ProjectBuilder) serviceManager.lookup( ProjectBuilder.ROLE );
- dependencyVerifier = (DependencyVerifier) serviceManager.lookup( DependencyVerifier.ROLE );
- localSettingsVerifier = (LocalSettingsVerifier) serviceManager.lookup( LocalSettingsVerifier.ROLE );
- pluginManager = (PluginManager) serviceManager.lookup( PluginManager.ROLE );
+ //projectBuilder = (ProjectBuilder) serviceManager.lookup( ProjectBuilder.ROLE );
+ //dependencyVerifier = (DependencyVerifier) serviceManager.lookup( DependencyVerifier.ROLE );
+ //localSettingsVerifier = (LocalSettingsVerifier) serviceManager.lookup( LocalSettingsVerifier.ROLE );
+ //pluginManager = (PluginManager) serviceManager.lookup( PluginManager.ROLE );
}
/** Perform pre-build initialization.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Include/exclude in ejb plugin
Posted by Florin Vancea <fv...@maxiq.ro>.
I would find useful (yes, for my own selfish purposes :) ) the
includes/excludes mechanism over maven.ejb.src directory.
That is, I have to set maven.ejb.src to a dir where there are also other
files I do not want to put in the ejb jar (jDeveloper is the reason, if you
ask).
A mechanism to exclude some files from being copied into the ejb jar would
make me very happy.
Well, actually I _am_ happy, since I did the adjustment in my copy of Maven.
I even tried to prepare a patch for that adjustment in the hope it gets into
the "official" ejb plugin, but I'm stuck with the EOL issue.
To my shame, I could not produce a correct patch for
...../plugins-build/ejb/plugin.properties, because the version in HEAD has
the line endings "the other way" compared to my version.
If you think such non-disturbing feature (i.e includes/excludes) would be a
plus and want my patch, please tell me how to overcome the line ending issue
and I'll post the patch to the list.
Florin
P.S. I'm on Windows, command-line cvs.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org