archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Minto van der Sluis <mi...@multimach.com>
Subject Re: Building archiva failed
Date Wed, 06 Dec 2006 18:39:48 GMT

I have maven 2.0.4 as well. I did the following and got the same results:

    svn up
    mvn -U install

Even the following patch did not have the desired result. But at least it
reduces 1 warning.

Index: archiva-plexus-runtime/pom.xml
===================================================================
--- archiva-plexus-runtime/pom.xml      (revision 483167)
+++ archiva-plexus-runtime/pom.xml      (working copy)
@@ -132,7 +132,9 @@
           </execution>
         </executions>
         <configuration>
-          <descriptor>src/main/assembly/bin.xml</descriptor>
+          <descriptors>
+            <descriptor>src/main/assembly/bin.xml</descriptor>
+          </descriptors>
           <finalName>archiva</finalName>
         </configuration>
       </plugin>

Next I will try to do a full rebuild from scratch (mvn clean install). Let's
see if that helps.
No it did not :-( . I still have the same results

[INFO] [jar:jar]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
/home/minto/rommel/test/maven/archiva/archiva-plexus-runtime/target/archiva-plexus-runtime-1.0-SNAPSHOT.jar
[INFO] [assembly:single {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating assembly: You must set at least one file.

Anyone with more clues?

Kind regards, 

Minto van der Sluis



Arnaud HERITIER wrote:
> 
> Which version of maven 2 are you using ?
> I built it successfully with maven 2.0.4 and some plugins updated (mvn -U)
> 
> Arnaud
> 
> 
> Minto van der Sluis wrote:
>> 
>> Hi folks,
>> 
>> I just tried to build archiva like mentioned in the documentation.
>> Unfortunately I get 'rewarded' with an error. When I do mvn install I get
>> the following error:
>> 
>> ...
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building Archiva Runtime Generator
>> [INFO]    task-segment: [install]
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] [plexus:descriptor {execution: default}]
>> [WARNING] Specified source directory isn't a directory:
>> '/home/minto/rommel/test/maven/archiva/archiva-plexus-runtime/src/main/java'.
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [plexus:merge-descriptors {execution: default}]
>> [INFO] [compiler:compile]
>> [INFO] No sources to compile
>> [INFO] [resources:testResources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:testCompile]
>> [INFO] No sources to compile
>> [INFO] [surefire:test]
>> [INFO] No tests to run.
>> [INFO] [jar:jar]
>> [WARNING] JAR will be empty - no content was marked for inclusion!
>> [INFO] Building jar:
>> /home/minto/rommel/test/maven/archiva/archiva-plexus-runtime/target/archiva-plexus-runtime-1.0-SNAPSHOT.jar
>> [WARNING] DEPRECATED [descriptor]: Please use descriptors instead
>> [INFO] [assembly:single {execution: default}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error creating assembly: You must set at least one file.
>> 
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
>> assembly:
>>  You must set at least one file.
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
>> ultLifecycleExecutor.java:559)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
>> fecycle(DefaultLifecycleExecutor.java:475)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
>> ltLifecycleExecutor.java:454)
>> ...
>> 
>> However everthing seems to compile just fine as mvn compile does not give
>> me an error.
>> 
>> You guys probably wanna know what revision I am on, so here it is:
>> 
>>     minto@noisy:~/rommel/test/maven/archiva$ svn up
>>     At revision 482978.
>> 
>> Does anyone have a clue what caused this?
>> 
>> Kind regards,
>> 
>> Minto van der Sluis
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-archiva-failed-tf2766950.html#a7725087
Sent from the archiva-users mailing list archive at Nabble.com.


Mime
View raw message