kyters / jlibs

Automatically exported from code.google.com/p/jlibs
1 stars 0 forks source link

Maven Repository Down #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to build or access repo.

What is the expected output? What do you see instead?
404 given.

Original issue reported on code.google.com by alist...@flightofstairs.org on 9 Feb 2012 at 5:14

GoogleCodeExporter commented 9 years ago
I tried to maven build. it works fine.

the repo http://dl.dropbox.com/u/326301/repository is not down.

can you paste your maven output which says it is down...

Original comment by santhosh.tekuri@gmail.com on 10 Feb 2012 at 1:54

GoogleCodeExporter commented 9 years ago
I suspect that I was mistaken as to the error before, but I'm still having 
issues.

I've pushed the artefacts I need up to my own repo and it works from there.

If I change back to to the project repo I get the following output:

alistair@beast:~/Projects2011/Honours/Working/Capture$ mvn -U install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Capture
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: 
/home/alistair/Dropbox/Documents/Projects2011/Honours/Working/Capture/src/main/g
roovy added.
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO] artifact org.gcontracts:gcontracts: checking for updates from honours
[INFO] artifact org.gcontracts:gcontracts: checking for updates from 
jlibs-repository
[INFO] artifact org.gcontracts:gcontracts: checking for updates from central
[INFO] snapshot jlibs:jlibs-jdbc:1.0-SNAPSHOT: checking for updates from honours
[INFO] snapshot jlibs:jlibs-jdbc:1.0-SNAPSHOT: checking for updates from 
jlibs-repository
[INFO] snapshot jlibs:jlibs-parent:1.0-SNAPSHOT: checking for updates from 
honours
[INFO] snapshot jlibs:jlibs-parent:1.0-SNAPSHOT: checking for updates from 
jlibs-repository
Downloading: 
http://flightofstairs.org/nexus/content/repositories/honours//jlibs/jlibs-parent
/1.0-SNAPSHOT/jlibs-parent-1.0-SNAPSHOT.pom
[INFO] Unable to find resource 'jlibs:jlibs-parent:pom:1.0-SNAPSHOT' in 
repository honours 
(http://flightofstairs.org/nexus/content/repositories/honours/)
Downloading: 
http://dl.dropbox.com/u/326301/repository/jlibs/jlibs-parent/1.0-SNAPSHOT/jlibs-
parent-1.0-SNAPSHOT.pom
[INFO] Unable to find resource 'jlibs:jlibs-parent:pom:1.0-SNAPSHOT' in 
repository jlibs-repository (http://dl.dropbox.com/u/326301/repository)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: null:jlibs-jdbc:jar:null

Reason: Cannot find parent: jlibs:jlibs-parent for project: 
null:jlibs-jdbc:jar:null for project null:jlibs-jdbc:jar:null

This may be due to misconfiguration on my part, so this can probably be closed 
if no-one else has had issues.

Cheers.

Original comment by alist...@flightofstairs.org on 10 Feb 2012 at 3:09

GoogleCodeExporter commented 9 years ago
I got the issue.

earlier the parent pom which each module inherits AND the pom which references 
all modules were same.
recently i splitterd them int two files. this has caused the issue.

I haaaaaaaaaate maven.

i am thinking of migrating to Gradle. please bear this until it is migrated....

Original comment by santhosh.tekuri@gmail.com on 10 Feb 2012 at 4:22

GoogleCodeExporter commented 9 years ago
will you try now and see whether it works...

Original comment by santhosh.tekuri@gmail.com on 11 Feb 2012 at 5:23

GoogleCodeExporter commented 9 years ago
Repository is down again...

Original comment by BigBa...@gmail.com on 5 Nov 2012 at 11:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I moved maven repository from dropbox to github;
please try with following maven repository url:

https://github.com/santhosh-tekuri/maven-repository/raw/master/

Original comment by santhosh.tekuri@gmail.com on 8 Mar 2013 at 9:45

GoogleCodeExporter commented 9 years ago
marking as fixed;

Original comment by santhosh.tekuri@gmail.com on 8 Mar 2013 at 9:51

GoogleCodeExporter commented 9 years ago
Repository is down again

Original comment by hindsh...@gmail.com on 18 Feb 2015 at 12:50

GoogleCodeExporter commented 9 years ago
the repository http://dl.dropbox.com/u/326301/repository is not down

it looks like you are trying to open above url in browser and browser says not 
found.

if you want to browse using webbrowser use 
http://dl.dropbox.com/u/326301/repository/index.html

Original comment by santhosh.tekuri@gmail.com on 22 Feb 2015 at 1:11

GoogleCodeExporter commented 9 years ago
I am trying to download Jlibs for Maven , but without success. repository might 
be offline. Help me.

Original comment by maicon.f...@gmail.com on 6 Mar 2015 at 7:43

GoogleCodeExporter commented 9 years ago
can you copy paste the mvn error you are getting...

Original comment by santhosh.tekuri@gmail.com on 6 Mar 2015 at 7:54

GoogleCodeExporter commented 9 years ago
Buildfile: C:\Users\maicon.funke\workspace\DynamicMapper\build.xml
eclipse:
     [exec] [INFO] Scanning for projects...
     [exec] [INFO]                                                                         
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Building dynamicmapper 1.0-SNAPSHOT
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] 
     [exec] [INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) > generate-resources @ dynamicmapper >>>
     [exec] [INFO] 
     [exec] [INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) < generate-resources @ dynamicmapper <<<
     [exec] [INFO] 
     [exec] [INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ dynamicmapper ---
     [exec] [INFO] Using Eclipse Workspace: C:\Users\maicon.funke\workspace
     [exec] [WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C:\Program Files\Java\jre6
     [exec] [INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
     [exec] [WARNING] While downloading javax.xml:jaxb-api:2.1
     [exec]   This artifact has been relocated to javax.xml.bind:jaxb-api:2.1.
     [exec] [WARNING] Missing POM for jlibs:jlibs-jdbc:jar:1.1-SNAPSHOT
     [exec] [WARNING] An error occurred during dependency resolution.
     [exec]     Failed to retrieve jlibs:jlibs-jdbc-1.1-SNAPSHOT
     [exec] Caused by: Failure to find jlibs:jlibs-jdbc:jar:1.1-SNAPSHOT in http://redmine:8081/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
     [exec] Try downloading the file manually from the project website.
     [exec] Then, install it using the command: 
     [exec]     mvn install:install-file -DgroupId=jlibs -DartifactId=jlibs-jdbc -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
     [exec] Alternatively, if you host your own repository you can deploy the file there: 
     [exec]     mvn deploy:deploy-file -DgroupId=jlibs -DartifactId=jlibs-jdbc -Dversion=1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
     [exec] Path to dependency: 
     [exec]     1) com.softexpert:dynamicmapper:jar:1.0-SNAPSHOT
     [exec]     2) jlibs:jlibs-jdbc:jar:1.1-SNAPSHOT
     [exec]   jlibs:jlibs-jdbc:jar:1.1-SNAPSHOT
     [exec] from the specified remote repositories:
     [exec]   nexus (http://redmine:8081/nexus/content/groups/public/, releases=true, snapshots=true)
     [exec] [INFO] Unable to read jar manifest from C:\Users\maicon.funke\.m2\repository\jlibs\jlibs-jdbc\1.1-SNAPSHOT\jlibs-jdbc-1.1-SNAPSHOT.jar
     [exec] [INFO] Not writing settings - defaults suffice
     [exec] [INFO] File C:\Users\maicon.funke\workspace\DynamicMapper\.project already exists.
     [exec]        Additional settings will be preserved, run mvn eclipse:clean if you want old settings to be removed.
     [exec] [INFO] Wrote Eclipse project for "dynamicmapper" to C:\Users\maicon.funke\workspace\DynamicMapper.
     [exec] [INFO] 
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] BUILD SUCCESS
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: 1.596 s
     [exec] [INFO] Finished at: 2015-03-06T17:05:45-03:00
     [exec] [INFO] Final Memory: 7M/121M
     [exec] [INFO] ------------------------------------------------------------------------
BUILD SUCCESSFUL
Total time: 3 seconds

Original comment by maicon.f...@gmail.com on 6 Mar 2015 at 8:06

GoogleCodeExporter commented 9 years ago
add following to your pom.xml and try again

{{{
<repositories>
<repository>
    <id>jlibs-snapshots-repository</id>
    <name>JLibs Snapshots Repository</name>
    <url>http://dl.dropbox.com/u/326301/snapshots</url>
    <layout>default</layout>
</repository>
</repositories>
}}}

Original comment by santhosh.tekuri@gmail.com on 6 Mar 2015 at 8:08

GoogleCodeExporter commented 9 years ago
The same error output. :(

Original comment by maicon.f...@gmail.com on 6 Mar 2015 at 8:16

GoogleCodeExporter commented 9 years ago
maybe it's locked to acess

Original comment by maicon.f...@gmail.com on 6 Mar 2015 at 8:26

GoogleCodeExporter commented 9 years ago
try passing -U option to maven;

for example:

mvn -U compile

Original comment by santhosh.tekuri@gmail.com on 6 Mar 2015 at 8:32

GoogleCodeExporter commented 9 years ago
The same error. :/

Original comment by maicon.f...@gmail.com on 6 Mar 2015 at 8:49

GoogleCodeExporter commented 9 years ago
looks like you are behind firewall.

try to open https://dl.dropboxusercontent.com/u/326301/repository/index.html in 
webbrowser and see whether it opens

Original comment by santhosh.tekuri@gmail.com on 6 Mar 2015 at 8:55

GoogleCodeExporter commented 9 years ago
I make a xml file using the following code below:

public static boolean makeXmlModel(File file) {
        final XSModel xsModel = new XSParser().parse(file.getPath());
        final XSInstance xsInstance = new XSInstance();
        // xsInstance.minimumElementsGenerated = 2;
        // xsInstance.maximumElementsGenerated = 4;
        xsInstance.generateOptionalElements = Boolean.TRUE; // null means random
        final QName rootElement = new QName(
                "http://www.portalfiscal.inf.br/nfe", "NFe");
        XMLDocument sampleXml;
        try {

            StreamResult streamResult = new StreamResult(DIR_TMP+"model_xml.xml");
            sampleXml = new XMLDocument(streamResult, true, 4, null);
            xsInstance.generate(xsModel, rootElement, sampleXml);
            return true;
        } catch (TransformerConfigurationException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            return false;
        } catch (IllegalArgumentException e) {
            return false;
        }
    }

---------------------
It's making a xml according as this:

NFe xmlns="http://www.portalfiscal.inf.br/nfe" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:ns="http://www.w3.org/2000/09/xmldsig#">
   <!--(ide , emit , avulsa? , dest? , retirada? , entrega? , autXML[0,10] , det , total , transp , cobr? , pag[0,100] , infAdic? , exporta? , compra? , cana?)-->
   <infNFe xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ns1="http://www.portalfiscal.inf.br/nfe" versao="versao1" Id="Id1">
      <!--(ns1:cUF , ns1:cNF , ns1:natOp , ns1:indPag , ns1:mod , ns1:serie , ns1:nNF , ns1:dhEmi , ns1:dhSaiEnt? , ns1:tpNF , ns1:idDest , ns1:cMunFG , ns1:tpImp , ns1:tpEmis , ns1:cDV , ns1:tpAmb , ns1:finNFe , ns1:indFinal , ns1:indPres , ns1:procEmi , ns1:verProc , (ns1:dhCont , ns1:xJust)? , ns1:NFref[0,500])-->
      <ns1:ide>
            <ns1:cUF>12</ns1:cUF>
            <ns1:cNF>cNF1</ns1:cNF>
            <ns1:natOp>natOp1</ns1:natOp>
            <ns1:indPag>0</ns1:indPag>
            <ns1:mod>65</ns1:mod>
            <ns1:serie>serie1</ns1:serie>
            <ns1:nNF>nNF1</ns1:nNF>
            <ns1:dhEmi>dhEmi1</ns1:dhEmi>
            <ns1:dhSaiEnt>dhSaiEnt1</ns1:dhSaiEnt>
            <ns1:tpNF>1</ns1:tpNF>
            <ns1:idDest>2</ns1:idDest>
            <ns1:cMunFG>cMunFG1</ns1:cMunFG>
            <ns1:tpImp>3</ns1:tpImp>
            <ns1:tpEmis>1</ns1:tpEmis>
            <ns1:cDV>cDV1</ns1:cDV>
            <ns1:tpAmb>1</ns1:tpAmb>
            <ns1:finNFe>2</ns1:finNFe>
            <ns1:indFinal>0</ns1:indFinal>
            <ns1:indPres>2</ns1:indPres>
            <ns1:procEmi>1</ns1:procEmi>
            <ns1:verProc>verProc1</ns1:verProc>
            <ns1:dhCont>dhCont1</ns1:dhCont>
            <ns1:xJust>xJust_________1</ns1:xJust>  [+]...

.......

How to remove the "ns1:" from tags???

Original comment by maicon.f...@gmail.com on 13 Mar 2015 at 6:51