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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/01/11 22:06:54 UTC

[jira] Created: (IMAP-111) Remove ant build in favor of just use maven2

Remove ant build in favor of just use maven2
--------------------------------------------

                 Key: IMAP-111
                 URL: https://issues.apache.org/jira/browse/IMAP-111
             Project: JAMES Imap
          Issue Type: Task
          Components: Build System
    Affects Versions: 0.1
            Reporter: Norman Maurer
            Assignee: Norman Maurer




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Re: SMTP Async I/O - james doesn't start

Posted by Norman Maurer <no...@apache.org>.
Hi Mario,

thx for reporting must be a left-over from the last heavy refactoring.

Could you please fill a issue in jira and attach the fix there?

Thx
Norman
2010/1/13, Mario Zsilak <ma...@inew-cs.com>:
> Hi all,
>
> I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and
> uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in
> spring-beans.xml
>
> Well, start-up fails.
>
> I pin-pointed the issue to
> james-server-smtpserver-function/org.apache.james.smtpserver.mina.AsyncSMTPS
> erver to the method prepareHandlerChain() (line 197)
>
> I've attached a patch to resolve this issue, however I've no clue if this is
> the correct way :)
>
> ----------------------------------------------------------------------------
> --
>
> ### Eclipse Workspace Patch 1.0
> #P james-server-smtpserver-function
> Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> ===================================================================
> --- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> (revision 898686)
> +++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> (working copy)
> @@ -194,7 +194,7 @@
>          if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
>              handlerchainConfig.addProperty("[@coreHandlersPackage]",
> CoreCmdHandlerLoader.class.getName());
>
> -        handlerChain = getLoader().load(ProtocolHandlerChainImpl.class,
> getLogger(), handlerConfiguration);
> +        handlerChain = getLoader().load(ProtocolHandlerChainImpl.class,
> getLogger(), handlerchainConfig);
>          handlerChain.configure(handlerchainConfig);
>
>      }
>
> ----------------------------------------------------------------------------
> --
>
>
> Anyways .. now that Mina is used, he is missing a library
> "java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder".
> I've used Mina and SLF4J before, so I know that it is not enough to include
> "slf4j-api-1.5.2.jar" and "log4j-1.2.14.jar", but it needs also the bridge
> (eg.: "slf4j-log4j12-1.5.2.jar").
>
> At least James starts now; tests follow :)
>
> Kind regards,
> Mario
>
>
> ---------------------------------------------------------------------
> 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


SMTP Async I/O - james doesn't start

Posted by Mario Zsilak <ma...@inew-cs.com>.
Hi all,

I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and
uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in
spring-beans.xml

Well, start-up fails.

I pin-pointed the issue to
james-server-smtpserver-function/org.apache.james.smtpserver.mina.AsyncSMTPS
erver to the method prepareHandlerChain() (line 197)

I've attached a patch to resolve this issue, however I've no clue if this is
the correct way :)

----------------------------------------------------------------------------
--

### Eclipse Workspace Patch 1.0
#P james-server-smtpserver-function
Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
===================================================================
--- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
(revision 898686)
+++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
(working copy)
@@ -194,7 +194,7 @@
         if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
             handlerchainConfig.addProperty("[@coreHandlersPackage]",
CoreCmdHandlerLoader.class.getName());
         
-        handlerChain = getLoader().load(ProtocolHandlerChainImpl.class,
getLogger(), handlerConfiguration);
+        handlerChain = getLoader().load(ProtocolHandlerChainImpl.class,
getLogger(), handlerchainConfig);
         handlerChain.configure(handlerchainConfig);
         
     }

----------------------------------------------------------------------------
--


Anyways .. now that Mina is used, he is missing a library
"java.lang.ClassNotFoundException: org.slf4j.impl.StaticLoggerBinder".
I've used Mina and SLF4J before, so I know that it is not enough to include
"slf4j-api-1.5.2.jar" and "log4j-1.2.14.jar", but it needs also the bridge
(eg.: "slf4j-log4j12-1.5.2.jar").

At least James starts now; tests follow :)

Kind regards,
Mario


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


AW: AW: James eclipse projects

Posted by Mario Zsilak <ma...@inew-cs.com>.
Hi Tim,

That was the hint I needed!
Actually I thought that I can't use m2eclipse since I don't have eclipse
projects yet :)

Thank you and thanks to Norman again.

Kind regards,
Mario

>-----Ursprüngliche Nachricht-----
>Von: Tim-Christian Mundt [mailto:mundt@tzi.de]
>Gesendet: Mittwoch, 13. Januar 2010 11:34
>An: James Developers List
>Betreff: Re: AW: James eclipse projects
>
>Mario,
>
>you can create the eclipse project from within the subdirectories.
>Suppose you want to work on the jpa module:
>cd jpa
>mvn eclipse:eclipse
>This will create the project for the jpa module.
>
>OR, as Norman already suggested:  m2eclipse works really well and can
>import Maven projects (instead of Eclipse projects), so there is no need
>to explicitely create them.
>
>Best
>Tim
>
>
>Mario Zsilak schrieb:
>> Hi Again,
>>
>> Thanks for the help so far ...
>>
>> The command "mvn eclipse:eclipse" fails :(
>>
>> I did the following steps:
>>
>> -) svn checkout from trunk
>> -) cd stage
>> -) mvn clean compile (fails with commons-logging and commons-
>collection
>> missing, however I did this manual import: "mvn install:install-file
>> -DgroupId=commons-collections -DartifactId=commons-collections -
>Dversion=3.1
>> -Dpackaging=jar -Dfile=/path/to/file" and issue "mvn clean compile"
>again)
>> -) cd ..
>> -) mvn clean package
>> -) mvn eclipse:eclipse (fails with the following output:)
>>
>> [INFO]
>> ----------------------------------------------------------------------
>--
>> [INFO] Building Apache JAMES Server User Library
>> [INFO]    task-segment: [eclipse:eclipse]
>> [INFO]
>> ----------------------------------------------------------------------
>--
>> [INFO] Preparing eclipse:eclipse
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/james/james-server-core-
>api/3.0-M1/
>> james-server-core-api-3.0-M1.jar
>> [INFO] Unable to find resource
>> 'org.apache.james:james-server-core-api:jar:3.0-M1' in repository
>central
>> (http://repo1.maven.org/maven2)
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/james/james-server-common-
>util/3.0-
>> M1/james-server-common-util-3.0-M1.jar
>> [INFO] Unable to find resource
>> 'org.apache.james:james-server-common-util:jar:3.0-M1' in repository
>central
>> (http://repo1.maven.org/maven2)
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/james/james-server-user-
>api/3.0-M1/
>> james-server-user-api-3.0-M1.jar
>> [INFO] Unable to find resource
>> 'org.apache.james:james-server-user-api:jar:3.0-M1' in repository
>central
>> (http://repo1.maven.org/maven2)
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/james/james-server-domain-
>api/3.0-M
>> 1/james-server-domain-api-3.0-M1.jar
>> [INFO] Unable to find resource
>> 'org.apache.james:james-server-domain-api:jar:3.0-M1' in repository
>central
>> (http://repo1.maven.org/maven2)
>> [INFO]
>> ----------------------------------------------------------------------
>--
>> [ERROR] BUILD ERROR
>> [INFO]
>> ----------------------------------------------------------------------
>--
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.james:james-server-core-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-core-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-core-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-core-api:jar:3.0-M1
>>
>> 2) 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
>>
>> 3) org.apache.james:james-server-user-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-user-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-user-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-user-api:jar:3.0-M1
>>
>> 4) 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
>>
>> ----------
>> 4 required artifacts are missing.
>>
>> for artifact:
>>   org.apache.james:james-server-user-library:jar:3.0-M1
>>
>> from the specified remote repositories:
>>   apache.snapshots (http://repository.apache.org/snapshots),
>>   central (http://repo1.maven.org/maven2)
>>
>>
>>
>> -------------------------------------------------------
>>
>> Any hint is appreciated.
>>
>> Kind regards,
>> Mario
>>
>>
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Norman Maurer [mailto:norman.maurer@googlemail.com] Im Auftrag
>von
>>> Norman Maurer
>>> Gesendet: Dienstag, 12. Januar 2010 22:20
>>> An: James Developers List
>>> Betreff: Re: James eclipse projects
>>>
>>> Hi Mario,
>>>
>>> with maven there is the eclipse:eclipse goal:
>>>
>>> # mvn eclipse:eclipse
>>>
>>> If you work with eclipse anyway I would suggest installing the maven
>>> eclipse plugin:
>>>
>>> http://m2eclipse.sonatype.org/
>>>
>>> Bye,
>>> Norman
>>>
>>> Am 12.01.2010 um 22:08 schrieb Mario Zsilak:
>>>
>>>
>>>> Hi all,
>>>>
>>>> I'm not a maven user (so far) and have no experience at all.
>>>>
>>>> AFAIK, there was an ant "target" to create eclipse projects from the
>>>>
>>> source.
>>>
>>>> Now that ant got removed in favour of maven... Is there a similar
>>>>
>>> functionality in maven?
>>>
>>>> Kind regards,
>>>> Mario
>>>>
>>>>
>>>>
>>>> --------------------------------------------------------------------
>-
>>>> 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
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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



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


Re: AW: James eclipse projects

Posted by Tim-Christian Mundt <mu...@tzi.de>.
Mario,

you can create the eclipse project from within the subdirectories. 
Suppose you want to work on the jpa module:
cd jpa
mvn eclipse:eclipse
This will create the project for the jpa module.

OR, as Norman already suggested:  m2eclipse works really well and can 
import Maven projects (instead of Eclipse projects), so there is no need 
to explicitely create them.

Best
Tim


Mario Zsilak schrieb:
> Hi Again,
>
> Thanks for the help so far ...
>
> The command "mvn eclipse:eclipse" fails :(
>
> I did the following steps:
>
> -) svn checkout from trunk
> -) cd stage
> -) mvn clean compile (fails with commons-logging and commons-collection
> missing, however I did this manual import: "mvn install:install-file
> -DgroupId=commons-collections -DartifactId=commons-collections -Dversion=3.1
> -Dpackaging=jar -Dfile=/path/to/file" and issue "mvn clean compile" again)
> -) cd ..
> -) mvn clean package
> -) mvn eclipse:eclipse (fails with the following output:)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache JAMES Server User Library
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> Downloading:
> http://repo1.maven.org/maven2/org/apache/james/james-server-core-api/3.0-M1/
> james-server-core-api-3.0-M1.jar
> [INFO] Unable to find resource
> 'org.apache.james:james-server-core-api:jar:3.0-M1' in repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/james/james-server-common-util/3.0-
> M1/james-server-common-util-3.0-M1.jar
> [INFO] Unable to find resource
> 'org.apache.james:james-server-common-util:jar:3.0-M1' in repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/james/james-server-user-api/3.0-M1/
> james-server-user-api-3.0-M1.jar
> [INFO] Unable to find resource
> 'org.apache.james:james-server-user-api:jar:3.0-M1' in repository central
> (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/james/james-server-domain-api/3.0-M
> 1/james-server-domain-api-3.0-M1.jar
> [INFO] Unable to find resource
> 'org.apache.james:james-server-domain-api:jar:3.0-M1' in repository central
> (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.james:james-server-core-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-core-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-core-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-core-api:jar:3.0-M1
>
> 2) 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
>
> 3) org.apache.james:james-server-user-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-user-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-user-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-user-api:jar:3.0-M1
>
> 4) 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
>
> ----------
> 4 required artifacts are missing.
>
> for artifact:
>   org.apache.james:james-server-user-library:jar:3.0-M1
>
> from the specified remote repositories:
>   apache.snapshots (http://repository.apache.org/snapshots),
>   central (http://repo1.maven.org/maven2)
>
>
>
> -------------------------------------------------------
>
> Any hint is appreciated.
>
> Kind regards,
> Mario
>
>
>   
>> -----Ursprüngliche Nachricht-----
>> Von: Norman Maurer [mailto:norman.maurer@googlemail.com] Im Auftrag von
>> Norman Maurer
>> Gesendet: Dienstag, 12. Januar 2010 22:20
>> An: James Developers List
>> Betreff: Re: James eclipse projects
>>
>> Hi Mario,
>>
>> with maven there is the eclipse:eclipse goal:
>>
>> # mvn eclipse:eclipse
>>
>> If you work with eclipse anyway I would suggest installing the maven
>> eclipse plugin:
>>
>> http://m2eclipse.sonatype.org/
>>
>> Bye,
>> Norman
>>
>> Am 12.01.2010 um 22:08 schrieb Mario Zsilak:
>>
>>     
>>> Hi all,
>>>
>>> I'm not a maven user (so far) and have no experience at all.
>>>
>>> AFAIK, there was an ant "target" to create eclipse projects from the
>>>       
>> source.
>>     
>>> Now that ant got removed in favour of maven... Is there a similar
>>>       
>> functionality in maven?
>>     
>>> Kind regards,
>>> Mario
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>     
>
>
>
> ---------------------------------------------------------------------
> 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


AW: James eclipse projects

Posted by Mario Zsilak <ma...@inew-cs.com>.
Hi Again,

Thanks for the help so far ...

The command "mvn eclipse:eclipse" fails :(

I did the following steps:

-) svn checkout from trunk
-) cd stage
-) mvn clean compile (fails with commons-logging and commons-collection
missing, however I did this manual import: "mvn install:install-file
-DgroupId=commons-collections -DartifactId=commons-collections -Dversion=3.1
-Dpackaging=jar -Dfile=/path/to/file" and issue "mvn clean compile" again)
-) cd ..
-) mvn clean package
-) mvn eclipse:eclipse (fails with the following output:)

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache JAMES Server User Library
[INFO]    task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
Downloading:
http://repo1.maven.org/maven2/org/apache/james/james-server-core-api/3.0-M1/
james-server-core-api-3.0-M1.jar
[INFO] Unable to find resource
'org.apache.james:james-server-core-api:jar:3.0-M1' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/apache/james/james-server-common-util/3.0-
M1/james-server-common-util-3.0-M1.jar
[INFO] Unable to find resource
'org.apache.james:james-server-common-util:jar:3.0-M1' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/apache/james/james-server-user-api/3.0-M1/
james-server-user-api-3.0-M1.jar
[INFO] Unable to find resource
'org.apache.james:james-server-user-api:jar:3.0-M1' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/apache/james/james-server-domain-api/3.0-M
1/james-server-domain-api-3.0-M1.jar
[INFO] Unable to find resource
'org.apache.james:james-server-domain-api:jar:3.0-M1' in repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.james:james-server-core-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-core-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-core-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-core-api:jar:3.0-M1

2) 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

3) org.apache.james:james-server-user-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-user-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-user-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-user-api:jar:3.0-M1

4) 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

----------
4 required artifacts are missing.

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

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



-------------------------------------------------------

Any hint is appreciated.

Kind regards,
Mario


>-----Ursprüngliche Nachricht-----
>Von: Norman Maurer [mailto:norman.maurer@googlemail.com] Im Auftrag von
>Norman Maurer
>Gesendet: Dienstag, 12. Januar 2010 22:20
>An: James Developers List
>Betreff: Re: James eclipse projects
>
>Hi Mario,
>
>with maven there is the eclipse:eclipse goal:
>
># mvn eclipse:eclipse
>
>If you work with eclipse anyway I would suggest installing the maven
>eclipse plugin:
>
>http://m2eclipse.sonatype.org/
>
>Bye,
>Norman
>
>Am 12.01.2010 um 22:08 schrieb Mario Zsilak:
>
>> Hi all,
>>
>> I'm not a maven user (so far) and have no experience at all.
>>
>> AFAIK, there was an ant "target" to create eclipse projects from the
>source.
>> Now that ant got removed in favour of maven... Is there a similar
>functionality in maven?
>>
>> Kind regards,
>> Mario
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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



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


Re: James eclipse projects

Posted by Norman Maurer <no...@apache.org>.
Hi Mario,

with maven there is the eclipse:eclipse goal:

# mvn eclipse:eclipse

If you work with eclipse anyway I would suggest installing the maven eclipse plugin:

http://m2eclipse.sonatype.org/

Bye,
Norman

Am 12.01.2010 um 22:08 schrieb Mario Zsilak:

> Hi all,
> 
> I'm not a maven user (so far) and have no experience at all.
> 
> AFAIK, there was an ant "target" to create eclipse projects from the source.
> Now that ant got removed in favour of maven... Is there a similar functionality in maven?
> 
> Kind regards,
> Mario
> 
> 
> 
> ---------------------------------------------------------------------
> 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


James eclipse projects

Posted by Mario Zsilak <ma...@inew-cs.com>.
Hi all,

I'm not a maven user (so far) and have no experience at all.

AFAIK, there was an ant "target" to create eclipse projects from the source.
Now that ant got removed in favour of maven... Is there a similar functionality in maven?

Kind regards,
Mario



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


[jira] Resolved: (IMAP-111) Remove ant build in favor of just use maven2

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/IMAP-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-111.
--------------------------------

    Resolution: Fixed

> Remove ant build in favor of just use maven2
> --------------------------------------------
>
>                 Key: IMAP-111
>                 URL: https://issues.apache.org/jira/browse/IMAP-111
>             Project: JAMES Imap
>          Issue Type: Task
>          Components: Build System
>    Affects Versions: 0.1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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