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 "Robert L. Gurule" <rg...@lanl.gov> on 2010/01/21 00:10:25 UTC

James build error

Folks,
  I am using eclipse with maven2 and am getting the following error when
attempting to build James/Server.

Any ideas?

THanks,

Robert

[INFO] Unable to load parent project from a relative path: Could not find
the model file 'C:\Documents and Settings\106052\My
Documents\james\maven.1264004763546\pom.xml'. for project unknown at
C:\Documents and Settings\106052\My
Documents\james\maven.1264004763546\pom.xml
[INFO] Parent project loaded from repository.
[INFO] [jar:test-jar]
[INFO] [statemgmt:end-fork]
[INFO] Ending forked execution [fork id: 1308482210]
[INFO] [assembly:assembly]
[ERROR]

The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-assembly-plugin
Version: 2.2-beta-5
Mojo: assembly
brought in via: Direct invocation

While building project:
Group-Id: org.apache.james
Artifact-Id: james-server
Version: 3.0-M1
>From file: C:\Documents and Settings\106052\My
Documents\james\maven.1264004763546\james-server\pom.xml
Reason: Error reading assemblies: No assembly descriptors found.



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


Re: James build error

Posted by Robert Gurule' <rg...@lanl.gov>.
Hi James,
   If I get a successfull build how do I run James-server 3.0 Imap?

The circumstances are:

   I'm using eclipse and M2Eclipse, I when I use the command
Debug-generate sources I get successfull build, when I use Debug- Maven
Build i  get the following:


[ERROR]

The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-remote-resources-plugin
Version: 1.1
Mojo: process
brought in via: POM

While building project:
Group-Id: org.apache.james
Artifact-Id: james-server-core-function
Version: 3.0-M1
>From file: C:\Documents and Settings\106052\My
Documents\james\maven.1264004763546\james-server\core-function\pom.xml
Reason: Failed to resolve dependencies for one or more projects in the
reactor. Reason: Missing:
----------
1) org.apache.james:james-server-core-library:test-jar:tests: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-core-library -Dversion=3.0-M1
-Dclassifier=tests -Dpackaging=test-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-core-library -Dversion=3.0-M1
-Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  	1) org.apache.james:james-server-core-function:jar:3.0-M1
  	2) org.apache.james:james-server-core-library:test-jar:tests:3.0-M1

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

for artifact:
  org.apache.james:james-server-core-function:jar:3.0-M1

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  module-local (file://stage),
  maven2-repository.dev.java.net (http://download.java.net/maven/2/),
  central (http://repo1.maven.org/maven2)

Thanks,

Robert




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


Re: James build error

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

how you build james ? mvn clean package ?

Thx,
Norman


2010/1/21 Robert L. Gurule <rg...@lanl.gov>:
> Folks,
>  I am using eclipse with maven2 and am getting the following error when
> attempting to build James/Server.
>
> Any ideas?
>
> THanks,
>
> Robert
>
> [INFO] Unable to load parent project from a relative path: Could not find
> the model file 'C:\Documents and Settings\106052\My
> Documents\james\maven.1264004763546\pom.xml'. for project unknown at
> C:\Documents and Settings\106052\My
> Documents\james\maven.1264004763546\pom.xml
> [INFO] Parent project loaded from repository.
> [INFO] [jar:test-jar]
> [INFO] [statemgmt:end-fork]
> [INFO] Ending forked execution [fork id: 1308482210]
> [INFO] [assembly:assembly]
> [ERROR]
>
> The following mojo encountered an error while executing:
> Group-Id: org.apache.maven.plugins
> Artifact-Id: maven-assembly-plugin
> Version: 2.2-beta-5
> Mojo: assembly
> brought in via: Direct invocation
>
> While building project:
> Group-Id: org.apache.james
> Artifact-Id: james-server
> Version: 3.0-M1
> From file: C:\Documents and Settings\106052\My
> Documents\james\maven.1264004763546\james-server\pom.xml
> Reason: Error reading assemblies: No assembly descriptors found.
>
>
>
> ---------------------------------------------------------------------
> 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