Forgot to tell, when building OpenJPA in a clean repo, you have to build it
with tests.

Thanks
Milinda

On Mon, Oct 25, 2010 at 8:48 PM, Milinda Pathirage <[email protected]> wrote:

> We don't need to build OpenJPA. We should remove it from the build and the
> branch. Currently we are using released version. I'll remove it.
>
> Thanks
> Milinda
>
> On Mon, Oct 25, 2010 at 7:51 PM, Isuru Suriarachchi <[email protected]>wrote:
>
>> Please fix..
>>
>> [INFO] Building OpenJPA Slice
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/openjpa/openjpa-persistence-jdbc/2.0.0-wso2v1/openjpa-persistence-jdbc-2.0.0-wso2v1-tests.jar
>> [INFO] Unable to find resource
>> 'org.apache.openjpa:openjpa-persistence-jdbc:jar:tests:2.0.0-wso2v1' in
>> repository central (http://repo1.maven.org/maven2)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.apache.openjpa:openjpa-persistence-jdbc:jar:tests:2.0.0-wso2v1
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>       mvn install:install-file -DgroupId=org.apache.openjpa
>> -DartifactId=openjpa-persistence-jdbc -Dversion=2.0.0-wso2v1
>> -Dclassifier=tests -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.apache.openjpa
>> -DartifactId=openjpa-persistence-jdbc -Dversion=2.0.0-wso2v1
>> -Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId=[id]
>>
>>   Path to dependency:
>>       1) org.apache.openjpa:openjpa-slice:jar:2.0.0-wso2v1
>>       2)
>> org.apache.openjpa:openjpa-persistence-jdbc:jar:tests:2.0.0-wso2v1
>>
>> ----------
>> 1 required artifact is missing.
>>
>> Thanks,
>> ~Isuru
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead & Product Manager, WSO2 Application Server
>> WSO2 Inc. http://wso2.com
>> email : [email protected]
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Milinda Pathirage
> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
> http://wso2.com
> Blog: http://blog.mpathirage.com
>
> Lean Enterprise Middleware
>



-- 
Milinda Pathirage
Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
http://wso2.com
Blog: http://blog.mpathirage.com

Lean Enterprise Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to