directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keheliya Gallaba <keheliya.gall...@gmail.com>
Subject Artifact does not contain any legal files: jars-1.5.3-SNAPSHOT.jar
Date Tue, 06 Apr 2010 01:42:19 GMT
Dear Directory Developers,
I got a fresh checkout from Studio trunk yesterday and ran mvn clean
install it gives the following error.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Directory Studio
[INFO]   Apache Directory Studio Repository
[INFO]   Apache Directory Studio Jars
[INFO]   Apache Directory Studio LDIF Parser
[INFO]   Apache Directory Studio Connection Core
[INFO]   Apache Directory Studio LDAP Browser Core
[INFO]   Apache Directory Studio Connection UI
[INFO]   Apache Directory Studio LDAP Browser Common
[INFO]   Apache Directory Studio Value Editors
[INFO]   Apache Directory Studio ACI Item Editor
[INFO]   Apache Directory Studio Apache DS Configuration
[INFO]   Apache Directory Studio Apache DS Launcher
[INFO]   Apache Directory Studio Apache DS
[INFO]   Apache Directory Studio Apache DS Configuration Feature
[INFO]   Apache Directory Studio Apache DS Feature
[INFO]   Apache Directory Studio Common UI
[INFO]   Apache Directory Studio LDAP Browser Feature
[INFO]   Apache Directory Studio LDIF Editor
[INFO]   Apache Directory Studio LDAP Browser UI
[INFO]   Apache Directory Studio LDIF Editor Feature
[INFO]   Apache Directory Studio RCP
[INFO]   Apache Directory Studio RCP Feature
[INFO]   Apache Directory Studio Schema Editor
[INFO]   Apache Directory Studio Schema Editor Feature
[INFO]   Apache Directory Studio Schema Editor Help
[INFO]   Apache Directory Studio LDIF Editor Help
[INFO]   Apache Directory Studio LDAP Browser Help
[INFO]   Apache Directory Studio Apache DS Configuration Help
[INFO]   Apache Directory Studio RCP Help
[INFO]   Apache Directory Studio Apache DS Help
[INFO]   Apache Directory Studio Update Site
[INFO]   Apache Directory Studio Build
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Directory Studio
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /media/hd1/GSoC2010/apacheDirectory/studio/target
[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] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Parent project loaded from repository.
[INFO] [tools:verify-legal-files {execution: verify-legal-files}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /media/hd1/GSoC2010/apacheDirectory/studio/pom.xml
to /home/keheliya/.m2/repository/org/apache/directory/studio/parent/1.5.3-SNAPSHOT/parent-1.5.3-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Directory Studio Repository
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /media/hd1/GSoC2010/apacheDirectory/studio/repository/target
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [tools:verify-legal-files {execution: verify-legal-files}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing
/media/hd1/GSoC2010/apacheDirectory/studio/repository/pom.xml to
/home/keheliya/.m2/repository/org/apache/directory/studio/repository/1.5.3-SNAPSHOT/repository-1.5.3-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Directory Studio Jars
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /media/hd1/GSoC2010/apacheDirectory/studio/jars/target
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/media/hd1/GSoC2010/apacheDirectory/studio/jars/src/main/resources
[INFO] Copying 3 resources
[INFO] [studio:prepare-jar-package {execution: default}]
[INFO] Copying /home/keheliya/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/antlr-2.7.7.jar
[INFO] Copying /home/keheliya/.m2/repository/bouncycastle/bcprov-jdk15/140/bcprov-jdk15-140.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/bcprov-jdk15-140.jar
[INFO] Copying /home/keheliya/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/commons-codec-1.3.jar
[INFO] Copying /home/keheliya/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/commons-collections-3.2.jar
[INFO] Copying /home/keheliya/.m2/repository/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/commons-io-1.3.1.jar
[INFO] Copying /home/keheliya/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/commons-lang-2.3.jar
[INFO] Copying /home/keheliya/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/commons-logging-1.1.1.jar
[INFO] Copying /home/keheliya/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/dom4j-1.6.1.jar
[INFO] Copying /home/keheliya/.m2/repository/org/apache/httpcomponents/httpclient/4.0/httpclient-4.0.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/httpclient-4.0.jar
[INFO] Copying /home/keheliya/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/httpcore-4.0.1.jar
[INFO] Copying /home/keheliya/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/log4j-1.2.14.jar
[INFO] Copying /home/keheliya/.m2/repository/org/apache/directory/shared/shared-asn1/0.9.17/shared-asn1-0.9.17.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/shared-asn1-0.9.17.jar
[INFO] Copying /home/keheliya/.m2/repository/org/apache/directory/shared/shared-dsml-parser/0.9.17/shared-dsml-parser-0.9.17.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/shared-dsml-parser-0.9.17.jar
[INFO] Copying /home/keheliya/.m2/repository/org/apache/directory/shared/shared-ldap/0.9.17/shared-ldap-0.9.17.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/shared-ldap-0.9.17.jar
[INFO] Copying /home/keheliya/.m2/repository/org/apache/directory/shared/shared-ldap-constants/0.9.17/shared-ldap-constants-0.9.17.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/shared-ldap-constants-0.9.17.jar
[INFO] Copying /home/keheliya/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/slf4j-api-1.5.6.jar
[INFO] Copying /home/keheliya/.m2/repository/org/slf4j/slf4j-log4j12/1.5.6/slf4j-log4j12-1.5.6.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/slf4j-log4j12-1.5.6.jar
[INFO] Copying /home/keheliya/.m2/repository/xpp3/xpp3/1.1.3.4.O/xpp3-1.1.3.4.O.jar
to
               /media/hd1/GSoC2010/apacheDirectory/studio/jars/target/classes/lib/xpp3-1.1.3.4.O.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [bundle:manifest {execution: default}]
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/media/hd1/GSoC2010/apacheDirectory/studio/jars/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
/media/hd1/GSoC2010/apacheDirectory/studio/jars/target/jars-1.5.3-SNAPSHOT.jar
[INFO] [tools:verify-legal-files {execution: verify-legal-files}]
[INFO] Checking legal files in: jars-1.5.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Artifact does not contain any legal files: jars-1.5.3-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45 seconds
[INFO] Finished at: Tue Apr 06 06:42:11 IST 2010
[INFO] Final Memory: 51M/140M
[INFO] ------------------------------------------------------------------------

I wonder what is the cause of this error. Should I try cleaning up my
m2 repository? Running mvn install studio:eclipse ends up throwing the
following error too.

Error unpacking file:
/home/keheliya/.m2/repository/org/apache/directory/studio/launcher-linux-x86/1.1.0/launcher-linux-x86-1.1.0.tar.gz
to: /media/hd1/GSoC2010/apacheDirectory/studio/studio/target/ApacheDirectoryStudio-linux-x86
        org.codehaus.plexus.archiver.ArchiverException: chmod exit code was: 1

A quick google search showed me some JIRA issues regarding this and
made me think it is something related to maven-dependency-plugin. But
I have no idea how to fix that. Your help on this problem is very much
appreciated

Regards

--
Keheliya Gallaba
http://galpotha.info
http://twitter.com/keheliya

Mime
View raw message