You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Apparao Kalimireddy <ap...@gmail.com> on 2006/12/02 00:37:58 UTC

maven build problem

I am trying to build latest code and I get a problem with javamail
dependency.
Here is what I see, any help is appreciated:
[INFO]Failed to resolve artifact.

Missing:
----------
1)
org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT

Re: maven build problem

Posted by Apparao Kalimireddy <ap...@gmail.com>.
That got me through the problem. Thanks for help.

On 12/4/06, Prasad Kashyap <go...@gmail.com> wrote:
>
> There is indeed a
>
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> artifact
>
> I just did an svn update and built the geronimo-mail module. It
> downloaded the above artifact successfully from the apache-snapshots
> repository.
>
> Unless you have disabled snapshots, then you should be getting it too.
> Neverthless, for now, you may download the jar from the link below and
> place it in your repository. That should get you going.
>
>
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/javamail/geronimo-javamail_1.3.1_provider/1.0-SNAPSHOT/geronimo-javamail_1.3.1_provider-1.0-20061031.223401-5.jar
>
> Cheers
> Prasad
>
>
> On 12/4/06, Apparao Kalimireddy <ap...@gmail.com> wrote:
> > Here is the entire message:
> >
> >
> [INFO]----------------------------------------------------------------------------
> > [INFO]Building Geronimo :: Mail
> > [INFO]   task-segment: [install]
> >
> [INFO]----------------------------------------------------------------------------
> > project-execute
> > [tools:require-java-version {execution: validate-java-version}]
> > [tools:copy-legal-files {execution: install-legal-files}]
> > [resources:resources]
> > [INFO]Using default encoding to copy filtered resources.
> > [WARN]Unable to get resource from repository apache-snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository)
> > [WARN]Unable to get resource from repository codehaus-snapshots (
> > http://snapshots.repository.codehaus.org)
> > [WARN]Unable to get resource from repository apache.snapshots (
> > http://people.apache.org/repo/m2-snapshot-repository)
> > [WARN]Unable to get resource from repository apache-snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository )
> > [WARN]Unable to get resource from repository codehaus-snapshots
> > (http://snapshots.repository.codehaus.org)
> > [WARN]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.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> > [INFO]
> > [INFO]  Try downloading the file manually from the project website.
> > [INFO]
> > [INFO]  Then, install it using the command:
> > [INFO]      mvn install:install-file -DgroupId=
> org.apache.geronimo.javamail
> > -DartifactId=geronimo-javamail_1.3.1_provider \
> >           -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> > [INFO]
> > [INFO]  Path to dependency:
> > [INFO]      1)
> > org.apache.geronimo.modules:geronimo-mail:jar:2.0-SNAPSHOT
> > [INFO]      2)
> >
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> > [INFO]
> > [INFO]----------
> > 1 required artifact is missing.
> >
> > for artifact:
> > [INFO]
> > org.apache.geronimo.modules:geronimo-mail:jar:2.0-SNAPSHOT
> > [INFO]
> > [INFO]from the specified remote repositories:
> > [INFO]  central ( http://repo1.maven.org/maven2),
> >   apache.snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository),
> >    codehaus (http://repository.codehaus.org),
> >   apache-snapshots
> > (http://people.apache.org/repo/m2-snapshot-repository ),
> >   codehaus-snapshots
> > (http://snapshots.repository.codehaus.org)
> > [INFO]
> >
> [INFO]------------------------------------------------------------------------
> >  [INFO]For more information, run Maven with the -e switch
> >
> [INFO]------------------------------------------------------------------------
> > [INFO]Total time: 5 minutes 12 seconds
> > [INFO]Finished at: Mon Dec 04 09:13:15 CST 2006
> > [INFO]Final Memory: 118M/223M
> >
> [INFO]------------------------------------------------------------------------
> >
> >
> >
> > On 12/4/06, Prasad Kashyap < goyathlay.geronimo@gmail.com> wrote:
> > > Something in that artifact id doesn't seem right. There is a missing
> piece
> > here
> > >
> > org.apache.geronimo
> .<missing_piece>.javamail:geronimo-javamail_1.3.1_provider:jar:
> 1.0-SNAPSHOT
> > >
> > > Can you please post the entire error message ?
> > >
> > > Cheers
> > > Prasad
> > >
> > >
> > > On 12/1/06, Apparao Kalimireddy <ap...@gmail.com> wrote:
> > > > I am trying to build latest code and I get a problem with javamail
> > > > dependency.
> > > > Here is what I see, any help is appreciated:
> > > > [INFO]Failed to resolve artifact.
> > > >
> > > > Missing:
> > > > ----------
> > > > 1)
> > > >
> >
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Apparao Kalimireddy
> > Phone:515-2269096(Res);515-4419342(Cell)
> > 5491 Foxboro Rd
> > Johnston IA 50131
> >
> >
>

Re: maven build problem

Posted by Prasad Kashyap <go...@gmail.com>.
There is indeed a
org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
artifact

I just did an svn update and built the geronimo-mail module. It
downloaded the above artifact successfully from the apache-snapshots
repository.

Unless you have disabled snapshots, then you should be getting it too.
Neverthless, for now, you may download the jar from the link below and
place it in your repository. That should get you going.

http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/javamail/geronimo-javamail_1.3.1_provider/1.0-SNAPSHOT/geronimo-javamail_1.3.1_provider-1.0-20061031.223401-5.jar

Cheers
Prasad


On 12/4/06, Apparao Kalimireddy <ap...@gmail.com> wrote:
> Here is the entire message:
>
> [INFO]----------------------------------------------------------------------------
> [INFO]Building Geronimo :: Mail
> [INFO]   task-segment: [install]
> [INFO]----------------------------------------------------------------------------
> project-execute
> [tools:require-java-version {execution: validate-java-version}]
> [tools:copy-legal-files {execution: install-legal-files}]
> [resources:resources]
> [INFO]Using default encoding to copy filtered resources.
> [WARN]Unable to get resource from repository apache-snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> [WARN]Unable to get resource from repository codehaus-snapshots (
> http://snapshots.repository.codehaus.org)
> [WARN]Unable to get resource from repository apache.snapshots (
> http://people.apache.org/repo/m2-snapshot-repository)
> [WARN]Unable to get resource from repository apache-snapshots
> (http://people.apache.org/repo/m2-snapshot-repository )
> [WARN]Unable to get resource from repository codehaus-snapshots
> (http://snapshots.repository.codehaus.org)
> [WARN]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.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> [INFO]
> [INFO]  Try downloading the file manually from the project website.
> [INFO]
> [INFO]  Then, install it using the command:
> [INFO]      mvn install:install-file -DgroupId=org.apache.geronimo.javamail
> -DartifactId=geronimo-javamail_1.3.1_provider \
>           -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> [INFO]
> [INFO]  Path to dependency:
> [INFO]      1)
> org.apache.geronimo.modules:geronimo-mail:jar:2.0-SNAPSHOT
> [INFO]      2)
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> [INFO]
> [INFO]----------
> 1 required artifact is missing.
>
> for artifact:
> [INFO]
> org.apache.geronimo.modules:geronimo-mail:jar:2.0-SNAPSHOT
> [INFO]
> [INFO]from the specified remote repositories:
> [INFO]  central ( http://repo1.maven.org/maven2),
>   apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository),
>    codehaus (http://repository.codehaus.org),
>   apache-snapshots
> (http://people.apache.org/repo/m2-snapshot-repository ),
>   codehaus-snapshots
> (http://snapshots.repository.codehaus.org)
> [INFO]
> [INFO]------------------------------------------------------------------------
>  [INFO]For more information, run Maven with the -e switch
> [INFO]------------------------------------------------------------------------
> [INFO]Total time: 5 minutes 12 seconds
> [INFO]Finished at: Mon Dec 04 09:13:15 CST 2006
> [INFO]Final Memory: 118M/223M
> [INFO]------------------------------------------------------------------------
>
>
>
> On 12/4/06, Prasad Kashyap < goyathlay.geronimo@gmail.com> wrote:
> > Something in that artifact id doesn't seem right. There is a missing piece
> here
> >
> org.apache.geronimo.<missing_piece>.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> >
> > Can you please post the entire error message ?
> >
> > Cheers
> > Prasad
> >
> >
> > On 12/1/06, Apparao Kalimireddy <ap...@gmail.com> wrote:
> > > I am trying to build latest code and I get a problem with javamail
> > > dependency.
> > > Here is what I see, any help is appreciated:
> > > [INFO]Failed to resolve artifact.
> > >
> > > Missing:
> > > ----------
> > > 1)
> > >
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> > >
> > >
> > >
> >
>
>
>
> --
> Apparao Kalimireddy
> Phone:515-2269096(Res);515-4419342(Cell)
> 5491 Foxboro Rd
> Johnston IA 50131
>
>

Re: maven build problem

Posted by Apparao Kalimireddy <ap...@gmail.com>.
Here is the entire message:

[INFO]----------------------------------------------------------------------------
[INFO]Building Geronimo :: Mail
[INFO]   task-segment: [install]
[INFO]----------------------------------------------------------------------------
project-execute
[tools:require-java-version {execution: validate-java-version}]
[tools:copy-legal-files {execution: install-legal-files}]
[resources:resources]
[INFO]Using default encoding to copy filtered resources.
[WARN]Unable to get resource from repository apache-snapshots (
http://people.apache.org/repo/m2-snapshot-repository)
[WARN]Unable to get resource from repository codehaus-snapshots (
http://snapshots.repository.codehaus.org)
[WARN]Unable to get resource from repository apache.snapshots (
http://people.apache.org/repo/m2-snapshot-repository)
[WARN]Unable to get resource from repository apache-snapshots (
http://people.apache.org/repo/m2-snapshot-repository)
[WARN]Unable to get resource from repository codehaus-snapshots (
http://snapshots.repository.codehaus.org)
[WARN]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.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
[INFO]
[INFO]  Try downloading the file manually from the project website.
[INFO]
[INFO]  Then, install it using the command:
[INFO]      mvn install:install-file
-DgroupId=org.apache.geronimo.javamail-DartifactId=geronimo-javamail_1.3.1_provider
\
          -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[INFO]
[INFO]  Path to dependency:
[INFO]      1) org.apache.geronimo.modules:geronimo-mail:jar:2.0-SNAPSHOT
[INFO]      2)
org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
[INFO]
[INFO]----------
1 required artifact is missing.

for artifact:
[INFO]  org.apache.geronimo.modules:geronimo-mail:jar:2.0-SNAPSHOT
[INFO]
[INFO]from the specified remote repositories:
[INFO]  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus (http://repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
[INFO]
[INFO]------------------------------------------------------------------------
[INFO]For more information, run Maven with the -e switch
[INFO]------------------------------------------------------------------------
[INFO]Total time: 5 minutes 12 seconds
[INFO]Finished at: Mon Dec 04 09:13:15 CST 2006
[INFO]Final Memory: 118M/223M
[INFO]------------------------------------------------------------------------


On 12/4/06, Prasad Kashyap <go...@gmail.com> wrote:
>
> Something in that artifact id doesn't seem right. There is a missing piece
> here
> org.apache.geronimo
> .<missing_piece>.javamail:geronimo-javamail_1.3.1_provider:jar:
> 1.0-SNAPSHOT
>
> Can you please post the entire error message ?
>
> Cheers
> Prasad
>
>
> On 12/1/06, Apparao Kalimireddy <ap...@gmail.com> wrote:
> > I am trying to build latest code and I get a problem with javamail
> > dependency.
> > Here is what I see, any help is appreciated:
> > [INFO]Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1)
> >
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
> >
> >
> >
>



-- 
Apparao Kalimireddy
Phone:515-2269096(Res);515-4419342(Cell)
5491 Foxboro Rd
Johnston IA 50131

Re: maven build problem

Posted by Prasad Kashyap <go...@gmail.com>.
Something in that artifact id doesn't seem right. There is a missing piece here
org.apache.geronimo.<missing_piece>.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT

Can you please post the entire error message ?

Cheers
Prasad


On 12/1/06, Apparao Kalimireddy <ap...@gmail.com> wrote:
> I am trying to build latest code and I get a problem with javamail
> dependency.
> Here is what I see, any help is appreciated:
> [INFO]Failed to resolve artifact.
>
> Missing:
> ----------
> 1)
> org.apache.geronimo.javamail:geronimo-javamail_1.3.1_provider:jar:1.0-SNAPSHOT
>
>
>