Hm... Maven gives me a hard time quite often too. Maybe you've not gotten the right version, maybe something was moved...

Try this:
http://www.fastforward.ch/developer/mag_mod_data/

You'll find the two modules and Quarz (which is needed for the sceduler module) there, redy compiled. I'm not sure if it's the newest version, but it works for me.

Regards,
Will

On 15.04.2008, at 15:34, Charles Johnson wrote:

Will,

I'm not a Maven maven (yet) and there seems to be a problem with an undefined artifact (see below). Any suggestions?

CJ

[INFO] Scanning for projects...
Downloading: 
http://repo1.maven.org/maven2/info/magnolia/magnolia-project/3.5.4/magnolia-project-3.5.4.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: info.magnolia
ArtifactId: magnolia-project
Version: 3.5.4

Reason: Unable to download the artifact from any repository

info.magnolia:magnolia-project:pom:3.5.4

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


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: info.magnolia:magnolia-project for project: null:magnolia- module-data:jar:1.1.1-SNAPSHOT for project null:magnolia-module- data:jar:1.1.1-SNAPSHOT
  at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: 315)
  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: info.magnolia:magnolia-project for project: null:magnolia-module-data:jar:1.1.1-SNAPSHOT for project null:magnolia-module-data:jar:1.1.1-SNAPSHOT at org .apache .maven .project .DefaultMavenProjectBuilder .assembleLineage(DefaultMavenProjectBuilder.java:1259) at org .apache .maven .project .DefaultMavenProjectBuilder .buildInternal(DefaultMavenProjectBuilder.java:745) at org .apache .maven .project .DefaultMavenProjectBuilder .buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:476) at org .apache .maven .project .DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
  at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java: 458)
  at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
  ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'info.magnolia:magnolia-project' not found in repository: Unable to download the artifact from any repository

info.magnolia:magnolia-project:pom:3.5.4

from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project info.magnolia:magnolia-project
at org .apache .maven .project .DefaultMavenProjectBuilder .findModelFromRepository(DefaultMavenProjectBuilder.java:571) at org .apache .maven .project .DefaultMavenProjectBuilder .assembleLineage(DefaultMavenProjectBuilder.java:1255)
  ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

info.magnolia:magnolia-project:pom:3.5.4

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

at org .apache .maven .artifact .resolver .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:206) at org .apache .maven .artifact .resolver .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73) at org .apache .maven .project .DefaultMavenProjectBuilder .findModelFromRepository(DefaultMavenProjectBuilder.java:524)
  ... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org .apache .maven .artifact .manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324) at org .apache .maven .artifact .resolver .DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:194)
  ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Apr 15 13:28:24 GMT 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------


Will Scheidegger wrote:
Well, it's not been on the front page either. But it works quite well. Just build the two modules, drop the jars in WEB-INF/lib and restart your servlet container. The modules then install themselves.

Hope this helps.

Will

On 15.04.2008, at 14:16, Charles Johnson wrote:

Thanks Will - didn't know about that.

CJ

Will Scheidegger wrote:
How about simply using the data module?

http://svn.magnolia.info/svn/modules/community/
  -> magnolia-module-data/
  -> also requires magnolia-module-scheduler/

Cheers,
Will

On 15.04.2008, at 12:32, Charles Johnson wrote:
Is there any documentation that covers adding workspaces to store data-oriented nodes in any repository by any chance?

CJ

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to