Hello

I have checked out source code. And tried to build distrubution package
using with mvn package. Build was successfull except few warnings.

[WARNING] Cannot include project artifact:
org.apache.ftpserver:ftpserver:pom:1.1.0-SNAPSHOT; it doesn't have an
associated file or directory.

When i try to invoce bin/ftpd.bat i got classNotFoundException

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ftpserver/main/CommandLine

Probably that's because folder distribution\common\lib does not contains any
jars files.

Maven version : 3.0.3
Java version: 1.6.0_21


Full build log below. Thank you.



D:\ftpserver\distribution>mvn package
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache FtpServer 1.1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-alpha-3:enforce (default) @ ftpserver
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.0:process (default) @ ftpserver
---
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-2:attached (bin) @ ftpserver ---
[INFO] Reading assembly descriptor: src/main/assemblies/bin.xml
[INFO] Processing DependencySet (output=common/lib)
[WARNING] Cannot include project artifact:
org.apache.ftpserver:ftpserver:pom:1.
1.0-SNAPSHOT; it doesn't have an associated file or directory.
[WARNING] The following patterns were never triggered in this artifact
exclusion
 filter:
o  'org.apache.ftpserver:ftpserver'

[INFO] Building zip:
D:\ftpserver\distribution\target\apache-ftpserver-1.1.0-SNA
PSHOT.zip
[INFO] Processing DependencySet (output=common/lib)
[WARNING] Cannot include project artifact:
org.apache.ftpserver:ftpserver:pom:1.
1.0-SNAPSHOT; it doesn't have an associated file or directory.
[WARNING] The following patterns were never triggered in this artifact
exclusion
 filter:
o  'org.apache.ftpserver:ftpserver'

[INFO] Building tar :
D:\ftpserver\distribution\target\apache-ftpserver-1.1.0-SN
APSHOT.tar.gz
[INFO] Processing DependencySet (output=common/lib)
[WARNING] Cannot include project artifact:
org.apache.ftpserver:ftpserver:pom:1.
1.0-SNAPSHOT; it doesn't have an associated file or directory.
[WARNING] The following patterns were never triggered in this artifact
exclusion
 filter:
o  'org.apache.ftpserver:ftpserver'

[INFO] Building tar :
D:\ftpserver\distribution\target\apache-ftpserver-1.1.0-SN
APSHOT.tar.bz2
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-2:attached (src) @ ftpserver ---
[INFO] Reading assembly descriptor: src/main/assemblies/src.xml
[INFO] Building zip:
D:\ftpserver\distribution\target\apache-ftpserver-1.1.0-SNA
PSHOT-src.zip
[INFO] Building tar :
D:\ftpserver\distribution\target\apache-ftpserver-1.1.0-SN
APSHOT-src.tar.gz
[INFO] Building tar :
D:\ftpserver\distribution\target\apache-ftpserver-1.1.0-SN
APSHOT-src.tar.bz2
[INFO]
[INFO] >>> maven-source-plugin:2.0.4:jar (create-source-jar) @ ftpserver >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-alpha-3:enforce (default) @ ftpserver
---
[INFO]
[INFO] <<< maven-source-plugin:2.0.4:jar (create-source-jar) @ ftpserver <<<
[INFO]
[INFO] --- maven-source-plugin:2.0.4:jar (create-source-jar) @ ftpserver ---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8.915s
[INFO] Finished at: Mon May 30 14:35:10 MSD 2011
[INFO] Final Memory: 43M/543M
[INFO]
------------------------------------------------------------------------

Reply via email to