docdoku / docdoku-plm-sample-data

Sample data to load into a docdoku-plm instance server
GNU Affero General Public License v3.0
1 stars 4 forks source link

Doesn't work with 2.0 #5

Open LeOSW42 opened 8 years ago

LeOSW42 commented 8 years ago

Hi all !

I'm trying to import this data into my fresh install of DocDokuPLM (or even on the cloud version) to do a simple test.

root@vps206377:~/docdoku-plm-sample-data# ./loadSample.sh 42 leosw PASSWORD www.docdokuplm.net
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.ow2.docdoku:docdoku-sample-loader:[unknown-version]: Could not find artifact org.ow2.docdoku:docdoku-plm:pom:2.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 6, column 13
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.ow2.docdoku:docdoku-sample-loader:[unknown-version] (/root/docdoku-plm-sample-data/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.ow2.docdoku:docdoku-sample-loader:[unknown-version]: Could not find artifact org.ow2.docdoku:docdoku-plm:pom:2.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

I also tried on a Windows computer:

C:\Users\Leo\Downloads\docdoku-plm-sample-data-master>loadSample.bat 42 leosw PASSWORD www.docdokuplm.net

C:\Users\Leo\Downloads\docdoku-plm-sample-data-master>java -classpath target\docdoku-sample-loader.jar;..\docdoku-common\target\docdoku-common.jar:../docdoku-cli/target/docdoku-cli.jar com.docdoku.loaders.products.ProductStructureSampleLoader
Erreur : impossible de trouver ou charger la classe principale com.docdoku.loaders.products.ProductStructureSampleLoader

Léo :fr:

nikilmethew commented 5 years ago

Hi @LeOSW42

I'm facing the same issue in Ubuntu.

How to overcome this issue.