[Yanel-usage] build clean-all and Git

Darius Miliauskas dariui.miliauskui at gmail.com
Tue Sep 17 17:24:50 CEST 2013


Dear Michael,

ok, I tried to install manually the missing artifact (I followed the
instructions from here:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html),
however, I got an error:

C:\Users\DARIUS\Documents\GitHub\yanel>mvn install:install-file
-DgroupId=org.scala-lang -DartifactId=scala-library -Dversion=2.9.1
-Dpackaging=jar -Dfile=C:\Users\DARIUS\Desktop\Wyona\Apache
Jena\scala-library-2.9.1.RC4.jar
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.118s
[INFO] Finished at: Tue Sep 17 18:20:02 EEST 2013
[INFO] Final Memory: 4M/107M
[INFO]
------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is
no POM
 in this directory (C:\Users\DARIUS\Documents\GitHub\yanel). Please verify
you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProject
Exception
'cmd' is not recognized as an internal or external command,
operable program or batch file.

It looks that the POM file is missing.


Thanks,

Darius



2013/9/11 Michael Wechner <michael.wechner at wyona.com>

>  Dear Darius
>
> Please try the instructions below on how to deploy it manually (see 'mvn
> install:install-file)
>
> HTH
>
> Michael*
>
> *
> Am 11.09.13 19:25, schrieb Darius Miliauskas:
>
> Dear Michael,
>
>  I have no clue but I downloaded the library org.scala-lang:scala-library:jar:2.9.1
> from "
> http://mvnrepository.com/artifact/org.scala-lang/scala-library/2.9.1.RC4".
> Is it possible to add it to yanel somehow?
>
>
>  Thanks,
>
>  Darius
>
>
> 2013/9/1 Michael Wechner <michael.wechner at wyona.com>
>
>>  Dear Darius
>>
>> It seems that the build works fine inside the github shell, but that
>> there is an issue resolving the library*
>>
>> org.scala-lang:scala-library:jar:2.9.1
>>
>> *Maybe you can investigate why this is happening on your computer, but
>> it seems to me that this has nothing to do
>> with the build itself or using the github shell.
>>
>> Thanks
>>
>> Michael
>>
>> Am 31.08.13 19:05, schrieb Darius Miliauskas:
>>
>> Dear Michael,
>>
>>  yes, I tried various combinations. Here is the output in GitShell after
>> I tried several commands which can be recognized (build clean-all is not
>> recognized as command):
>>
>>  *C:\Users\DARIUS\Documents\GitHub\yanel [master]> .\build.bat clean-all*
>> *Apache Ant version 1.7.1 compiled on June 27 2008*
>> *clean-all*
>> *"INFO: Building Yanel..."*
>> *Buildfile: src\build\build.xml*
>> *
>> *
>> *init:*
>> *INFO: Building with Apache Ant version 1.7.1 compiled on June 27 2008
>> and Java v*
>> *ersion 1.6 (JAVA_HOME=C:\Program Files\Java\jdk1.7.0_05\jre, User:
>> DARIUS)*
>> *Yanel Home Dir: C:\Users\DARIUS\Documents\GitHub\yanel\src\build/../../*
>> *
>> *
>> *probe-proxy:*
>> *Check if proxy has been set ...*
>> *
>> *
>> *dependencies:*
>> *[INFO] snapshot org.apache.jackrabbit:jackrabbit-core:1.4-SNAPSHOT:
>> checking for*
>> * updates from wyona.remote.repository*
>> *[INFO] snapshot org.apache.jackrabbit:jackrabbit:1.4-SNAPSHOT: checking
>> for upda*
>> *tes from wyona.remote.repository*
>> *[INFO] snapshot org.apache.jackrabbit:jackrabbit-api:1.4-SNAPSHOT:
>> checking for*
>> *updates from wyona.remote.repository*
>> *[INFO] snapshot
>> org.apache.jackrabbit:jackrabbit-jcr-commons:1.4-SNAPSHOT: check*
>> *ing for updates from wyona.remote.repository*
>> *[INFO] snapshot
>> org.apache.jackrabbit:jackrabbit-spi-commons:1.4-SNAPSHOT: check*
>> *ing for updates from wyona.remote.repository*
>> *[INFO] snapshot org.apache.jackrabbit:jackrabbit-spi:1.4-SNAPSHOT:
>> checking for*
>> *updates from wyona.remote.repository*
>> *[INFO] snapshot
>> org.apache.jackrabbit:jackrabbit-text-extractors:1.4-SNAPSHOT: c*
>> *hecking for updates from wyona.remote.repository*
>> *Downloading:
>> wyona-com-boost/Log4JParsingUtils/2.0.5-r197413947b9/Log4JParsingUt*
>> *ils-2.0.5-r197413947b9.pom from wyona.remote.repository*
>> *Downloading:
>> wyona-com-boost/Log4JParsingUtils/2.0.5-r197413947b9/Log4JParsingUt*
>> *ils-2.0.5-r197413947b9.pom from central*
>> *Downloading: org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
>> from wyo*
>> *na.remote.repository*
>> *Downloading: org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
>> from cen*
>> *tral*
>> *An error has occurred while processing the Maven artifact tasks.*
>> * Diagnosis:*
>> *
>> *
>> *Unable to resolve artifact: Missing:*
>> *----------*
>> *1) org.scala-lang:scala-library:jar:2.9.1*
>> *
>> *
>> *  Try downloading the file manually from the project website.*
>> *
>> *
>> *  Then, install it using the command:*
>>  *      mvn install:install-file -DgroupId=org.scala-lang
>> -DartifactId=scala-libra*
>> *ry -Dversion=2.9.1 -Dpackaging=jar -Dfile=/path/to/file*
>> *
>> *
>> *  Alternatively, if you host your own repository you can deploy the
>> file there:*
>> *
>> *
>> *      mvn deploy:deploy-file -DgroupId=org.scala-lang
>> -DartifactId=scala-library*
>> * -Dversion=2.9.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId*
>> *=[id]*
>> *
>> *
>> *  Path to dependency:*
>> *        1) org.apache.maven:super-pom:jar:2.0*
>> *        2) wyona-com-boost:Log4JAppender:jar:4.5.0-r197413947b9*
>> *        3) org.apache.activemq:activemq-core:jar:5.6.0*
>> *        4) org.fusesource.fuse-extra:fusemq-leveldb:jar:1.1*
>> *        5) org.scala-lang:scala-library:jar:2.9.1*
>> *
>> *
>> *----------*
>> *1 required artifact is missing.*
>> *
>> *
>> *for artifact:*
>> *  org.apache.maven:super-pom:jar:2.0*
>> *
>> *
>> *from the specified remote repositories:*
>> *  wyona.remote.repository (http://maven2.wyona.org/),*
>> *  central (http://repo1.maven.org/maven2)*
>> *
>> *
>> *
>> *
>> *
>> *
>> *
>> *
>> *BUILD FAILED*
>> *C:\Users\DARIUS\Documents\GitHub\yanel\src\build\dependencies.xml:36:
>> Unable to*
>> *resolve artifact: Missing:*
>> *----------*
>> *1) org.scala-lang:scala-library:jar:2.9.1*
>> *
>> *
>> *  Try downloading the file manually from the project website.*
>> *
>> *
>> *  Then, install it using the command:*
>>  *      mvn install:install-file -DgroupId=org.scala-lang
>> -DartifactId=scala-libra*
>> *ry -Dversion=2.9.1 -Dpackaging=jar -Dfile=/path/to/file*
>> *
>> *
>> *  Alternatively, if you host your own repository you can deploy the
>> file there:*
>> *
>> *
>> *      mvn deploy:deploy-file -DgroupId=org.scala-lang
>> -DartifactId=scala-library*
>> * -Dversion=2.9.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId*
>> *=[id]*
>> *
>> *
>> *  Path to dependency:*
>> *        1) org.apache.maven:super-pom:jar:2.0*
>> *        2) wyona-com-boost:Log4JAppender:jar:4.5.0-r197413947b9*
>> *        3) org.apache.activemq:activemq-core:jar:5.6.0*
>> *        4) org.fusesource.fuse-extra:fusemq-leveldb:jar:1.1*
>> *        5) org.scala-lang:scala-library:jar:2.9.1*
>> *
>> *
>> *----------*
>> *1 required artifact is missing.*
>> *
>> *
>> *for artifact:*
>> *  org.apache.maven:super-pom:jar:2.0*
>> *
>> *
>> *from the specified remote repositories:*
>> *  wyona.remote.repository (http://maven2.wyona.org/),*
>> *  central (http://repo1.maven.org/maven2)*
>> *
>> *
>> *
>> *
>> *Total time: 6 seconds*
>> *C:\Users\DARIUS\Documents\GitHub\yanel [master]> .\build.bat build
>> clean-all*
>> *Apache Ant version 1.7.1 compiled on June 27 2008*
>> *build*
>> *"INFO: Building Yanel..."*
>>  *Buildfile: src\build\build.xml*
>> *
>> *
>> *BUILD FAILED*
>> *Target "build" does not exist in the project "yanel-main".*
>> *
>> *
>> *Total time: 0 seconds*
>>
>>
>>  Ciao,
>>
>>  Darius
>>
>>
>> 2013/8/31 Michael Wechner <michael.wechner at wyona.com>
>>
>>>  Dear Darius
>>>
>>> What exactly do you mean it does not work in Git Shell on Windows?
>>>
>>> Have you tried
>>>
>>> ./build.sh clean-all
>>>
>>> or
>>>
>>> .\build.bat clean-all
>>>
>>> If you remember correctly you recently suggested to make a note inside
>>> the yanel README to use for example
>>>
>>> .\build.bat quick-start
>>>
>>> when using the github shell.
>>>
>>> Cheers
>>>
>>> Michael
>>>
>>> Am 30.08.13 22:59, schrieb Darius Miliauskas:
>>>
>>> Dear All,
>>>
>>>  command "build clean-all", which cleans the previous build, do not
>>> work in Git Shell in Windows but in Command line works fine. I am using
>>> Windows 7.
>>>
>>>
>>>  Best Wishes,
>>>
>>>  Darius
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Yanel-usage mailing list Yanel-usage at wyona.com
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>>
>>
>>
>>
>>
>>
>> --
>> Yanel-usage mailing list Yanel-usage at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>
>
>
>
>
>
> --
> Yanel-usage mailing list Yanel-usage at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-usage/attachments/20130917/4ef4b426/attachment-0001.html>


More information about the Yanel-usage mailing list