I am trying to work out the dependencies of a project that is being converted
to use Maven.  The project uses org.apache.commons.lang.enums.  When I try
to compile using Maven I get an error saying "package
org.apache.commons.lang.enums does not exist", which seems to indicate that
there is no plugin loaded for the package.  However, I cannot find a Maven
plugin for the enums.  I have tried including the dependency to the
"commons-lang" plugin like this:
"    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.0</version>
    </dependency>"

I have even tried downloading the commons.lang zip file and using:
 "mvn install:install-file -DgroupId=org.apache.commons -DartifactId=lang
-Dversion=2.1 -Dpackaging=jar -Dfile=<path to file>/lang-current.zip" 
command to load it into my local repository and then including it in the
project pom using:
"<dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>lang</artifactId>
      <version>2.1</version>
    </dependency>"

These seem to make Maven aware of the org.apache.commons.lang package but
not the org.apache.commons.lang.enums package.  

How do I make Maven aware of the org.apache.commons.lang.enums package so I
can compile the project?  Do I have to make a plugin for the enums package
myself?  Why can't Maven see the enums package even though it can see the
lang package that contains it?
--
View this message in context: 
http://www.nabble.com/Apache-commons-enums-question-t1758684.html#a4783985
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to