Ticket #948 (closed Defect: worksforme)

Opened 6 years ago

Last modified 6 years ago

building CROWD Omnibus frontend from scratch with 4.8-SNAPSHOT fails

Reported by: Malte Owned by: jri
Priority: Major Milestone: Release 4.8
Component: 3rd Party Plugins Version: 4.7
Keywords: Cc:
Complexity: 3 Area: Communications
Module:

Description


work:~/toff/deepaMehta/deepamehta-4.8-SNAPSHOT/bundle-dev/dm4-crowd-literature$ mvn clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DeepaMehta 4 CROWD Literature 0.6-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-contacts/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-module/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-project/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-core/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-events/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-events/4.8-SNAPSHOT/deepamehta-events-4.8-SNAPSHOT.pom
[WARNING] The POM for de.deepamehta:deepamehta-events:jar:4.8-SNAPSHOT is missing, no dependency information available
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-geomaps/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-topicmaps/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-facets/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-workspaces/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-config/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-accesscontrol/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-files/4.8-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/de/deepamehta/deepamehta-events/4.8-SNAPSHOT/deepamehta-events-4.8-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.189s
[INFO] Finished at: Fri Apr 08 10:52:20 CEST 2016
[INFO] Final Memory: 9M/148M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dm48-SNAPSHOT-crowd-literature: Could not resolve dependencies for project eu.crowd-literature:dm48-SNAPSHOT-crowd-literature:bundle:0.6-SNAPSHOT: Could not find artifact de.deepamehta:deepamehta-events:jar:4.8-SNAPSHOT in snapshots-repo (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
malted@work:~/toff/deepaMehta/deepamehta-4.8-SNAPSHOT/bundle-dev/dm4-crowd-literature$

Change History

comment:1 Changed 6 years ago by jri

Build DM first (mvn clean install -P all) and then CROWD. It should work then.

comment:2 Changed 6 years ago by Malte

I downloaded the deepamehta-standard-4.8-SNAPSHOT package and thus i can not build it from source. I guess that i am using the SNAPSHOT binary distribution.

OK, i will test and run 4.8 development with my other plugins, just wanted to let you know.
Thanks!

comment:3 Changed 6 years ago by jri

If you run the DM 4.8-SNAPSHOT binary distro you must also use the CROWD binary.
http://download.deepamehta.de/nightly/dm48-SNAPSHOT-crowd-literature-0.6-SNAPSHOT.jar
Just drop it to bundle-deploy for hot deployment.

Background: we don't deploy any SNAPSHOTS to Maven Central. So, when you want build a SNAPSHOT plugin from source you also must build DM SNAPSHOT from source first in order to populate your local maven repo.

Last edited 6 years ago by jri (previous) (diff)

comment:4 Changed 6 years ago by jri

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.