On 12/27/10 1:33 PM, Niklas Gustavsson wrote:
On Mon, Dec 27, 2010 at 1:29 PM, Guillaume Nodet<[email protected]>  wrote:
Which modules aren't bundles?
In the case of Vysper, none of the modules are built as bundles.

And why does it have any effect? Just curious...
Me too :-)

I have *no* idea. Probably a Maven issue. I can build the current Vysper project - which uses MINA-2.0.0-RC1 - without a glitch, but when I switch to MINA-2.0.2, I get these errors :

emmanuel-lecharnys-MacBook-Pro:vysper elecharny$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Vysper Parent
[INFO]   Apache Vysper Spec compliance
[INFO]   Apache Vysper Non-blocking XML parser
[INFO]   Apache Vysper Server
[INFO]   Apache Vysper Core
[INFO]   Apache Vysper Extensions
[INFO]   Apache Vysper XEP-0060 Publish-Subscribe
[INFO]   Apache Vysper XEP-0045 Multi-user chat
[INFO]   Apache Vysper XEP-0124 and XEP-0206 BOSH
[INFO]   Apache Vysper
[INFO]   Apache Vysper XEP-0060 Publish-Subscribe Demo Application
...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Vysper Core
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [remote-resources:process {execution: default}]
Downloading: http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.2/mina-core-2.0.2.bundle [INFO] Unable to find resource 'org.apache.mina:mina-core:bundle:2.0.2' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/mina/mina-integration-beans/2.0.2/mina-integration-beans-2.0.2.bundle [INFO] Unable to find resource 'org.apache.mina:mina-integration-beans:bundle:2.0.2' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/mina/mina-integration-ognl/2.0.2/mina-integration-ognl-2.0.2.bundle [INFO] Unable to find resource 'org.apache.mina:mina-integration-ognl:bundle:2.0.2' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve dependencies for one or more projects in the reactor. Reason: Missing:
----------
1) org.apache.mina:mina-core:bundle:2.0.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.mina -DartifactId=mina-core -Dversion=2.0.2 -Dpackaging=bundle -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.mina -DartifactId=mina-core -Dversion=2.0.2 -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.apache.vysper:vysper-core:jar:0.7-SNAPSHOT
      2) org.apache.mina:mina-integration-jmx:jar:2.0.2
      3) org.apache.mina:mina-core:bundle:2.0.2

2) org.apache.mina:mina-integration-beans:bundle:2.0.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.mina -DartifactId=mina-integration-beans -Dversion=2.0.2 -Dpackaging=bundle -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.mina -DartifactId=mina-integration-beans -Dversion=2.0.2 -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.apache.vysper:vysper-core:jar:0.7-SNAPSHOT
      2) org.apache.mina:mina-integration-jmx:jar:2.0.2
      3) org.apache.mina:mina-integration-beans:bundle:2.0.2

3) org.apache.mina:mina-integration-ognl:bundle:2.0.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.mina -DartifactId=mina-integration-ognl -Dversion=2.0.2 -Dpackaging=bundle -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.mina -DartifactId=mina-integration-ognl -Dversion=2.0.2 -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
      1) org.apache.vysper:vysper-core:jar:0.7-SNAPSHOT
      2) org.apache.mina:mina-integration-jmx:jar:2.0.2
      3) org.apache.mina:mina-integration-ognl:bundle:2.0.2

----------
3 required artifacts are missing.

for artifact:
  org.apache.vysper:vysper-core:jar:0.7-SNAPSHOT

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



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Mon Dec 27 14:19:37 CET 2010
[INFO] Final Memory: 37M/81M
[INFO] ------------------------------------------------------------------------

/niklas



--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to