This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch release-3.4.0-RC1
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit 7cabec9a716502c6ec17957a6da00e186c6222c4
Author: Dan Haywood <d...@haywood-associates.co.uk>
AuthorDate: Tue Jul 1 08:46:43 2025 +0100

    deletes causeway-extensions-pdfjs-fixtures artifact
    
    not released since 2020, stale code
---
 bom/pom.xml                                        |   9 +-
 extensions/vw/pdfjs/fixtures/.gitignore            |   1 -
 .../pdfjs/fixtures/logging-dn-enhance.properties   |  41 -------
 extensions/vw/pdfjs/fixtures/pom.xml               |  70 -----------
 .../src/main/java/META-INF/persistence.xml         |  26 ----
 .../wicket/pdfjs/fixture/PdfjsFixturesModule.java  |  35 ------
 .../demomodule/dom/PdfJsDemoObjectWithBlob.java    | 123 -------------------
 .../dom/PdfJsDemoObjectWithBlobMenu.java           |  68 -----------
 ...fJsDemoObjectWithBlob_createUpTo5_fakeData.java | 133 ---------------------
 .../PdfJsDemoObjectWithBlob_tearDown.java          |  32 -----
 extensions/vw/pdfjs/pom.xml                        |   8 --
 11 files changed, 1 insertion(+), 545 deletions(-)

diff --git a/bom/pom.xml b/bom/pom.xml
index dbcfb6a5bcd..335acbc664a 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -72,7 +72,7 @@ identified
         <causeway.skipTests>false</causeway.skipTests>
         <maven.test.skip>${causeway.skipTests}</maven.test.skip>
 
-        
<project.build.outputTimestamp>2025-07-01T07:40:46Z</project.build.outputTimestamp>
+        
<project.build.outputTimestamp>2025-07-01T07:47:18Z</project.build.outputTimestamp>
 
         <delombok.output>${project.build.directory}/delombok</delombok.output>
 
@@ -1333,13 +1333,6 @@ identified
                 <type>jar</type>
                 <scope>compile</scope>
             </dependency>
-            <dependency>
-                <groupId>org.apache.causeway.extensions</groupId>
-                <artifactId>causeway-extensions-pdfjs-fixtures</artifactId>
-                <version>3.4.0-SNAPSHOT</version>
-                <type>jar</type>
-                <scope>compile</scope>
-            </dependency>
             <dependency>
                 <groupId>org.apache.causeway.extensions</groupId>
                 <artifactId>causeway-extensions-pdfjs-metamodel</artifactId>
diff --git a/extensions/vw/pdfjs/fixtures/.gitignore 
b/extensions/vw/pdfjs/fixtures/.gitignore
deleted file mode 100644
index 262b1fa4ef7..00000000000
--- a/extensions/vw/pdfjs/fixtures/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-translations.pot
diff --git a/extensions/vw/pdfjs/fixtures/logging-dn-enhance.properties 
b/extensions/vw/pdfjs/fixtures/logging-dn-enhance.properties
deleted file mode 100644
index dc4d31c11d9..00000000000
--- a/extensions/vw/pdfjs/fixtures/logging-dn-enhance.properties
+++ /dev/null
@@ -1,41 +0,0 @@
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-
-# LOG4J Configuration
-# ===================
-
-# Basic logging goes to "datanucleus.log"
-log4j.appender.A1=org.apache.log4j.FileAppender
-log4j.appender.A1.File=datanucleus.log
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} (%t) %-5p [%c] - 
%m%n
-#log4j.appender.A1.Threshold=INFO
-
-# Categories
-# Each category can be set to a "level", and to direct to an appender
-
-# Default to DEBUG level for all DataNucleus categories
-log4j.logger.DataNucleus = DEBUG, A1
-
-log4j.category.com.mchange.v2.c3p0=INFO, A1
-log4j.category.com.mchange.v2.resourcepool=INFO, A1
-log4j.category.org.logicalcobwebs.proxool=INFO,A1
-
-
-# Hbase libs logging
-log4j.category.org.apache.hadoop=INFO,A1
-log4j.category.org.apache.zookeeper=INFO,A1
\ No newline at end of file
diff --git a/extensions/vw/pdfjs/fixtures/pom.xml 
b/extensions/vw/pdfjs/fixtures/pom.xml
deleted file mode 100644
index 5fabee33876..00000000000
--- a/extensions/vw/pdfjs/fixtures/pom.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>org.apache.causeway.extensions</groupId>
-        <artifactId>causeway-extensions-pdfjs</artifactId>
-        <version>3.4.0-SNAPSHOT</version>
-    </parent>
-
-    <groupId>org.causewayaddons.wicket.pdfjs</groupId>
-    <artifactId>causeway-extensions-pdfjs-fixtures</artifactId>
-    <name>Apache Causeway Ext - Wicket Viewer - pdf.js (fixtures)</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.causeway.core</groupId>
-            <artifactId>causeway-applib</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.hsqldb</groupId>
-            <artifactId>hsqldb</artifactId>
-        </dependency>
-
-
-        <dependency>
-            <groupId>org.togglz</groupId>
-            <artifactId>togglz-core</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.jdom</groupId>
-            <artifactId>jdom2</artifactId>
-        </dependency>
-
-        <!-- test -->
-        <dependency>
-            <groupId>org.togglz</groupId>
-            <artifactId>togglz-junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.projectlombok</groupId>
-            <artifactId>lombok</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-    </dependencies>
-
-</project>
diff --git 
a/extensions/vw/pdfjs/fixtures/src/main/java/META-INF/persistence.xml 
b/extensions/vw/pdfjs/fixtures/src/main/java/META-INF/persistence.xml
deleted file mode 100644
index 72b8f821c23..00000000000
--- a/extensions/vw/pdfjs/fixtures/src/main/java/META-INF/persistence.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<persistence xmlns="http://java.sun.com/xml/ns/persistence";
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; version="1.0">
-
-    <persistence-unit name="org-causewayaddons-module-pdfjs-fixture">
-    </persistence-unit>
-</persistence>
diff --git 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/PdfjsFixturesModule.java
 
b/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/PdfjsFixturesModule.java
deleted file mode 100644
index e24db74100c..00000000000
--- 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/PdfjsFixturesModule.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.causewayaddons.wicket.pdfjs.fixture;
-
-import jakarta.xml.bind.annotation.XmlRootElement;
-
-import org.apache.causeway.applib.fixturescripts.FixtureScript;
-import org.apache.causeway.testing.fixtures.applib.modules.ModuleWithFixtures;
-
-import 
org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.fixturescripts.PdfJsDemoObjectWithBlob_tearDown;
-
-@XmlRootElement(name = "module")
-public class PdfjsFixturesModule implements ModuleWithFixtures {
-
-    @Override public FixtureScript getTeardownFixture() {
-        return new PdfJsDemoObjectWithBlob_tearDown();
-    }
-
-}
diff --git 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/dom/PdfJsDemoObjectWithBlob.java
 
b/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/dom/PdfJsDemoObjectWithBlob.java
deleted file mode 100644
index 8c612a3a4d3..00000000000
--- 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/dom/PdfJsDemoObjectWithBlob.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.dom;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import javax.jdo.annotations.IdGeneratorStrategy;
-import javax.jdo.annotations.IdentityType;
-import javax.jdo.annotations.VersionStrategy;
-
-import org.wicketstuff.pdfjs.Scale;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.BookmarkPolicy;
-import org.apache.causeway.applib.annotation.DomainObject;
-import org.apache.causeway.applib.annotation.DomainObjectLayout;
-import org.apache.causeway.applib.annotation.Editing;
-import org.apache.causeway.applib.annotation.MemberOrder;
-import org.apache.causeway.applib.annotation.MemberSupport;
-import org.apache.causeway.applib.annotation.Optionality;
-import org.apache.causeway.applib.annotation.Property;
-import org.apache.causeway.applib.annotation.PropertyLayout;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-import org.apache.causeway.applib.annotation.Title;
-import org.apache.causeway.applib.annotation.Where;
-import org.apache.causeway.applib.value.Blob;
-
-import org.causewayaddons.wicket.pdfjs.cpt.applib.PdfJsViewer;
-
-import lombok.Getter;
-import lombok.Setter;
-
-@javax.jdo.annotations.PersistenceCapable(
-        identityType=IdentityType.DATASTORE,
-        schema = "wktPdfjsFixture"
-)
-@javax.jdo.annotations.DatastoreIdentity(strategy= 
IdGeneratorStrategy.IDENTITY, column = "id")
-@javax.jdo.annotations.Version(strategy=VersionStrategy.VERSION_NUMBER, column 
= "version")
-@DomainObject
-@DomainObjectLayout(
-        bookmarking = BookmarkPolicy.AS_ROOT,
-        cssClassUiEvent = PdfJsDemoObjectWithBlob.CssClassUiEvent.class
-)
-public class PdfJsDemoObjectWithBlob implements 
Comparable<PdfJsDemoObjectWithBlob> {
-
-    public static class CssClassUiEvent
-            extends 
org.apache.causeway.applib.services.eventbus.CssClassUiEvent<PdfJsDemoObjectWithBlob>
 {}
-
-    @javax.jdo.annotations.Column(allowsNull="false")
-    @Title(sequence="1")
-    @Property(editing = Editing.ENABLED)
-    @Getter @Setter
-    private String name;
-
-    @PropertyLayout(group = "name", sequence = "1")
-    public PdfJsDemoObjectWithBlob updateName(String name) {
-        setName(name);
-        return this;
-    }
-    @MemberSupport public String default0UpdateName() {
-        return getName();
-    }
-
-    @javax.jdo.annotations.Column(allowsNull="true")
-    @Property(editing = Editing.ENABLED)
-    @Getter @Setter
-    private String url;
-
-    @javax.jdo.annotations.Persistent(defaultFetchGroup="false", columns = {
-            @javax.jdo.annotations.Column(name = "blob_name"),
-            @javax.jdo.annotations.Column(name = "blob_mimetype"),
-            @javax.jdo.annotations.Column(name = "blob_bytes", jdbcType = 
"BLOB", sqlType = "LONGVARBINARY")
-    })
-    @Property(optionality = Optionality.OPTIONAL, editing = Editing.ENABLED)
-    @PropertyLayout(hidden = Where.ALL_TABLES)
-    @Setter
-    private Blob blob;
-
-    //    @Getter(onMethod = @__({ }))  throwing a compile exception :-(
-    @PdfJsViewer(initialPageNum = 1, initialScale = Scale._1_00, initialHeight 
= 600)
-    public Blob getBlob() {
-        return blob;
-    }
-
-    @Action(semantics = SemanticsOf.SAFE)
-    @PropertyLayout(group = "url", sequence = "1")
-    public URL openUrl() throws MalformedURLException {
-        return new java.net.URL(getUrl());
-    }
-    @MemberSupport public String disableOpenUrl() {
-        if (getUrl() == null)
-            return "No URL to open";
-        return null;
-    }
-
-    @Override
-    public String toString() {
-        return getName();
-    }
-
-    @Override
-    public int compareTo(final PdfJsDemoObjectWithBlob other) {
-        return 
Ordering.natural().onResultOf(PdfJsDemoObjectWithBlob::getName).compare(this, 
other);
-    }
-
-}
diff --git 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/dom/PdfJsDemoObjectWithBlobMenu.java
 
b/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/dom/PdfJsDemoObjectWithBlobMenu.java
deleted file mode 100644
index 9720c0fe4d0..00000000000
--- 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/dom/PdfJsDemoObjectWithBlobMenu.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.dom;
-
-import java.util.List;
-
-import jakarta.inject.Named;
-
-import org.apache.causeway.applib.annotation.Action;
-import org.apache.causeway.applib.annotation.ActionLayout;
-import org.apache.causeway.applib.annotation.BookmarkPolicy;
-import org.apache.causeway.applib.annotation.DomainService;
-import org.apache.causeway.applib.annotation.DomainServiceLayout;
-import org.apache.causeway.applib.annotation.MemberOrder;
-import org.apache.causeway.applib.annotation.ParameterLayout;
-import org.apache.causeway.applib.annotation.SemanticsOf;
-import org.apache.causeway.applib.services.repository.RepositoryService;
-
-@Named("wktPdfJsFixture.PdfJsDemoObjectWithBlobMenu")
-@DomainService
-@DomainServiceLayout(
-        named = "Demo",
-        menuOrder = "10.4"
-)
-@jakarta.annotation.Priority(PriorityPrecedence.EARLY)
-@RequiredArgsConstructor(onConstructor_ = { @Inject })
-public class PdfJsDemoObjectWithBlobMenu {
-
-    final RepositoryService repositoryService;
-
-    @Action(
-            semantics = SemanticsOf.SAFE
-    )
-    @ActionLayout(
-            bookmarking = BookmarkPolicy.AS_ROOT
-    )
-    @MemberOrder(sequence = "1")
-    public List<PdfJsDemoObjectWithBlob> listAllDemoObjectsWithBlob() {
-        return repositoryService.allInstances(PdfJsDemoObjectWithBlob.class);
-    }
-
-    @MemberOrder(sequence = "2")
-    public PdfJsDemoObjectWithBlob createDemoObjectWithBlob(
-            @ParameterLayout(named = "Name")
-            final String name) {
-        final PdfJsDemoObjectWithBlob obj = 
repositoryService.instantiate(PdfJsDemoObjectWithBlob.class);
-        obj.setName(name);
-        repositoryService.persist(obj);
-        return obj;
-    }
-
-}
diff --git 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/fixturescripts/PdfJsDemoObjectWithBlob_createUpTo5_fakeData.java
 
b/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/fixturescripts/PdfJsDemoObjectWithBlob_createUpTo5_fakeData.java
deleted file mode 100644
index 239730c9266..00000000000
--- 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/fixturescripts/PdfJsDemoObjectWithBlob_createUpTo5_fakeData.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package 
org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.fixturescripts;
-
-import java.io.IOException;
-import java.net.HttpURLConnection;
-import java.net.URL;
-import java.util.List;
-
-import jakarta.activation.MimeType;
-import jakarta.activation.MimeTypeParseException;
-
-import org.apache.causeway.applib.fixturescripts.FixtureScript;
-import org.apache.causeway.applib.value.Blob;
-
-import org.causewayaddons.module.fakedata.dom.FakeDataService;
-import 
org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.dom.PdfJsDemoObjectWithBlob;
-import 
org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.dom.PdfJsDemoObjectWithBlobMenu;
-
-import lombok.Getter;
-
-public class PdfJsDemoObjectWithBlob_createUpTo5_fakeData extends 
FixtureScript {
-
-    @import jakarta.inject.Inject
-    PdfJsDemoObjectWithBlobMenu demoObjectMenu;
-
-    @import jakarta.inject.Inject
-    FakeDataService fakeDataService;
-
-    @Getter
-    private Integer number ;
-    public PdfJsDemoObjectWithBlob_createUpTo5_fakeData setNumber(final 
Integer number) {
-        this.number = number;
-        return this;
-    }
-
-    @Getter
-    private List<PdfJsDemoObjectWithBlob> demoObjects = Lists.newArrayList();
-
-    @Override
-    protected void execute(final ExecutionContext ec) {
-
-        defaultParam("number", ec, 3);
-        if(getNumber() < 1 || getNumber() > 5) {
-            // there are 5 sample PDFs
-            throw new IllegalArgumentException("number of demo objects to 
create must be within [1,5]");
-        }
-
-        for (int i = 0; i < getNumber(); i++) {
-            final PdfJsDemoObjectWithBlob demoObject = create(i, ec);
-            getDemoObjects().add(demoObject);
-        }
-    }
-
-    private PdfJsDemoObjectWithBlob create(final int n, final ExecutionContext 
ec) {
-        final String name = fakeDataService.name().firstName();
-
-        final String documentName = "Sample" + (n + 1) + ".PDF";
-        final String urlStr = "http://www.pdfpdf.com/samples/"; + documentName;
-
-        Blob blob = asBlob(documentName, urlStr);
-
-        final PdfJsDemoObjectWithBlob demoObject = 
wrap(demoObjectMenu).createDemoObjectWithBlob(name);
-        wrap(demoObject).setUrl(urlStr);
-        wrap(demoObject).setBlob(blob);
-
-        return ec.addResult(this, demoObject);
-    }
-
-    private Blob asBlob(final String documentName, final String urlStr) {
-        try {
-            final URL url = new URL(urlStr);
-
-            final HttpURLConnection httpConn = openConnection(url);
-            final String contentType = httpConn.getContentType();
-            final MimeType mimeType = determineMimeType(contentType);
-
-            httpConn.disconnect();
-
-            final ByteSource byteSource = Resources.asByteSource(url);
-            final byte[] bytes = byteSource.read();
-
-            return new Blob(documentName, mimeType.getBaseType(), bytes);
-        } catch (Exception e) {
-            throw new RuntimeException(e);
-        }
-    }
-
-    private HttpURLConnection openConnection(final URL url) throws IOException 
{
-        final HttpURLConnection httpConn = (HttpURLConnection) 
url.openConnection();
-        final int responseCode = httpConn.getResponseCode();
-        if (responseCode != HttpURLConnection.HTTP_OK) {
-            throw new RuntimeException("Response code: " + responseCode);
-        }
-        return httpConn;
-    }
-
-    private MimeType determineMimeType(final String contentType) throws 
MimeTypeParseException {
-        final String mimeType = parseMimeType(contentType);
-        if(mimeType == null) {
-            return null;
-        }
-        return new MimeType(mimeType);
-    }
-
-    // text/plain; charset=UTF-8
-    private String parseMimeType(final String contentType) {
-        final Iterable<String> values = Splitter.on(";").split(contentType);
-        for (String value : values) {
-            // is simply the first part
-            return value.trim();
-        }
-
-        return null;
-    }
-
-}
diff --git 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/fixturescripts/PdfJsDemoObjectWithBlob_tearDown.java
 
b/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/fixturescripts/PdfJsDemoObjectWithBlob_tearDown.java
deleted file mode 100644
index 7a91b622a0f..00000000000
--- 
a/extensions/vw/pdfjs/fixtures/src/main/java/org/causewayaddons/wicket/pdfjs/fixture/demoapp/demomodule/fixturescripts/PdfJsDemoObjectWithBlob_tearDown.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package 
org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.fixturescripts;
-
-import 
org.apache.causeway.applib.fixturescripts.teardown.TeardownFixtureAbstract2;
-
-import 
org.causewayaddons.wicket.pdfjs.fixture.demoapp.demomodule.dom.PdfJsDemoObjectWithBlob;
-
-public class PdfJsDemoObjectWithBlob_tearDown extends TeardownFixtureAbstract2 
{
-
-    @Override
-    protected void execute(final ExecutionContext executionContext) {
-        deleteFrom(PdfJsDemoObjectWithBlob.class);
-    }
-
-}
diff --git a/extensions/vw/pdfjs/pom.xml b/extensions/vw/pdfjs/pom.xml
index 46815e5e6d2..54f6bf060ca 100644
--- a/extensions/vw/pdfjs/pom.xml
+++ b/extensions/vw/pdfjs/pom.xml
@@ -42,11 +42,6 @@
                 <artifactId>causeway-extensions-pdfjs-applib</artifactId>
                 <version>3.4.0-SNAPSHOT</version>
             </dependency>
-            <dependency>
-                <groupId>org.apache.causeway.extensions</groupId>
-                <artifactId>causeway-extensions-pdfjs-fixtures</artifactId>
-                <version>3.4.0-SNAPSHOT</version>
-            </dependency>
             <dependency>
                 <groupId>org.apache.causeway.extensions</groupId>
                 <artifactId>causeway-extensions-pdfjs-metamodel</artifactId>
@@ -73,9 +68,6 @@
     <modules>
         <module>applib</module>
         <module>metamodel</module>
-<!--
-        <module>fixtures</module>
--->
         <module>wicket</module>
     </modules>
 

Reply via email to