You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Ralph B Holland <ra...@arising.com.au> on 2010/01/13 02:26:39 UTC

problem building with maven

Hi,

I am completely a newbie with maven and I am trying to get the server/HEAD
version to build. I have performed several updates.

I ran the build for V3 inside of eclipse and this is a snapshot of what
results:

Building Apache JAMES Server User Library
13/01/10 12:15:21: [INFO] 
13/01/10 12:15:21: [INFO] Id:
org.apache.james:james-server-user-library:jar:3.0-M1
13/01/10 12:15:21: [INFO] task-segment:
[org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process]
13/01/10 12:15:21: [INFO]
------------------------------------------------------------------------
13/01/10 12:15:22: Build errors for james-V3;
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.apache.james:james-server-common-util:jar:3.0-M1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.james
-DartifactId=james-server-common-util -Dversion=3.0-M1 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there: 
      mvn deploy:deploy-file -DgroupId=org.apache.james
-DartifactId=james-server-common-util -Dversion=3.0-M1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) org.apache.james:james-server-user-library:jar:3.0-M1
  	2) org.apache.james:james-server-common-util:jar:3.0-M1

2) org.apache.james:james-server-domain-api:jar:3.0-M1

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.james
-DartifactId=james-server-domain-api -Dversion=3.0-M1 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there: 
      mvn deploy:deploy-file -DgroupId=org.apache.james
-DartifactId=james-server-domain-api -Dversion=3.0-M1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
  	1) org.apache.james:james-server-user-library:jar:3.0-M1
  	2) org.apache.james:james-server-domain-api:jar:3.0-M1

----------
2 required artifacts are missing.

for artifact: 
  org.apache.james:james-server-user-library:jar:3.0-M1

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

I also tried it from the command line and there are several missing
artifacts with the tag 3.0-M1, should modified (un-updated) versions be
checked into the repository?
Help, what do I need to do to resolve this?


Regards,
Ralph Holland
www.arising.com.au/aviation
_______________________________________________________________________
This email message and any accompanying attachments may contain
information that is confidential and intended only for the use
of the addressee(s) named above. It may also be privileged. 
If you are not the intended recipient do not read, use, 
disseminate, distribute or copy or take any action in reliance on it. 
If you have received this message in error, please notify the sender 
immediately, and delete this message. It is your responsibility to 
check attachments for viruses or defects. 
_______________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: problem building with maven

Posted by Norman Maurer <no...@googlemail.com>.
Hi Ralph,

did you read the BUILDING.txt ?

On a new checkout start by running
$ cd stage
$ mvn clean compile
$ cd ..
$ mvn clean package


Bye,
Norman


2010/1/13 Ralph B Holland <ra...@arising.com.au>:
> Hi,
>
> I am completely a newbie with maven and I am trying to get the server/HEAD
> version to build. I have performed several updates.
>
> I ran the build for V3 inside of eclipse and this is a snapshot of what
> results:
>
> Building Apache JAMES Server User Library
> 13/01/10 12:15:21: [INFO]
> 13/01/10 12:15:21: [INFO] Id:
> org.apache.james:james-server-user-library:jar:3.0-M1
> 13/01/10 12:15:21: [INFO] task-segment:
> [org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process]
> 13/01/10 12:15:21: [INFO]
> ------------------------------------------------------------------------
> 13/01/10 12:15:22: Build errors for james-V3;
> org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
> ----------
> 1) org.apache.james:james-server-common-util:jar:3.0-M1
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.james
> -DartifactId=james-server-common-util -Dversion=3.0-M1 -Dpackaging=jar
> -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>      mvn deploy:deploy-file -DgroupId=org.apache.james
> -DartifactId=james-server-common-util -Dversion=3.0-M1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.apache.james:james-server-user-library:jar:3.0-M1
>        2) org.apache.james:james-server-common-util:jar:3.0-M1
>
> 2) org.apache.james:james-server-domain-api:jar:3.0-M1
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.james
> -DartifactId=james-server-domain-api -Dversion=3.0-M1 -Dpackaging=jar
> -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>      mvn deploy:deploy-file -DgroupId=org.apache.james
> -DartifactId=james-server-domain-api -Dversion=3.0-M1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.apache.james:james-server-user-library:jar:3.0-M1
>        2) org.apache.james:james-server-domain-api:jar:3.0-M1
>
> ----------
> 2 required artifacts are missing.
>
> for artifact:
>  org.apache.james:james-server-user-library:jar:3.0-M1
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  apache.snapshots (http://repository.apache.org/snapshots)
>
> I also tried it from the command line and there are several missing
> artifacts with the tag 3.0-M1, should modified (un-updated) versions be
> checked into the repository?
> Help, what do I need to do to resolve this?
>
>
> Regards,
> Ralph Holland
> www.arising.com.au/aviation
> _______________________________________________________________________
> This email message and any accompanying attachments may contain
> information that is confidential and intended only for the use
> of the addressee(s) named above. It may also be privileged.
> If you are not the intended recipient do not read, use,
> disseminate, distribute or copy or take any action in reliance on it.
> If you have received this message in error, please notify the sender
> immediately, and delete this message. It is your responsibility to
> check attachments for viruses or defects.
> _______________________________________________________________________
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org