You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Simon Matic Langford <si...@pcmsgroup.com> on 2005/05/10 11:00:35 UTC

[m2] jdbc-2.0

Hi

I'm still getting this error when running m2-bootstrap-all.bat, but I
can't work out how to fix it, even given the instructions from this
mailing list.

[INFO] Building Maven Assembly Plugin
[INFO]
------------------------------------------------------------------------
----
[INFO] maven-jar-plugin: using locally installed snapshot
[INFO] maven-archiver: using locally installed snapshot
[INFO] modello-maven-plugin: resolved to version
1.0-alpha-2-20050507.162225-6 from local repository
[INFO] modello-plugin-prevayler: resolved to version
1.0-alpha-2-20050502.223155-1 from local repository
[INFO] modello-plugins: resolved to version
1.0-alpha-2-20050502.223155-2 from local repository
[INFO] modello: resolved to version 1.0-alpha-2-20050502.223155-3 from
local repository
[INFO] modello-core: resolved to version 1.0-alpha-2-20050502.223155-2
from local repository
[INFO] modello-plugin-xdoc: resolved to version
1.0-alpha-2-20050502.223155-1 from local repository
[INFO] modello-plugin-jpox: resolved to version
1.0-alpha-2-20050502.223155-4 from local repository
[INFO] plexus-utils: resolved to version 1.0-alpha-3-20050422.224609-4
from local repository
[INFO] modello-plugin-store: resolved to version
1.0-alpha-2-20050502.223155-2 from local repository
[INFO] modello-plugin-xml: resolved to version
1.0-alpha-2-20050506.125731-3 from local repository
Downloading: http://repo1.maven.org/maven2/jdbc/jdbc/2.0/jdbc-2.0.pom
[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2
[INFO]
------------------------------------------------------------------------
----
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
----
[INFO] Main Error:
  Error transitively resolving artifacts:

Root error:
  Unable to download the artifact from any repository


I have created a directory in my repository, full path is:

C:\Documents and Settings\langfors\.m2\repository\jdbc\jdbc\2.0

I created an empty jdbc-2.0.jar and a jdbc-2.0.jar.pom which contains:

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>jdbc</groupId>
  <artifactId>jdbc</artifactId>
  <version>2.0</version>
</project>

I have a jdbc-2.0.jar.md5 which contains
d41d8cd98f00b204e9800998ecf8427e which is the md5sum result.

my settings.xml:

<settings>
  <proxies>
     <proxy>
        <active>true</active>
        <protocol>http</protocol>
        <host>200.254.1.248</host>
        <port>3128</port>
        <username>*******</username>
        <password>*******</password>
        <nonProxyHosts>*.datafit.co.uk</nonProxyHosts>
      </proxy>
    </proxies>
    <profiles>
      <profile>
        <active>true</active>
        <localRepository>c:/Documents and
Settings/langfors/.m2/repository</localRepository>
      </profile>
    </profiles>
</settings>

what have I missed?

Thanks

simon




The information contained in this e-mail is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.
 


Re: [m2] jdbc-2.0

Posted by Mark Hobson <ma...@gmail.com>.
On 5/10/05, Brett Porter <br...@gmail.com> wrote:
> jdbc isn't required by modello or any of the m2 archives:
> unfortunately, m2 does not currently report where it is coming from.

This would be a very handy feature to add - showing the entire
dependency chain when resolving dependencies - any plans to implement
this for alpha-2?

Cheers,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m2] jdbc-2.0

Posted by Simon Matic Langford <si...@pcmsgroup.com>.
hmm, that worked a bit better, I went for total overkill and deleted the
entire
contents of my local repos before reboostrapping.

thanks

simon
 

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com] 
> Sent: 10 May 2005 11:37
> To: Maven Users List
> Subject: Re: [m2] jdbc-2.0
> 
> 
> Sorry, there are two issues:
> - some released, previously downloaded poms needed to be updated in
> the repo (delete the "marmalade" directory to fix your problem)
> - md5's couldn't be checked due to invalid ones. This can soon be
> turned back on.
> 
> Yes - the feature above is planned - but for alpha-3.
> 
> HTH,
> Brett
> 
> On 5/10/05, Kenney Westerhof <fo...@neonics.com> wrote:
> > On Tue, 10 May 2005, Simon Matic Langford wrote:
> > 
> > I've had similar problems. Apparently the modello pom was incorrect.
> > I've checked out the source and installed modello locally, 
> but it didn't
> > work until I deleted the ~/.m2/repository/modello 
> directory. Apparently
> > the downloaded snapshot was considered newer than my local install.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] jdbc-2.0

Posted by Brett Porter <br...@gmail.com>.
Sorry, there are two issues:
- some released, previously downloaded poms needed to be updated in
the repo (delete the "marmalade" directory to fix your problem)
- md5's couldn't be checked due to invalid ones. This can soon be
turned back on.

Yes - the feature above is planned - but for alpha-3.

HTH,
Brett

On 5/10/05, Kenney Westerhof <fo...@neonics.com> wrote:
> On Tue, 10 May 2005, Simon Matic Langford wrote:
> 
> I've had similar problems. Apparently the modello pom was incorrect.
> I've checked out the source and installed modello locally, but it didn't
> work until I deleted the ~/.m2/repository/modello directory. Apparently
> the downloaded snapshot was considered newer than my local install.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m2] jdbc-2.0

Posted by Kenney Westerhof <fo...@neonics.com>.
On Tue, 10 May 2005, Simon Matic Langford wrote:

I've had similar problems. Apparently the modello pom was incorrect.
I've checked out the source and installed modello locally, but it didn't
work until I deleted the ~/.m2/repository/modello directory. Apparently
the downloaded snapshot was considered newer than my local install.

Anyway, try to delete the modello directory and then bootstrap again. My
guess is that the latest modello snapshot is rid of this problem. If not,
install modello by source.

-- Kenney

> it was in velocity-1.4.pom, I think this must have been from a week or
> so ago.
>
> which was about to beg the question "why don't pom's have md5's", but
> they do
> so how come I never got a new one.
>
> anyway I've deleted the velocity dir from my local repos and I get an
> odd error
> from modello (although it tries to continue)
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.maven.plugin.AbstractMojo.getLog()Lorg/apache/maven/monitor/l
> ogging/Log
>         at
> org.codehaus.modello.maven.AbstractModelloGeneratorMojo.execute(Abstract
> ModelloGeneratorMojo.java:122)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:415)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Default
> LifecycleExecutor.java:168)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:89)
>         at
> org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:231)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:147)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:247)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
>
> then it0015 fails:
>
> it0015... FAILED
> ----- Standard Out -----
> Removing file: target/out.txt
>
> org.apache.maven.it.VerificationException: Expected file was not found:
> F:\m2-svn\maven\components\trunk\maven-core-it\it0015\target\out.txt
>         at
> org.apache.maven.it.Verifier.verifyExpectedResult(Verifier.java:393)
>         at org.apache.maven.it.Verifier.verify(Verifier.java:109)
>         at org.apache.maven.it.Verifier.main(Verifier.java:538)
> Log file contents:
> + Error stacktraces are turned on.
>
> and then 16, 17 & 18 fail, and then it finally gives up the ghost with:
>
> [INFO] Error while transitively resolving artifacts (transitive path
> trace currently unavailable):
>
> Root Error:
>   Failed to validate POM for 'Artifact
> [marmalade:marmalade-el-commons:pom:1.0-alpha-2]'.
>
>   Reason(s):
>   [0]  'modelVersion' is missing.
>
> Simon
>
> > -----Original Message-----
> > From: Brett Porter [mailto:brett.porter@gmail.com]
> > Sent: 10 May 2005 10:12
> > To: Maven Users List
> > Subject: Re: [m2] jdbc-2.0
> >
> >
> > On 5/10/05, Simon Matic Langford <si...@pcmsgroup.com> wrote:
> > > Hi
> > >
> > > I'm still getting this error when running
> > m2-bootstrap-all.bat, but I
> > > can't work out how to fix it, even given the instructions from this
> > > mailing list.
> > >
> >
> > jdbc isn't required by modello or any of the m2 archives:
> > unfortunately, m2 does not currently report where it is coming from.
> >
> > Can you check if you have a jdbc dependency in your local repository
> > by searcing the .pom files? That POM may need to be fixed at our end.
> >
> > - Brett
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [m2] jdbc-2.0

Posted by Simon Matic Langford <si...@pcmsgroup.com>.
it was in velocity-1.4.pom, I think this must have been from a week or
so ago.

which was about to beg the question "why don't pom's have md5's", but
they do
so how come I never got a new one.

anyway I've deleted the velocity dir from my local repos and I get an
odd error
from modello (although it tries to continue)

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.maven.plugin.AbstractMojo.getLog()Lorg/apache/maven/monitor/l
ogging/Log
        at
org.codehaus.modello.maven.AbstractModelloGeneratorMojo.execute(Abstract
ModelloGeneratorMojo.java:122)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:415)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Default
LifecycleExecutor.java:168)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:89)
        at
org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:231)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:147)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:363)

then it0015 fails:

it0015... FAILED
----- Standard Out -----
Removing file: target/out.txt

org.apache.maven.it.VerificationException: Expected file was not found:
F:\m2-svn\maven\components\trunk\maven-core-it\it0015\target\out.txt
        at
org.apache.maven.it.Verifier.verifyExpectedResult(Verifier.java:393)
        at org.apache.maven.it.Verifier.verify(Verifier.java:109)
        at org.apache.maven.it.Verifier.main(Verifier.java:538)
Log file contents:
+ Error stacktraces are turned on.

and then 16, 17 & 18 fail, and then it finally gives up the ghost with:

[INFO] Error while transitively resolving artifacts (transitive path
trace currently unavailable):

Root Error:
  Failed to validate POM for 'Artifact
[marmalade:marmalade-el-commons:pom:1.0-alpha-2]'.

  Reason(s):
  [0]  'modelVersion' is missing.

Simon

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com] 
> Sent: 10 May 2005 10:12
> To: Maven Users List
> Subject: Re: [m2] jdbc-2.0
> 
> 
> On 5/10/05, Simon Matic Langford <si...@pcmsgroup.com> wrote:
> > Hi
> > 
> > I'm still getting this error when running 
> m2-bootstrap-all.bat, but I
> > can't work out how to fix it, even given the instructions from this
> > mailing list.
> > 
> 
> jdbc isn't required by modello or any of the m2 archives:
> unfortunately, m2 does not currently report where it is coming from.
> 
> Can you check if you have a jdbc dependency in your local repository
> by searcing the .pom files? That POM may need to be fixed at our end.
> 
> - Brett
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] jdbc-2.0

Posted by Brett Porter <br...@gmail.com>.
On 5/10/05, Simon Matic Langford <si...@pcmsgroup.com> wrote:
> Hi
> 
> I'm still getting this error when running m2-bootstrap-all.bat, but I
> can't work out how to fix it, even given the instructions from this
> mailing list.
> 

jdbc isn't required by modello or any of the m2 archives:
unfortunately, m2 does not currently report where it is coming from.

Can you check if you have a jdbc dependency in your local repository
by searcing the .pom files? That POM may need to be fixed at our end.

- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org