RE: A problem about deploying project.

2008-05-29 Thread nicklist
Could you give a more detailed error description by running the command with 
the -e (exceptions) or even -X (debug) parameters?

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



-Original Message-
From: youhaodeyi [mailto:[EMAIL PROTECTED]
Sent: Thu 5/29/2008 11:35
To: users@maven.apache.org
Subject: A problem about deploying project.
 

I want to deploy my project to a Host by FTP. I set the
distributionManagement and run the command mvn deploy. This is my pom
file:

modelVersion4.0.0/modelVersion
groupIdtest/groupId
artifactIdtest/artifactId
version1.0-SNAPSHOT/version

...
distributionManagement
repository
idLocal Repository/id
nameInternal Repository/name
urlftp://3.36.231.203//url
/repository
snapshotRepository
idLocal Repository/id
nameInternal Repository/name
urlftp://3.36.231.203//url
/snapshotRepository
/distributionManagement
build
  extensions
 extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-webdav/artifactId
version1.0-beta-1/version
/extension
   /extensions
/build
...

When run the command mvn deploy I got this error:

[INFO] Retrieving previous build number from Local Repository
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error retrieving previous build number for artifact 'comtest:jar':
repository metadata for: 'snapshot test:test:1.0-SNAPSHOT' could not be
retrieved from rep
ository: Local Repository due to an error: Required directory: '/' is
missing
-- 
View this message in context: 
http://www.nabble.com/A-problem-about-deploying-project.-tp17531032p17531032.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: A problem about deploying project.

2008-05-29 Thread youhaodeyi

Yes, this is the detailed message:

[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] [install:install]
[INFO] Installing
D:\workspace\SecondImagesCopy\mule-transport-dicom-net\target\
mule-transport-dicom-net-1.0-SNAPSHOT.jar to C:\Documents and
Settings\user\.m2\
repository\com\ge\sic\mule\dicom\mule-transport-dicom-net\1.0-SNAPSHOT\mule-tran
sport-dicom-net-1.0-SNAPSHOT.jar
[INFO] [deploy:deploy]
altDeploymentRepository = null
[INFO] Retrieving previous build number from Local Repository
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error retrieving previous build number for artifact
'com.ge.sic.mule.dico
m:mule-transport-dicom-net:jar': repository metadata for: 'snapshot
com.ge.sic.m
ule.dicom:mule-transport-dicom-net:1.0-SNAPSHOT' could not be retrieved from
rep
ository: Local Repository due to an error: Required directory: '/' is
missing


[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error retrieving
previou
s build number for artifact
'com.ge.sic.mule.dicom:mule-transport-dicom-net:jar'
: repository metadata for: 'snapshot
com.ge.sic.mule.dicom:mule-transport-dicom-
net:1.0-SNAPSHOT' could not be retrieved from repository: Local Repository
due t
o an error: Required directory: '/' is missing
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error retrieving
prev
ious build number for artifact
'com.ge.sic.mule.dicom:mule-transport-dicom-net:j
ar': repository metadata for: 'snapshot
com.ge.sic.mule.dicom:mule-transport-dic
om-net:1.0-SNAPSHOT' could not be retrieved from repository: Local
Repository du
e to an error: Required directory: '/' is missing
at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174
)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
... 16 more
Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException:
Error
 retrieving previous build number for artifact
'com.ge.sic.mule.dicom:mule-trans
port-dicom-net:jar': repository metadata for: 'snapshot
com.ge.sic.mule.dicom:mu
le-transport-dicom-net:1.0-SNAPSHOT' could not be retrieved from repository:
Loc
al Repository due to an error: Required directory: '/' is missing
at
org.apache.maven.artifact.transform.SnapshotTransformation.transformF
orDeployment(SnapshotTransformation.java:106)
at
org.apache.maven.artifact.transform.DefaultArtifactTransformationMana
ger.transformForDeployment(DefaultArtifactTransformationManager.java:78)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Def
aultArtifactDeployer.java:71)
at
org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162
)
... 18 more
Caused by:
org.apache.maven.artifact.repository.metadata.RepositoryMetadataResol
utionException: repository metadata for: 'snapshot

Re: A problem about deploying project.

2008-05-29 Thread Martin

ftp://3.36.231.203/
ftp is the protocol
3.3.36.23.203 is the host
/ is the folder
are you sure you want to retrieve from root /
instead of a real folder?

Martin
- Original Message - 
From: youhaodeyi [EMAIL PROTECTED]

To: users@maven.apache.org
Sent: Thursday, May 29, 2008 5:35 AM
Subject: A problem about deploying project.




I want to deploy my project to a Host by FTP. I set the
distributionManagement and run the command mvn deploy. This is my pom
file:

modelVersion4.0.0/modelVersion
groupIdtest/groupId
artifactIdtest/artifactId
version1.0-SNAPSHOT/version

...
distributionManagement
repository
idLocal Repository/id
nameInternal Repository/name
urlftp://3.36.231.203//url
/repository
snapshotRepository
idLocal Repository/id
nameInternal Repository/name
urlftp://3.36.231.203//url
/snapshotRepository
/distributionManagement
build
 extensions
extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-webdav/artifactId
version1.0-beta-1/version
/extension
  /extensions
/build
...

When run the command mvn deploy I got this error:

[INFO] Retrieving previous build number from Local Repository
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error retrieving previous build number for artifact 'comtest:jar':
repository metadata for: 'snapshot test:test:1.0-SNAPSHOT' could not be
retrieved from rep
ository: Local Repository due to an error: Required directory: '/' is
missing
--
View this message in context: 
http://www.nabble.com/A-problem-about-deploying-project.-tp17531032p17531032.html

Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: A problem about deploying project.

2008-05-29 Thread youhaodeyi

I have set the default folder for FTP users. Do I need to specify the folder
again?


mgainty wrote:
 
 ftp://3.36.231.203/
 ftp is the protocol
 3.3.36.23.203 is the host
 / is the folder
 are you sure you want to retrieve from root /
 instead of a real folder?
 
 Martin
 - Original Message - 
 From: youhaodeyi [EMAIL PROTECTED]
 To: users@maven.apache.org
 Sent: Thursday, May 29, 2008 5:35 AM
 Subject: A problem about deploying project.
 
 

 I want to deploy my project to a Host by FTP. I set the
 distributionManagement and run the command mvn deploy. This is my pom
 file:

 modelVersion4.0.0/modelVersion
 groupIdtest/groupId
 artifactIdtest/artifactId
 version1.0-SNAPSHOT/version

 ...
 distributionManagement
 repository
 idLocal Repository/id
 nameInternal Repository/name
 urlftp://3.36.231.203//url
 /repository
 snapshotRepository
 idLocal Repository/id
 nameInternal Repository/name
 urlftp://3.36.231.203//url
 /snapshotRepository
 /distributionManagement
 build
  extensions
 extension
 groupIdorg.apache.maven.wagon/groupId
 artifactIdwagon-webdav/artifactId
 version1.0-beta-1/version
 /extension
   /extensions
 /build
 ...

 When run the command mvn deploy I got this error:

 [INFO] Retrieving previous build number from Local Repository
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error retrieving previous build number for artifact 'comtest:jar':
 repository metadata for: 'snapshot test:test:1.0-SNAPSHOT' could not be
 retrieved from rep
 ository: Local Repository due to an error: Required directory: '/' is
 missing
 -- 
 View this message in context: 
 http://www.nabble.com/A-problem-about-deploying-project.-tp17531032p17531032.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/A-problem-about-deploying-project.-tp17531032p17535681.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]