You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Man-Chi Leung <ma...@gmail.com> on 2006/10/27 07:59:53 UTC

unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

hi,

sorry, I am new to geronimo, I encountered error during compiling from 
maven2, after I checkout the latest source tree at the first time.
when I check 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/schema/geronimo-schema-j2ee_1.4/, 
this is only 1.1-SNAPSHOT. not 1.0.
how can I solve this problem? pls help !

$mvn compile

...
...
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/schema/geronimo-schema-j2ee_1.4/1.0-SNAPSHOT/geronimo-schema-j2ee_1.4-1.0-SNAPSHOT.jar
[WARNING] 

Unable to get resource from repository apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.geronimo.schema:geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.geronimo.schema 
-DartifactId=geronimo-schema-j2ee_1.4 \
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.geronimo.modules:geronimo-j2ee-schema:jar:1.2-SNAPSHOT
        2) org.apache.geronimo.schema:geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

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

for artifact: 



Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 10/27/06, Man-Chi Leung <ma...@gmail.com> wrote:
> hi,
>
> sorry, I am new to geronimo, I encountered error during compiling from
> maven2, after I checkout the latest source tree at the first time.
> when I check

Thanks for reporting it! It might be related to the recent happenings
at ASF where some releases/snapshot vanished afterwards. It can take
some time before getting sorted out.

So, you'd be better off downloading the server from
http://geronimo.apache.org/downloads.html rather  than building it
yourself. Are you up doing something else than getting familiar with
the server?

Jacek

-- 
Jacek Laskowski
http://www.jaceklaskowski.pl

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Paul McMahan <pa...@gmail.com>.
On 10/27/06, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> On 10/27/06, Paul McMahan <pa...@gmail.com> wrote:
> > I hit the compile problem yesterday too and used the same work around
> > as Vamsi.  Then I noticed when r468129 got committed it made the
> > following change.  I assumed it fixes the problem but I haven't
> > removed my work around yet to test...
>
> Will you be able to give it a try? I'm a bit confused to have heard
> about these problems and I'm sure DJ will appreciate it too (he seems
> to be very concerned ;-))

After updating from svn I was able to build without the workaround.

Best wishes,
Paul

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Paul McMahan <pa...@gmail.com>.
On 10/27/06, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> Will you be able to give it a try? I'm a bit confused to have heard
> about these problems and I'm sure DJ will appreciate it too (he seems
> to be very concerned ;-))

Rerunning bootstrap with an empty repo right now, I'll let you know
how it goes...

Paul

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 10/27/06, Paul McMahan <pa...@gmail.com> wrote:
> I hit the compile problem yesterday too and used the same work around
> as Vamsi.  Then I noticed when r468129 got committed it made the
> following change.  I assumed it fixes the problem but I haven't
> removed my work around yet to test...

Will you be able to give it a try? I'm a bit confused to have heard
about these problems and I'm sure DJ will appreciate it too (he seems
to be very concerned ;-))

Jacek

-- 
Jacek Laskowski
http://www.jaceklaskowski.pl

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Paul McMahan <pa...@gmail.com>.
I hit the compile problem yesterday too and used the same work around
as Vamsi.  Then I noticed when r468129 got committed it made the
following change.  I assumed it fixes the problem but I haven't
removed my work around yet to test...

--- geronimo/server/trunk/modules/geronimo-j2ee-schema/src/main/resources/META-INF/geronimo-dependency.xml
(original)
+++ geronimo/server/trunk/modules/geronimo-j2ee-schema/src/main/resources/META-INF/geronimo-dependency.xml
Thu Oct 26 13:53:22 2006
@@ -21,6 +21,5 @@
    <dep:dependency>
        <dep:groupId>org.apache.geronimo.schema</dep:groupId>
        <dep:artifactId>geronimo-schema-j2ee_1.4</dep:artifactId>
-        <dep:version>1.0-SNAPSHOT</dep:version>
    </dep:dependency>
 </dep:service>


Best wishes,
Paul

On 10/27/06, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
> On 10/27/06, David Jencks <da...@yahoo.com> wrote:
> > I'm a bit confused by this, geronimo trunk appears to depend on
> > version 1.1-SNAPSHOT of the schema jar.  Can you check that you are
> > up to date with svn? If this is not the problem please run mvn -X in
> > the module that fails to build and show it on the list.  Be sure to
> > include which module is having the problem
>
> I concur. I double-checked the bits and all seem to be fine. I meant
> to have replied along your lines, but Vamsi got me withdraw it. Can it
> be that some jars in the repos are outdated (with the 1.0-SNAPSHOT
> dependency)?
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.jaceklaskowski.pl
>

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 10/27/06, David Jencks <da...@yahoo.com> wrote:
> I'm a bit confused by this, geronimo trunk appears to depend on
> version 1.1-SNAPSHOT of the schema jar.  Can you check that you are
> up to date with svn? If this is not the problem please run mvn -X in
> the module that fails to build and show it on the list.  Be sure to
> include which module is having the problem

I concur. I double-checked the bits and all seem to be fine. I meant
to have replied along your lines, but Vamsi got me withdraw it. Can it
be that some jars in the repos are outdated (with the 1.0-SNAPSHOT
dependency)?

Jacek

-- 
Jacek Laskowski
http://www.jaceklaskowski.pl

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by Vamsavardhana Reddy <c1...@gmail.com>.
I had a successful build yesterday.  Today I did an svn update and I have
run into the same build error.  As a temporary fix to get past the build
problem I have copied the xxx-1.0-SNAPSHOT.jar over to
xxx-1.1-SNAPSHOT.jar.  The problem needs to be fixed.  I have
encountered this error in Geronimo
:: J2EE Schema.

Vamsi

On 10/27/06, David Jencks <da...@yahoo.com> wrote:
>
> I'm a bit confused by this, geronimo trunk appears to depend on
> version 1.1-SNAPSHOT of the schema jar.  Can you check that you are
> up to date with svn? If this is not the problem please run mvn -X in
> the module that fails to build and show it on the list.  Be sure to
> include which module is having the problem
>
> thanks
> david jencks
>
> On Oct 26, 2006, at 10:59 PM, Man-Chi Leung wrote:
>
> > hi,
> >
> > sorry, I am new to geronimo, I encountered error during compiling
> > from maven2, after I checkout the latest source tree at the first
> > time.
> > when I check http://people.apache.org/repo/m2-snapshot-repository/
> > org/apache/geronimo/schema/geronimo-schema-j2ee_1.4/, this is only
> > 1.1-SNAPSHOT. not 1.0.
> > how can I solve this problem? pls help !
> >
> > $mvn compile
> >
> > ...
> > ...
> > Downloading: http://people.apache.org/repo/m2-snapshot-repository/
> > org/apache/geronimo/schema/geronimo-schema-j2ee_1.4/1.0-SNAPSHOT/
> > geronimo-schema-j2ee_1.4-1.0-SNAPSHOT.jar
> > [WARNING]
> > Unable to get resource from repository apache.snapshots (http://
> > people.apache.org/repo/m2-snapshot-repository)
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD ERROR
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) org.apache.geronimo.schema:geronimo-schema-j2ee_1.4:jar:1.0-
> > SNAPSHOT
> >
> >  Try downloading the file manually from the project website.
> >
> >  Then, install it using the command:
> >      mvn install:install-file -DgroupId=org.apache.geronimo.schema -
> > DartifactId=geronimo-schema-j2ee_1.4 \
> >          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> >
> >  Path to dependency:
> >        1) org.apache.geronimo.modules:geronimo-j2ee-schema:jar:1.2-
> > SNAPSHOT
> >        2) org.apache.geronimo.schema:geronimo-schema-j2ee_1.4:jar:
> > 1.0-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> >
>
>

Re: unable to "mvn compile:: missing of geronimo-schema-j2ee_1.4:jar:1.0-SNAPSHOT

Posted by David Jencks <da...@yahoo.com>.
I'm a bit confused by this, geronimo trunk appears to depend on  
version 1.1-SNAPSHOT of the schema jar.  Can you check that you are  
up to date with svn? If this is not the problem please run mvn -X in  
the module that fails to build and show it on the list.  Be sure to  
include which module is having the problem

thanks
david jencks

On Oct 26, 2006, at 10:59 PM, Man-Chi Leung wrote:

> hi,
>
> sorry, I am new to geronimo, I encountered error during compiling  
> from maven2, after I checkout the latest source tree at the first  
> time.
> when I check http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/geronimo/schema/geronimo-schema-j2ee_1.4/, this is only  
> 1.1-SNAPSHOT. not 1.0.
> how can I solve this problem? pls help !
>
> $mvn compile
>
> ...
> ...
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/geronimo/schema/geronimo-schema-j2ee_1.4/1.0-SNAPSHOT/ 
> geronimo-schema-j2ee_1.4-1.0-SNAPSHOT.jar
> [WARNING]
> Unable to get resource from repository apache.snapshots (http:// 
> people.apache.org/repo/m2-snapshot-repository)
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.geronimo.schema:geronimo-schema-j2ee_1.4:jar:1.0- 
> SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.geronimo.schema - 
> DartifactId=geronimo-schema-j2ee_1.4 \
>          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Path to dependency:
>        1) org.apache.geronimo.modules:geronimo-j2ee-schema:jar:1.2- 
> SNAPSHOT
>        2) org.apache.geronimo.schema:geronimo-schema-j2ee_1.4:jar: 
> 1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>