JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
com.opencloud.maven.plugins:maven-opencloud-jainslee-plugin:
Forum Index » JAIN SLEE Discussions
Author Message
goli_opencloud


Joined: 06/01/2010 23:27:03
Messages: 3
Offline

Hi JSLEEians,
I tried to run and deploy the examples.i downladed through SVN.its fine . But i need to deploy using maven, i got Build error

[INFO] Scanning for projects...
[INFO] artifact com.opencloud.maven.plugins:maven-opencloud-jainslee-plugin: che
cking for updates from central
[WARNING] repository metadata for: 'artifact com.opencloud.maven.plugins:maven-o
pencloud-jainslee-plugin' could not be retrieved from repository: central due to
an error: Error transferring file: repo1.maven.org
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'com.opencloud.maven.plugins:maven-opencloud-jainslee-plugin'
does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Wed Jan 06 15:36:06 GMT+05:30 2010
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------


Any Body have a solution , plz send me
Regards,
suresh kamma
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Suresh,

Did you add the OpenCloud's Maven repository to your Maven settings? Have a look here and here.

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
goli_opencloud


Joined: 06/01/2010 23:27:03
Messages: 3
Offline

Hi Bruno ,
what ever you give setting.xml and i put in maven config folder , i used , i am not able to connect repository, i added setting.xml file also. plz give me solution
C:\OpenCloudExamples\activityattachecho>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
Downloading: http://developer.opencloud.com/maven2/public/org/apache/maven/plugi
ns/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
[INFO] Unable to find resource 'org.apache.maven.plugins:maven-clean-plugin:pom:
2.2' in repository opencloud-public (http://developer.opencloud.com/maven2/publi
c)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-
plugin/2.2/maven-clean-plugin-2.2.pom

Downloading: http://developer.opencloud.com/maven2/public/org/apache/maven/plugi
ns/maven-plugins/10/maven-plugins-10.pom
[INFO] Unable to find resource 'org.apache.maven.plugins:maven-plugins:pom:10' i
n repository opencloud-public (http://developer.opencloud.com/maven2/public)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin
s/10/maven-plugins-10.pom

Downloading: http://developer.opencloud.com/maven2/public/org/apache/maven/maven
-parent/7/maven-parent-7.pom
[INFO] Unable to find resource 'org.apache.maven:maven-parent:pom:7' in reposito
ry opencloud-public (http://developer.opencloud.com/maven2/public)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven
-parent-7.pom

Downloading: http://developer.opencloud.com/maven2/public/org/apache/maven/plugi
ns/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar
[INFO] Unable to find resource 'org.apache.maven.plugins:maven-clean-plugin:mave
n-plugin:2.2' in repository opencloud-public (http://developer.opencloud.com/mav
en2/public)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-
plugin/2.2/maven-clean-plugin-2.2.jar

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager getting plugin 'org.apache.maven.plu
gins:maven-clean-plugin': Plugin 'org.apache.maven.plugins:maven-clean-plugin:2.
2' has an invalid descriptor:
1) Plugin's descriptor contains the wrong group ID: com.opencloud.maven.plugins
2) Plugin's descriptor contains the wrong artifact ID: maven-opencloud-jainslee-
plugin
3) Plugin's descriptor contains the wrong version: 0.3
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue Jan 12 16:55:30 GMT+05:30 2010
[INFO] Final Memory: 2M/5M
[INFO] ------------------------------------------------------------------------
 Filename settings.xml [Disk] Download
 Description
 Filesize 10 Kbytes
 Downloaded:  15 time(s)

bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Note that the name of the file is settings.xml (with the s).

The attached file is the default configuration file.

As you can see in the template file of the documentation, you need to define a pluginGroup and the repositories for projects and plugins. Have a quick look at the Maven documentation here for more information.

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
galaaz


Joined: 29/09/2011 04:09:37
Messages: 37
Offline

Hi i'm having a error



[INFO] Unable to find resource 'com.opencloud:events:jar:1.1' in repository maven2-repository.dev.java.net (http://download.java.net/maven/2)
Downloading: http://download.java.net/maven/1/com.opencloud/jars/events-1.1.jar
[INFO] Unable to find resource 'com.opencloud:events:jar:1.1' in repository maven-repository.dev.java.net (http://download.java.net/maven/1)
Downloading: http://developer.opencloud.com/maven2/public/com/opencloud/events/1.1/events-1.1.jar
[INFO] Unable to find resource 'com.opencloud:events:jar:1.1' in repository opencloud-public (http://developer.opencloud.com/maven2/public)
Downloading: http://repo1.maven.org/maven2/com/opencloud/events/1.1/events-1.1.jar
[INFO] Unable to find resource 'com.opencloud:events:jar:1.1' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.opencloud:events:jar:1.1

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.opencloud -DartifactId=events -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.opencloud -DartifactId=events -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.opencloud:ratype:jainslee-ratype-jar:1.1
2) com.opencloud:events:jar:1.1

----------
1 required artifact is missing.

for artifact:
com.opencloud:ratype:jainslee-ratype-jar:1.1

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
opencloud-public (http://developer.opencloud.com/maven2/public),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
maven-repository.dev.java.net (http://download.java.net/maven/1)

i've checked the opencloud repository and there isn't a events folder.

is there any alternative to get the missing jar?

thx
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Which version of Maven are you using and which project are you trying to build?

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
galaaz


Joined: 29/09/2011 04:09:37
Messages: 37
Offline

Hi Bruno

Apache Maven 2.2.1 (rdebian-6)
and i'm trying to build(converting to ant) the svn/examples/1.1/base-examples/myra-with-sbb/trunk/


thanks

This message was edited 1 time. Last update was at 12/04/2012 20:58:22

bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

What do you mean by "converting to ant"?

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
galaaz


Joined: 29/09/2011 04:09:37
Messages: 37
Offline

i'm trying to execute this command:
$mvn ant:ant
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

That artifact is part of the multi-module project. Maven will create a reactor with the correct dependencies tree and resolve the artifact at runtime.

Did you try the normal command "mvn clean install"?

Bruno

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
galaaz


Joined: 29/09/2011 04:09:37
Messages: 37
Offline

Thx Bruno it worked
 
Forum Index » JAIN SLEE Discussions
Go to:   
Powered by JForum 2.1.8 © JForum Team