You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniele Pizzoni <d....@metaware.it> on 2005/06/28 11:39:18 UTC

problems building repoclean

I'd like to begin testing maven2 with our projects. We have a internal
maven 1 repository that I need to convert in order to use maven2.

I found this mail 

http://marc.theaimsgroup.com/?l=turbine-maven-user&m=111472885821255&w=2

about the repoclean tool. I followed the instructions but it seem to
have some dependency problem.

Can someone give me an hint?

Thanks

With maven-2.0-aplha-3 i got the following log:

-----------------------------------------------------------------------
 Building a clean copy of repoclean ...
-----------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven v3-to-v4 Repository Cleaner
[INFO]
----------------------------------------------------------------------------
[INFO] maven-clean-plugin: resolved to version 2.0-alpha-3 from local
repository
[INFO] [clean:clean]
[INFO] Deleting directory /home/dan/src/repoclean/target
[INFO] maven-resources-plugin: resolved to version 2.0-alpha-3 from
local repository
[INFO] maven-compiler-plugin: resolved to version 2.0-alpha-3 from local
repository
[INFO] maven-surefire-plugin: resolved to version 2.0-alpha-3 from local
repository
[INFO] maven-jar-plugin: resolved to version 2.0-alpha-3 from local
repository
[INFO] maven-source-plugin: resolved to version 2.0-alpha-2 from local
repository
[INFO] [resources:resources]
[INFO] maven-artifact: resolved to version 2.0-20050425.084819-4 from
local repository
[INFO] maven: resolved to version 2.0-20050623.042038-4 from local
repository
[INFO] wagon-provider-api: resolved to version
1.0-alpha-3-20050429.051847-12 from local repository
[INFO] wagon: resolved to version 1.0-alpha-3-20050429.051847-9 from
local repository
[INFO] plexus-container-default: resolved to version
1.0-alpha-3-20050506.033057-12 from local repository
[INFO] plexus-containers: resolved to version
1.0-alpha-3-20050414.062456-1 from local repository
[INFO] plexus-mail-sender-simple: resolved to version
1.0-alpha-1-20050411.084517-3 from local repository
[INFO] plexus-mail-sender-api: resolved to version
1.0-alpha-1-20050411.084517-3 from local repository
[INFO] maven-model: resolved to version 2.0-20050425.085904-3 from local
repository
[INFO] [compiler:compile]
Compiling 55 source files to /home/dan/src/repoclean/target/classes
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Reason: Compilation failure
[INFO]
----------------------------------------------------------------------------
[INFO] /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java:[5,42]  cannot find symbol
symbol  : class ReleaseArtifactMetadata
location: package org.apache.maven.artifact.metadata
/home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java:[32,29]  cannot find symbol
symbol  : method getGroupId()
location: interface org.apache.maven.artifact.metadata.ArtifactMetadata
/home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java:[33,29]  cannot find symbol
symbol  : method getArtifactId()
location: interface org.apache.maven.artifact.metadata.ArtifactMetadata
/home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java:[34,29]  cannot find symbol
symbol  : method getBaseVersion()
location: interface org.apache.maven.artifact.metadata.ArtifactMetadata
/home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java:[224,39]  cannot find symbol
symbol  : class ReleaseArtifactMetadata
location: class org.apache.maven.tools.repoclean.phase.RewritePhase
/home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/discover/LegacyArtifactDiscoverer.java:[291,40]  cannot find symbol
symbol  : method
createArtifactWithClassifier(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
location: interface org.apache.maven.artifact.factory.ArtifactFactory

[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Jun 28 11:33:08 CEST 2005
[INFO] Final Memory: 5M/30M
[INFO]
----------------------------------------------------------------------------


Thanks
-- 
Daniele Pizzoni <d....@metaware.it>
Metaware S.p.A.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: problems building repoclean

Posted by Emmanuel Venisse <em...@venisse.net>.

Daniele Pizzoni wrote:
> On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote:
> 
>>we need to update the repoclean code to new apis
> 
> 
> alternatives to waiting? :)

you can convert manually your repo ;-)

> 
> Dan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: problems building repoclean

Posted by Daniele Pizzoni <d....@metaware.it>.
On Tue, 2005-06-28 at 14:05 +0200, Trygve Laugstøl wrote:
> On Tue, Jun 28, 2005 at 12:21:06PM +0200, Daniele Pizzoni wrote:
> > On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote:
> > > we need to update the repoclean code to new apis
> > 
> > alternatives to waiting? :)
> 
> Fix it.

Really I'd like someone paid me for this but they don't ;) Anyway
someone showed me the fourth way, following waiting, manual conversion
and fixing it myself...

Dan
-- 
Daniele Pizzoni <d....@metaware.it>
Metaware S.p.A.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: problems building repoclean

Posted by Trygve Laugstøl <tr...@apache.org>.
On Tue, Jun 28, 2005 at 12:21:06PM +0200, Daniele Pizzoni wrote:
> On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote:
> > we need to update the repoclean code to new apis
> 
> alternatives to waiting? :)

Fix it.

--
Trygve

Re: problems building repoclean

Posted by Daniele Pizzoni <d....@metaware.it>.
On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote:
> we need to update the repoclean code to new apis

alternatives to waiting? :)

Dan
-- 
Daniele Pizzoni <d....@metaware.it>
Metaware S.p.A.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: problems building repoclean

Posted by Emmanuel Venisse <em...@venisse.net>.
we need to update the repoclean code to new apis

Emmanuel

Daniele Pizzoni wrote:
> I'd like to begin testing maven2 with our projects. We have a internal
> maven 1 repository that I need to convert in order to use maven2.
> 
> I found this mail 
> 
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=111472885821255&w=2
> 
> about the repoclean tool. I followed the instructions but it seem to
> have some dependency problem.
> 
> Can someone give me an hint?
> 
> Thanks
> 
> With maven-2.0-aplha-3 i got the following log:
> 
> -----------------------------------------------------------------------
>  Building a clean copy of repoclean ...
> -----------------------------------------------------------------------
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Maven v3-to-v4 Repository Cleaner
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] maven-clean-plugin: resolved to version 2.0-alpha-3 from local
> repository
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/dan/src/repoclean/target
> [INFO] maven-resources-plugin: resolved to version 2.0-alpha-3 from
> local repository
> [INFO] maven-compiler-plugin: resolved to version 2.0-alpha-3 from local
> repository
> [INFO] maven-surefire-plugin: resolved to version 2.0-alpha-3 from local
> repository
> [INFO] maven-jar-plugin: resolved to version 2.0-alpha-3 from local
> repository
> [INFO] maven-source-plugin: resolved to version 2.0-alpha-2 from local
> repository
> [INFO] [resources:resources]
> [INFO] maven-artifact: resolved to version 2.0-20050425.084819-4 from
> local repository
> [INFO] maven: resolved to version 2.0-20050623.042038-4 from local
> repository
> [INFO] wagon-provider-api: resolved to version
> 1.0-alpha-3-20050429.051847-12 from local repository
> [INFO] wagon: resolved to version 1.0-alpha-3-20050429.051847-9 from
> local repository
> [INFO] plexus-container-default: resolved to version
> 1.0-alpha-3-20050506.033057-12 from local repository
> [INFO] plexus-containers: resolved to version
> 1.0-alpha-3-20050414.062456-1 from local repository
> [INFO] plexus-mail-sender-simple: resolved to version
> 1.0-alpha-1-20050411.084517-3 from local repository
> [INFO] plexus-mail-sender-api: resolved to version
> 1.0-alpha-1-20050411.084517-3 from local repository
> [INFO] maven-model: resolved to version 2.0-20050425.085904-3 from local
> repository
> [INFO] [compiler:compile]
> Compiling 55 source files to /home/dan/src/repoclean/target/classes
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Reason: Compilation failure
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java:[5,42]  cannot find symbol
> symbol  : class ReleaseArtifactMetadata
> location: package org.apache.maven.artifact.metadata
> /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java:[32,29]  cannot find symbol
> symbol  : method getGroupId()
> location: interface org.apache.maven.artifact.metadata.ArtifactMetadata
> /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java:[33,29]  cannot find symbol
> symbol  : method getArtifactId()
> location: interface org.apache.maven.artifact.metadata.ArtifactMetadata
> /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/artifact/layout/AlphaBridgingRepositoryLayout.java:[34,29]  cannot find symbol
> symbol  : method getBaseVersion()
> location: interface org.apache.maven.artifact.metadata.ArtifactMetadata
> /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/phase/RewritePhase.java:[224,39]  cannot find symbol
> symbol  : class ReleaseArtifactMetadata
> location: class org.apache.maven.tools.repoclean.phase.RewritePhase
> /home/dan/src/repoclean/src/main/java/org/apache/maven/tools/repoclean/discover/LegacyArtifactDiscoverer.java:[291,40]  cannot find symbol
> symbol  : method
> createArtifactWithClassifier(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
> location: interface org.apache.maven.artifact.factory.ArtifactFactory
> 
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Tue Jun 28 11:33:08 CEST 2005
> [INFO] Final Memory: 5M/30M
> [INFO]
> ----------------------------------------------------------------------------
> 
> 
> Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org