Re: Maven-weblogic plugin: Unable to understand error

2007-07-21 Thread Scott Ryan
You installed the wrong groupid for the webservices jar.  It should  
be weblogic not webservices.  no poms needed if you uploaded using  
the instructions in the website.


Scott
On Jul 20, 2007, at 6:56 AM, Dennis Lundberg wrote:

There doesn't seem to be be any pom for weblogic available in the  
central repository (or your local repository). You probably need to  
install that yourself, when you install the weblogic.jar.  
Intructions on how to do this can be found here:


http://maven.apache.org/plugins/maven-install-plugin/examples/ 
generic-pom-generation.html



Vaidya, Supriya A (US - Chicago) wrote:

Hi:
 I am trying to use the weblogic-maven plugin to deploy my  
application to weblogic. Here are the steps that I followed:

 1. I installed the external jars that my application uses.
2. installed the weblogic jars
 mvn install:install-file -Dfile=C:\bea\weblogic92\server\lib 
\weblogic.jar -DgroupId=weblogic -DartifactId=weblogic - 
Dversion=9.0 -Dpackaging=jar
 mvn install:install-file -Dfile=C:\bea\weblogic92\server\lib 
\webservices.jar -DgroupId=webservices -DartifactId=webservices - 
Dversion=9.0 -Dpackaging=jar

 3. installed the weblogic-maven jar
mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar - 
DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0 - 
Dpackaging=jar
 4. ran the clean and compile commands: mvn clean, mvn compile -  
these ran without any errors
 5. then ran the mvn weblogic:deploy command, but get teh  
following error -

 [INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'weblogic'.
[INFO]  
- 


---
[INFO] Building creditdecision
[INFO]task-segment: [weblogic:deploy]
[INFO]  
- 


---
Downloading: http://repository.codehaus.org/weblogic/weblogic/9.0/ 
weblogic-9.0.p

om
Downloading: http://repo1.maven.org/maven2/weblogic/weblogic/9.0/ 
weblogic-9.0.po

m
Downloading: http://repo1.maven.org/maven2/weblogic/weblogic/9.0/ 
weblogic-9.0.po

m
[INFO]  
- 
---

[ERROR] BUILD ERROR
[INFO]  
- 
---

[INFO] Failed to resolve artifact.
 No versions are present in the repository for the artifact with a  
range [9.0,)

  weblogic:webservices:jar:null
 from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org repository.codehaus.org/>),

  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.repository.codehaus.org snapshots.repository.codehaus.org/>)
 [INFO]  
- 
---

[INFO] For more information, run Maven with the -e switch
[INFO]  
- 
---

[INFO] Total time: 1 second
[INFO] Finished at: Thu Jul 19 13:59:46 CDT 2007
[INFO] Final Memory: 2M/4M
[INFO]  
- 
---

 I tried with 9.1, 9.2... what am I doing wrong?
 I even tried adding the following in my pom.xml -


  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
  

  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
  the error persists however...
 Attached is the POM that I am using, modified to remove certain  
sensitive information... could someone please help?!
This message (including any attachments) contains confidential  
information intended for a specific individual and purpose, and is  
protected by law.  If you are not the intended recipient, you  
should delete this message. Any disclosure, copying, or  
distribution of this message, or the taking of any action based on  
it, is strictly prohibited. [v.E.1]
- 
---

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



--
Dennis Lundberg

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



Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]




Re: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Dennis Lundberg

Vaidya, Supriya A (US - Chicago) wrote:

Thank you very much :) This works great... In trying to understand this
however - why weblogic:webservices?


Your error message led me to it:

No versions are present in the repository for the artifact with a range 
[9.0,)

weblogic:webservices:jar:null

The "[9.0,)" part is Maven's syntax of a version range. This one means:
  "get me version 9.0 or higher"

Secondly "weblogic:webservices:jar:null" is the full artifact syntax 
used in Maven. It is divided into parts separated by colons:

  groupId:artifactId:packaging:version

In your case it is saying:
  "get me the webservices jar from the weblogic project"


Could you point me to some
documentation (to save your time!) on what the implications of
group/artifact IDs are? 


The getting started guide has some good info on this topic:
  http://maven.apache.org/guides/getting-started/index.html




Supriya A Vaidya 
Technology Integration 
Deloitte Consulting LLP 
Tel: +1 312 486 4835 
Fax: +1 312 247 4835
Mobile: + 1 414 736 8157 
www.deloitte.com 



-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 20, 2007 9:19 AM

To: Maven Users List
Subject: Re: Maven-weblogic plugin: Unable to understand error

Judging by the error message you should run this:

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=weblogic -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar -DgeneratePom=true

Notice that I changed the groupId to "weblogic".

Vaidya, Supriya A (US - Chicago) wrote:

Hi:

I ran the following commands, after cleaning up my repository - 


mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar -DgeneratePom=true

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar -DgeneratePom=true

Then compiled (successfully) and then ran the mvn weblogic:deploy
command - I still get the same error:

[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a

range

[9.0,)
  weblogic:webservices:jar:null

from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.repository.codehaus.org)

 


-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 20, 2007 7:57 AM

To: Maven Users List
Subject: Re: Maven-weblogic plugin: Unable to understand error

There doesn't seem to be be any pom for weblogic available in the 
central repository (or your local repository). You probably need to 
install that yourself, when you install the weblogic.jar. Intructions

on

how to do this can be found here:



http://maven.apache.org/plugins/maven-install-plugin/examples/generic-po

m-generation.html


Vaidya, Supriya A (US - Chicago) wrote:

Hi:
 
I am trying to use the weblogic-maven plugin to deploy my application
to 

weblogic. Here are the steps that I followed:
 
1. I installed the external jars that my application uses.

2. installed the weblogic jars
 
mvn install:install-file 
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic 
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar
 
mvn install:install-file 
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar 
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0

-Dpackaging=jar
 
3. installed the weblogic-maven jar
mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar 
-DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0

-Dpackaging=jar
 
4. ran the clean and compile commands: mvn clean, mvn compile - these



ran without any errors
 
5. then ran the mvn weblogic:deploy command, but get teh following

error -
 
[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'weblogic'.
[INFO] 




-

---
[INFO] Building creditdecision
[INFO]task-segment: [weblogic:deploy]
[INFO] 




-

---
Downloading: 
http://repository.codehaus.org/weblogic/weblogic/9.0/weblogic-9.0.p

om
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po

m
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po

m
[INFO] 




[ERROR] BUILD ERROR
[INFO] 




[INFO] Failed to resolve artifact.
 
No versions are present in the repository for the artifact with a
range 

[9.0,)
  weblogic:webservices:jar:null
 
from the specified remote repositories:
  codehaus.org (http://repository.code

RE: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Vaidya, Supriya A (US - Chicago)
Thank you very much :) This works great... In trying to understand this
however - why weblogic:webservices? Could you point me to some
documentation (to save your time!) on what the implications of
group/artifact IDs are? 


Supriya A Vaidya 
Technology Integration 
Deloitte Consulting LLP 
Tel: +1 312 486 4835 
Fax: +1 312 247 4835
Mobile: + 1 414 736 8157 
www.deloitte.com 


-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 20, 2007 9:19 AM
To: Maven Users List
Subject: Re: Maven-weblogic plugin: Unable to understand error

Judging by the error message you should run this:

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=weblogic -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar -DgeneratePom=true

Notice that I changed the groupId to "weblogic".

Vaidya, Supriya A (US - Chicago) wrote:
> Hi:
> 
> I ran the following commands, after cleaning up my repository - 
> 
> mvn install:install-file
> -Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic
> -DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar -DgeneratePom=true
> 
> mvn install:install-file
> -Dfile=C:\bea\weblogic92\server\lib\webservices.jar
> -DgroupId=webservices -DartifactId=webservices -Dversion=9.0
> -Dpackaging=jar -DgeneratePom=true
> 
> Then compiled (successfully) and then ran the mvn weblogic:deploy
> command - I still get the same error:
> 
> [INFO] Failed to resolve artifact.
> 
> No versions are present in the repository for the artifact with a
range
> [9.0,)
>   weblogic:webservices:jar:null
> 
> from the specified remote repositories:
>   codehaus.org (http://repository.codehaus.org),
>   central (http://repo1.maven.org/maven2),
>   snapshots (http://snapshots.repository.codehaus.org)
> 
>  
> 
> -Original Message-
> From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 20, 2007 7:57 AM
> To: Maven Users List
> Subject: Re: Maven-weblogic plugin: Unable to understand error
> 
> There doesn't seem to be be any pom for weblogic available in the 
> central repository (or your local repository). You probably need to 
> install that yourself, when you install the weblogic.jar. Intructions
on
> 
> how to do this can be found here:
> 
>
http://maven.apache.org/plugins/maven-install-plugin/examples/generic-po
> m-generation.html
> 
> 
> Vaidya, Supriya A (US - Chicago) wrote:
>> Hi:
>>  
>> I am trying to use the weblogic-maven plugin to deploy my application
> to 
>> weblogic. Here are the steps that I followed:
>>  
>> 1. I installed the external jars that my application uses.
>> 2. installed the weblogic jars
>>  
>> mvn install:install-file 
>> -Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic 
>> -DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar
>>  
>> mvn install:install-file 
>> -Dfile=C:\bea\weblogic92\server\lib\webservices.jar 
>> -DgroupId=webservices -DartifactId=webservices -Dversion=9.0
> -Dpackaging=jar
>>  
>> 3. installed the weblogic-maven jar
>> mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar 
>> -DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0
> -Dpackaging=jar
>>  
>> 4. ran the clean and compile commands: mvn clean, mvn compile - these

>> ran without any errors
>>  
>> 5. then ran the mvn weblogic:deploy command, but get teh following
> error -
>>  
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'weblogic'.
>> [INFO] 
>>
>

> -
>> ---
>> [INFO] Building creditdecision
>> [INFO]task-segment: [weblogic:deploy]
>> [INFO] 
>>
>

> -
>> ---
>> Downloading: 
>> http://repository.codehaus.org/weblogic/weblogic/9.0/weblogic-9.0.p
>> om
>> Downloading: 
>> http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po
>> m
>> Downloading: 
>> http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po
>> m
>> [INFO] 
>>
>

>> [ERROR] BUILD ERROR
>> [INFO] 
>>
>

>> [INFO] Failed to resolve artifact.
>>  
>> No versions are present in the repository for the artifact with a
> range 
>> [9.0,)
>>   weblogic:webservices:jar:null
>>  
>> from the specified remote repositories:
>>   codehau

Re: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Dennis Lundberg

Judging by the error message you should run this:

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=weblogic -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar -DgeneratePom=true

Notice that I changed the groupId to "weblogic".

Vaidya, Supriya A (US - Chicago) wrote:

Hi:

I ran the following commands, after cleaning up my repository - 


mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar -DgeneratePom=true

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar -DgeneratePom=true

Then compiled (successfully) and then ran the mvn weblogic:deploy
command - I still get the same error:

[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range
[9.0,)
  weblogic:webservices:jar:null

from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.repository.codehaus.org)

 


-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 20, 2007 7:57 AM

To: Maven Users List
Subject: Re: Maven-weblogic plugin: Unable to understand error

There doesn't seem to be be any pom for weblogic available in the 
central repository (or your local repository). You probably need to 
install that yourself, when you install the weblogic.jar. Intructions on


how to do this can be found here:

http://maven.apache.org/plugins/maven-install-plugin/examples/generic-po
m-generation.html


Vaidya, Supriya A (US - Chicago) wrote:

Hi:
 
I am trying to use the weblogic-maven plugin to deploy my application
to 

weblogic. Here are the steps that I followed:
 
1. I installed the external jars that my application uses.

2. installed the weblogic jars
 
mvn install:install-file 
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic 
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar
 
mvn install:install-file 
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar 
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0

-Dpackaging=jar
 
3. installed the weblogic-maven jar
mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar 
-DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0

-Dpackaging=jar
 
4. ran the clean and compile commands: mvn clean, mvn compile - these 
ran without any errors
 
5. then ran the mvn weblogic:deploy command, but get teh following

error -
 
[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'weblogic'.
[INFO] 



-

---
[INFO] Building creditdecision
[INFO]task-segment: [weblogic:deploy]
[INFO] 



-

---
Downloading: 
http://repository.codehaus.org/weblogic/weblogic/9.0/weblogic-9.0.p

om
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po

m
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po

m
[INFO] 




[ERROR] BUILD ERROR
[INFO] 




[INFO] Failed to resolve artifact.
 
No versions are present in the repository for the artifact with a
range 

[9.0,)
  weblogic:webservices:jar:null
 
from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org 
<http://repository.codehaus.org/>),

  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.repository.codehaus.org 
<http://snapshots.repository.codehaus.org/>)
 

[INFO] 




[INFO] For more information, run Maven with the -e switch
[INFO] 




[INFO] Total time: 1 second
[INFO] Finished at: Thu Jul 19 13:59:46 CDT 2007
[INFO] Final Memory: 2M/4M
[INFO] 



 
I tried with 9.1, 9.2... what am I doing wrong?
 
I even tried adding the following in my pom.xml -



  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
  

  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
 
 
the error persists however...
 
Attached is the POM that I am using, modified to remove certain 
sensitive information... could someone please help?!



This message (including any attachments) contains confidential 
information intended for a specific individual and purpose, and is 
protected by law.  If yo

RE: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Vaidya, Supriya A (US - Chicago)
Hi:

I ran the following commands, after cleaning up my repository - 

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar -DgeneratePom=true

mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar -DgeneratePom=true

Then compiled (successfully) and then ran the mvn weblogic:deploy
command - I still get the same error:

[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range
[9.0,)
  weblogic:webservices:jar:null

from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.repository.codehaus.org)

 

-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 20, 2007 7:57 AM
To: Maven Users List
Subject: Re: Maven-weblogic plugin: Unable to understand error

There doesn't seem to be be any pom for weblogic available in the 
central repository (or your local repository). You probably need to 
install that yourself, when you install the weblogic.jar. Intructions on

how to do this can be found here:

http://maven.apache.org/plugins/maven-install-plugin/examples/generic-po
m-generation.html


Vaidya, Supriya A (US - Chicago) wrote:
> Hi:
>  
> I am trying to use the weblogic-maven plugin to deploy my application
to 
> weblogic. Here are the steps that I followed:
>  
> 1. I installed the external jars that my application uses.
> 2. installed the weblogic jars
>  
> mvn install:install-file 
> -Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic 
> -DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar
>  
> mvn install:install-file 
> -Dfile=C:\bea\weblogic92\server\lib\webservices.jar 
> -DgroupId=webservices -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar
>  
> 3. installed the weblogic-maven jar
> mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar 
> -DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0
-Dpackaging=jar
>  
> 4. ran the clean and compile commands: mvn clean, mvn compile - these 
> ran without any errors
>  
> 5. then ran the mvn weblogic:deploy command, but get teh following
error -
>  
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'weblogic'.
> [INFO] 
>

-
> ---
> [INFO] Building creditdecision
> [INFO]task-segment: [weblogic:deploy]
> [INFO] 
>

-
> ---
> Downloading: 
> http://repository.codehaus.org/weblogic/weblogic/9.0/weblogic-9.0.p
> om
> Downloading: 
> http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po
> m
> Downloading: 
> http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po
> m
> [INFO] 
>

> [ERROR] BUILD ERROR
> [INFO] 
>

> [INFO] Failed to resolve artifact.
>  
> No versions are present in the repository for the artifact with a
range 
> [9.0,)
>   weblogic:webservices:jar:null
>  
> from the specified remote repositories:
>   codehaus.org (http://repository.codehaus.org 
> <http://repository.codehaus.org/>),
>   central (http://repo1.maven.org/maven2),
>   snapshots (http://snapshots.repository.codehaus.org 
> <http://snapshots.repository.codehaus.org/>)
>  
> 
> [INFO] 
>

> [INFO] For more information, run Maven with the -e switch
> [INFO] 
>

> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Jul 19 13:59:46 CDT 2007
> [INFO] Final Memory: 2M/4M
> [INFO] 
>

>  
> I tried with 9.1, 9.2... what am I doing wrong?
>  
> I even tried adding the following in my pom.xml -
> 
> 
>   Codehaus Snapshots
>   http://snapshots.repository.codehaus.org/
>   
> true
>   
>   
> false
>   
> 
>   
>   
> 
>   Codehaus Snapshots
>   http://snapshots.repository.codehaus.org/
>   
> true
>   
>   
> false
>   
> 
>   
>  
>  
> the error persists however...
>  
> Attached is the POM that I am using, modified to remove certain 
> sensitive information... could someo

Re: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Dennis Lundberg
There doesn't seem to be be any pom for weblogic available in the 
central repository (or your local repository). You probably need to 
install that yourself, when you install the weblogic.jar. Intructions on 
how to do this can be found here:


http://maven.apache.org/plugins/maven-install-plugin/examples/generic-pom-generation.html


Vaidya, Supriya A (US - Chicago) wrote:

Hi:
 
I am trying to use the weblogic-maven plugin to deploy my application to 
weblogic. Here are the steps that I followed:
 
1. I installed the external jars that my application uses.

2. installed the weblogic jars
 
mvn install:install-file 
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic 
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar
 
mvn install:install-file 
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar 
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0 -Dpackaging=jar
 
3. installed the weblogic-maven jar
mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar 
-DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0 -Dpackaging=jar
 
4. ran the clean and compile commands: mvn clean, mvn compile - these 
ran without any errors
 
5. then ran the mvn weblogic:deploy command, but get teh following error -
 
[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'weblogic'.
[INFO] 
-

---
[INFO] Building creditdecision
[INFO]task-segment: [weblogic:deploy]
[INFO] 
-

---
Downloading: 
http://repository.codehaus.org/weblogic/weblogic/9.0/weblogic-9.0.p

om
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po

m
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po

m
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Failed to resolve artifact.
 
No versions are present in the repository for the artifact with a range 
[9.0,)

  weblogic:webservices:jar:null
 
from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org 
),

  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.repository.codehaus.org 
)
 

[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 


[INFO] Total time: 1 second
[INFO] Finished at: Thu Jul 19 13:59:46 CDT 2007
[INFO] Final Memory: 2M/4M
[INFO] 

 
I tried with 9.1, 9.2... what am I doing wrong?
 
I even tried adding the following in my pom.xml -



  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
  

  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
 
 
the error persists however...
 
Attached is the POM that I am using, modified to remove certain 
sensitive information... could someone please help?!



This message (including any attachments) contains confidential 
information intended for a specific individual and purpose, and is 
protected by law.  If you are not the intended recipient, you should 
delete this message. 

Any disclosure, copying, or distribution of this message, or the taking 
of any action based on it, is strictly prohibited. [v.E.1]





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



--
Dennis Lundberg

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



Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Vaidya, Supriya A \(US - Chicago\)
Hi:
 
I am trying to use the weblogic-maven plugin to deploy my application to
weblogic. Here are the steps that I followed:
 
1. I installed the external jars that my application uses.
2. installed the weblogic jars
 
mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic
-DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar
 
mvn install:install-file
-Dfile=C:\bea\weblogic92\server\lib\webservices.jar
-DgroupId=webservices -DartifactId=webservices -Dversion=9.0
-Dpackaging=jar
 
3. installed the weblogic-maven jar
mvn install:install-file -Dfile=maven-weblogic-plugin-1.0.0.jar
-DgroupId=web-maven -DartifactId=web-maven -Dversion=1.0 -Dpackaging=jar
 
4. ran the clean and compile commands: mvn clean, mvn compile - these
ran without any errors
 
5. then ran the mvn weblogic:deploy command, but get teh following error
- 
 
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'weblogic'.
[INFO]

-
---
[INFO] Building creditdecision
[INFO]task-segment: [weblogic:deploy]
[INFO]

-
---
Downloading: 
http://repository.codehaus.org/weblogic/weblogic/9.0/weblogic-9.0.p
 
om
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po
 
m
Downloading: 
http://repo1.maven.org/maven2/weblogic/weblogic/9.0/weblogic-9.0.po
 
m
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.
 
No versions are present in the repository for the artifact with a range
[9.0,)
  weblogic:webservices:jar:null
 
from the specified remote repositories:
  codehaus.org (http://repository.codehaus.org
 ),
  central (http://repo1.maven.org/maven2 
),
  snapshots (http://snapshots.repository.codehaus.org
 )
 

[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Thu Jul 19 13:59:46 CDT 2007
[INFO] Final Memory: 2M/4M
[INFO]

 
I tried with 9.1, 9.2... what am I doing wrong?
 
I even tried adding the following in my pom.xml - 


  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
  

  Codehaus Snapshots
  http://snapshots.repository.codehaus.org/
  
true
  
  
false
  

  
 
 
the error persists however...
 
Attached is the POM that I am using, modified to remove certain
sensitive information... could someone please help?! 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  com.credit
  creditdecision
  jar
  1.0-SNAPSHOT
  creditdecision
  http://localhost:7001/

  

  junit
  junit
  3.8.1
  test

	
  log4j
  log4j
  1.2.12
  compile


	
  cactus
  cactus-maven
  1.6
  compile


	
  com.infrastructure
  infrastructure
  1.0
  compile


	
  com.cares
  caresAccess
  1.0
  compile


	
  com.infra
  tuxedo
  1.0
  provided


	
  weblogic
  weblogic
  9.0
  compile


	
  webservices
  webservices
  9.0
  compile


	
		web-maven
		web-maven
		1.0
		compile
	

	
  org.springframework
  spring
  1.0
  compile

  
  


   
  src/main/properties/environment-dev.properties


  
src/main/resources
true
  

 
   

  org.apache.maven.plugins
  maven-compiler-plugin
  
1.5
1.5
  

	
org.codehaus.mojo
weblogic-maven-plugin
2.9.0-SNAPSHOT

  localhost
  7001
  http
  admin
  weblogic
  false
  false