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
<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 -
<repositories>
<repository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
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]