preslavrachev / maven-play-plugin

Automatically exported from code.google.com/p/maven-play-plugin
0 stars 0 forks source link

Cannot build morphia #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Cannot build morphia, as it depends on 
https://maven-play-plugin.googlecode.com/svn/mavenrepo/releases/com/google/code/
maven-play-plugin/com/google/code/morphia/morphia/1.00-20110403/morphia-1.00-201
10403.pom which refers non-existing parent 

Problem reported on MavenizedModules wiki page.

Original issue reported on code.google.com by gslowiko...@gmail.com on 21 Apr 2012 at 8:26

GoogleCodeExporter commented 9 years ago
Morphia Maven repository definition was missing.

Morphia test projects fixed in svn rev.9011

Original comment by gslowiko...@gmail.com on 21 Apr 2012 at 8:33

GoogleCodeExporter commented 9 years ago
Morphia module mavenization scripts fixed in 1.2.6a version. Morphia module 
v.1.2.6a mavenized. Try it, please.

Original comment by gslowiko...@gmail.com on 21 Apr 2012 at 10:12

GoogleCodeExporter commented 9 years ago
Same problem with 1.2.6a, Revision 9036

Downloading: 
http://maven-play-plugin.googlecode.com/svn/mavenrepo/releases/com/google/code/m
aven-play-plugin/org/playframework/modules/morphia/play-morphia/1.2.6a/play-morp
hia-1.2.6a.pom
2K downloaded  (play-morphia-1.2.6a.pom)
Downloading: 
http://maven-play-plugin.googlecode.com/svn/mavenrepo/releases/com/google/code/m
orphia/morphia-parent/1.1/morphia-parent-1.1.pom
[INFO] Unable to find resource 'com.google.code.morphia:morphia-parent:pom:1.1' 
in repository com.google.code.maven-play-plugin 
(http://maven-play-plugin.googlecode.com/svn/mavenrepo/releases)
Downloading: 
http://repo1.maven.org/maven2/com/google/code/morphia/morphia-parent/1.1/morphia
-parent-1.1.pom
[INFO] Unable to find resource 'com.google.code.morphia:morphia-parent:pom:1.1' 
in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: 
com.google.code.maven-play-plugin.com.google.code.morphia:morphia:jar:1.00-20110
403.170849-3

Reason: Cannot find parent: com.google.code.morphia:morphia-parent for project: 
com.google.code.maven-play-plugin.com.google.code.morphia:morphia:jar:1.00-20110
403.170849-3 for project 
com.google.code.maven-play-plugin.com.google.code.morphia:morphia:jar:1.00-20110
403.170849-3

Original comment by DarkDim...@gmail.com on 21 Apr 2012 at 10:05

GoogleCodeExporter commented 9 years ago
I thought you are building one of my Morphia test projects 
(http://maven-play-plugin.googlecode.com/svn/trunk/test-projects/external-module
s/morphia). I've fixed their poms.

In your project you have to to the same - add:

        <repository>
            <id>com.google.code.morphia</id>
            <name>Morphia - releases and snapshots</name>
            <url>http://morphia.googlecode.com/svn/mavenrepo</url>
        </repository>

to your project's pom.xml

I don't add external repositories definitions to the deployed module poms, 
because I hope to publish them to the central Maven repository in the future. 
Artifacts in the central repo cannot have external repositories definitions in 
their poms.

Original comment by gslowiko...@gmail.com on 22 Apr 2012 at 8:41

GoogleCodeExporter commented 9 years ago
No response, so I assume everything is clear and there are no problems now.

Original comment by gslowiko...@gmail.com on 25 Apr 2012 at 9:57