Re: Apache commons enums question

2006-06-08 Thread namartin

OK, thanks, the following worked:

  commons-lang
  commons-lang
  2.1




Alexandre Poitras wrote:
> 
> Enums package is there only since version 2.1 (before it was 'enum').
> So just change your dependency version to 2.1 and everything should
> work.
> 
> On 6/8/06, namartin <[EMAIL PROTECTED]> wrote:
>>
>> 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:
>> "
>>   commons-lang
>>   commons-lang
>>   2.0
>> "
>>
>> 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=/lang-current.zip"
>> command to load it into my local repository and then including it in the
>> project pom using:
>> "
>>   org.apache.commons
>>   lang
>>   2.1
>> "
>>
>> 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]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
--
View this message in context: 
http://www.nabble.com/Apache-commons-enums-question-t1758684.html#a4784276
Sent from the Maven - Users forum at Nabble.com.


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



Re: Apache commons enums question

2006-06-08 Thread Alexandre Poitras

And erase the file you just have installed or Maven won't download it.

On 6/8/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

Enums package is there only since version 2.1 (before it was 'enum').
So just change your dependency version to 2.1 and everything should
work.

On 6/8/06, namartin <[EMAIL PROTECTED]> wrote:
>
> 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:
> "
>   commons-lang
>   commons-lang
>   2.0
> "
>
> 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=/lang-current.zip"
> command to load it into my local repository and then including it in the
> project pom using:
> "
>   org.apache.commons
>   lang
>   2.1
> "
>
> 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]
>
>



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



Re: Apache commons enums question

2006-06-08 Thread Alexandre Poitras

Enums package is there only since version 2.1 (before it was 'enum').
So just change your dependency version to 2.1 and everything should
work.

On 6/8/06, namartin <[EMAIL PROTECTED]> wrote:


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:
"
  commons-lang
  commons-lang
  2.0
"

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=/lang-current.zip"
command to load it into my local repository and then including it in the
project pom using:
"
  org.apache.commons
  lang
  2.1
"

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]




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



Apache commons enums question

2006-06-08 Thread namartin

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:
"
  commons-lang
  commons-lang
  2.0
"

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=/lang-current.zip" 
command to load it into my local repository and then including it in the
project pom using:
"
  org.apache.commons
  lang
  2.1
"

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]